C# Class VtkToUnity, VtkUnity

ファイルを表示 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_oe property

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

colorDataType public_oe property

public VtkColorType colorDataType
return VtkColorType

colorFieldName public_oe property

public string colorFieldName
return string

go public_oe property

public GameObject go
return GameObject

lut public_oe property

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

mat public_oe property

public Material mat
return Material

mesh public_oe property

public Mesh mesh
return Mesh

name public_oe property

public string name
return string

solidColor public_oe property

public Color solidColor
return Color

triangleFilter public_oe property

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