instantreality 1.0

Component:
Simulator
Status:
partly implemented
Structure type:
concrete
Standard:
Avalon

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