Class SoVolumeMaskGroup
- java.lang.Object
-
- com.openinventor.inventor.Inventor
-
- com.openinventor.inventor.misc.SoBase
-
- com.openinventor.inventor.fields.SoFieldContainer
-
- com.openinventor.inventor.nodes.SoNode
-
- com.openinventor.inventor.nodes.SoGroup
-
- com.openinventor.volumeviz.nodes.SoVolumeMaskGroup
-
- All Implemented Interfaces:
SafeDisposable
public class SoVolumeMaskGroup extends SoGroup
Volume mask group. This node is used to define a collection of one or more volume masks. SeeSoVolumeMask
for details about using volume masks. Every volume mask node in the scene graph must have anSoVolumeMaskGroup
as its parent node. TheSoVolumeMaskGroup
node, as well as theSoVolumeData
node, must be the child of anSoMultiDataSeparator
node because the masks are effectively multiple data volumes.This class also defines the constant TRANSFERFUNCTION_INTERSECTION_ID. If a transfer function (
SoTransferFunction
) with this id exists in the traversal state, that transfer function will be used to color voxels which belong to more than one mask. SeeSoVolumeMask
for details about the regions defined by volume masks.Note that when not using volume masks, the traversal order of transfer functions is important, because each VolumeViz rendering node uses the current (last traversed) transfer function independent of the transfer function ids. However if an
SoVolumeMaskGroup
node is traversed before the rendering node (regardless of whether there are anySoVolumeMask
nodes in the group), the volume will only be rendered using the transfer function (if any) with the same id value as the volume data node.File format/default:
VolumeMaskGroup {
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.openinventor.inventor.nodes.SoNode
SoNode.RenderModes
-
Nested classes/interfaces inherited from class com.openinventor.inventor.Inventor
Inventor.ConstructorCommand
-
-
Field Summary
-
Fields inherited from class com.openinventor.inventor.nodes.SoGroup
boundingBoxIgnoring
-
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
-
Constructor Summary
Constructors Constructor Description SoVolumeMaskGroup()
Constructor.
-
Method Summary
-
Methods inherited from class com.openinventor.inventor.nodes.SoGroup
addChild, findChild, getChild, getNumChildren, insertChild, removeAllChildren, removeChild, removeChild, replaceChild, replaceChild
-
Methods inherited from class com.openinventor.inventor.nodes.SoNode
affectsState, callback, copy, copy, distribute, doAction, getAlternateRep, getBoundingBox, getByName, getMatrix, getPrimitiveCount, getRenderEngineMode, getRenderUnitID, GLRender, GLRenderBelowPath, GLRenderInPath, GLRenderOffPath, grabEventsCleanup, grabEventsSetup, handleEvent, isBoundingBoxIgnoring, isOverride, pick, rayPick, search, setOverride, touch, write
-
Methods inherited from class com.openinventor.inventor.fields.SoFieldContainer
copyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, set, setToDefaults
-
Methods inherited from class com.openinventor.inventor.misc.SoBase
dispose, getName, isDisposable, isSynchronizable, setName, setSynchronizable
-
Methods inherited from class com.openinventor.inventor.Inventor
getNativeResourceHandle
-
-