Class SoVolumeMaskGroup
- All Implemented Interfaces:
SafeDisposable
SoVolumeMask for details about using volume masks. Every volume mask node in the scene graph must have an SoVolumeMaskGroup as its parent node. The SoVolumeMaskGroup node, as well as the SoVolumeData node, must be the child of an SoMultiDataSeparator 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. See SoVolumeMask 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 any SoVolumeMask 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 {
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.openinventor.inventor.nodes.SoNode
SoNode.RenderModesNested classes/interfaces inherited from class com.openinventor.inventor.Inventor
Inventor.ConstructorCommand -
Field Summary
Fields inherited from class com.openinventor.inventor.nodes.SoGroup
boundingBoxIgnoringFields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.openinventor.inventor.nodes.SoGroup
addChild, findChild, getChild, getNumChildren, insertChild, removeAllChildren, removeChild, removeChild, replaceChild, replaceChildMethods 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, writeMethods inherited from class com.openinventor.inventor.fields.SoFieldContainer
copyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, set, setToDefaultsMethods inherited from class com.openinventor.inventor.misc.SoBase
dispose, getName, isDisposable, isSynchronizable, setName, setSynchronizableMethods inherited from class com.openinventor.inventor.Inventor
getNativeResourceHandle
-
Constructor Details
-
SoVolumeMaskGroup
public SoVolumeMaskGroup()Constructor.
-