C# Class VtkToUnity, VtkUnity

Show file Open project: ufz-vislab/VtkUnity Class Usage Examples

Public Properties

Property Type Description
colorArray Kitware.VTK.vtkDataArray
colorDataType VtkColorType
colorFieldName string
go GameObject
lut Kitware.VTK.vtkLookupTable
mat Material
mesh Mesh
name string
solidColor Color
triangleFilter Kitware.VTK.vtkTriangleFilter

Public Methods

Method Description
ColorBy ( Color color ) : void
ColorBy ( string fieldname, VtkColorType type ) : void
PolyDataToMesh ( ) : void
SetLut ( LutPreset preset ) : void
SetLut ( LutPreset preset, double rangeMin, double rangeMax ) : void
Update ( ) : void
VtkToUnity ( Kitware outputPort, GameObject newGo ) : System.Collections
VtkToUnity ( Kitware outputPort, string name ) : System.Collections

Private Methods

Method Description
GetByteColorAtIndex ( int i ) : byte[]
GetColor32AtIndex ( int i ) : Color32
GetColorAtIndex ( int i ) : Color

Method Details

ColorBy() public method

public ColorBy ( Color color ) : void
color Color
return void

ColorBy() public method

public ColorBy ( string fieldname, VtkColorType type ) : void
fieldname string
type VtkColorType
return void

PolyDataToMesh() public method

public PolyDataToMesh ( ) : void
return void

SetLut() public method

public SetLut ( LutPreset preset ) : void
preset LutPreset
return void

SetLut() public method

public SetLut ( LutPreset preset, double rangeMin, double rangeMax ) : void
preset LutPreset
rangeMin double
rangeMax double
return void

Update() public method

public Update ( ) : void
return void

VtkToUnity() public method

public VtkToUnity ( Kitware outputPort, GameObject newGo ) : System.Collections
outputPort Kitware
newGo GameObject
return System.Collections

VtkToUnity() public method

public VtkToUnity ( Kitware outputPort, string name ) : System.Collections
outputPort Kitware
name string
return System.Collections

Property Details

colorArray public property

public Kitware.VTK.vtkDataArray colorArray
return Kitware.VTK.vtkDataArray

colorDataType public property

public VtkColorType colorDataType
return VtkColorType

colorFieldName public property

public string colorFieldName
return string

go public property

public GameObject go
return GameObject

lut public property

public Kitware.VTK.vtkLookupTable lut
return Kitware.VTK.vtkLookupTable

mat public property

public Material mat
return Material

mesh public property

public Mesh mesh
return Mesh

name public property

public string name
return string

solidColor public property

public Color solidColor
return Color

triangleFilter public property

public Kitware.VTK.vtkTriangleFilter triangleFilter
return Kitware.VTK.vtkTriangleFilter