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