IsoSurfaceGenerator
Generate geometry (i.e. triangle vertices) from volume (scalar) data, based on marching cubes algorithm; coordinates can be routed e.g. to TriangleSet node. Note: At the moment only single channel, 8 bit textures are allowed.
Inheritance
Code
XML encoding
<IsoSurfaceGenerator volumeUrl='' isoValue='0' coord='' index='' resolutionScale='1' genIndices='FALSE' cmpFunc='less' cmpEps='0' enabled='TRUE' logFeature='' />
Classic encoding
IsoSurfaceGenerator { volumeUrl [""] isoValue 0 coord [] index [] resolutionScale 1 genIndices FALSE cmpFunc "less" cmpEps 0 enabled TRUE logFeature [""] }
Interface
Filter: X3D only | Avalon only | All
id | Name | DataType | PartType | Default | ValueType | Description |
---|---|---|---|---|---|---|
volumeUrl | MFString | inputOutput | Url of volume data set. | |||
isoValue | SFFloat | inputOutput | 0 | The iso/scalar value c (wanted: surface with f(x)=c). | ||
coord | MFVec3f | inputOutput | The coordinates of the generated triangles. | |||
index | MFInt32 | inputOutput | The indices of the generated triangles. | |||
resolutionScale | SFInt32 | inputOutput | 1 | If volume data set is too big, number of grid cells can be reduced (e.g. half) for fewer triangles. | ||
genIndices | SFBool | inputOutput | FALSE | If true, the index array for rendering IndexedPrimitiveSets is filled. | ||
cmpFunc | SFString | inputOutput | less | [less, lequal, equal, gequal, greater, nequal] | defines compare function type | |
cmpEps | SFFloat | inputOutput | 0 | [0, Inf) | epsilon range for equality comparison | |
enabled | SFBool | inputOutput | TRUE | Flag to enable/disable the node behaviour | ||
logFeature | MFString | inputOutput | state, child, parent, route, eventIn, eventOut | controls the logging of changes, state: log state changes (e.g. live), child: log child add/remove, parent: log parent add/remove, route: log route add/remove; eventIn: log receiving of events, eventOut: log sending of events: guiView, runtime system should create node-view, guiEdit: runtime system should create node-editeverything: log everything | ||
metadata | SFNode | inputOutput | MetadataObject | container for payload metadata inside MetadataSet element |