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 |
---|---|---|---|---|---|---|
index | MFInt32 | inputOutput | The indices of the generated triangles. | |||
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 | ||
volumeUrl | MFString | inputOutput | Url of volume data set. | |||
coord | MFVec3f | inputOutput | The coordinates of the generated triangles. | |||
enabled | SFBool | inputOutput | TRUE | Flag to enable/disable the node behaviour | ||
genIndices | SFBool | inputOutput | FALSE | If true, the index array for rendering IndexedPrimitiveSets is filled. | ||
cmpEps | SFFloat | inputOutput | 0 | [0, Inf) | epsilon range for equality comparison | |
isoValue | SFFloat | inputOutput | 0 | The iso/scalar value c (wanted: surface with f(x)=c). | ||
resolutionScale | SFInt32 | inputOutput | 1 | If volume data set is too big, number of grid cells can be reduced (e.g. half) for fewer triangles. | ||
metadata | SFNode | inputOutput | MetadataObject | container for payload metadata inside MetadataSet element | ||
cmpFunc | SFString | inputOutput | less | [less, lequal, equal, gequal, greater, nequal] | defines compare function type |