Class MoScalarSetIjk
- java.lang.Object
-
- com.openinventor.inventor.Inventor
-
- com.openinventor.inventor.misc.SoBase
-
- com.openinventor.inventor.fields.SoFieldContainer
-
- com.openinventor.inventor.nodes.SoNode
-
- com.openinventor.meshvizxlm.mapping.nodes.MoActionNode
-
- com.openinventor.meshvizxlm.mapping.nodes.MoScalarSetIjk
-
- All Implemented Interfaces:
SafeDisposable
public class MoScalarSetIjk extends MoActionNode
Property node that stores a scalar data set for a structured volume mesh.This node adds an object implementing the
MiScalardSetIjk
interface to the list of structured surface scalar sets in the traversal state.Subsequent mesh representations will be able to use this data set for extraction, coloring, etc. During traversal of the scene graph,
MoScalarSetIjk
nodes are accumulated into a list so that an extraction can retrieve several scalar sets during the same computation. For example, the first set (located at index 0 in the list) for computing an isosurface and the second set (located at index 1) for coloring it.Note:
Each time the currentMiScalardSetIjk
is updated,touch()
must be called to mark the node as modified. HoweverMiDataSet.getTimeStamp()
must return a different value than before to actually trigger a new rendering.
Scalar sets for unstructured meshes (MiScalardSetI
), structured volume meshes (MiScalardSetIjk
) and structured surface meshes (MiScalardSetIj
) are stored in separate lists.- See Also:
MoScalarSetElementIjk
,MoScalarSetI
,MoScalarSetIj
-
-
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.Inventor
VERBOSE_LEVEL, ZeroHandle
-
-
Constructor Summary
Constructors Constructor Description MoScalarSetIjk()
Constructs a property node to store a scalar data set.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
doAction(SoAction action)
MiScalardSetIjk
getScalarSet()
Gets the scalar set interface.void
setScalarSet(MiScalardSetIjk scalarSet)
Sets the scalar set interface.-
Methods inherited from class com.openinventor.meshvizxlm.mapping.nodes.MoActionNode
callback, distribute, getBoundingBox, getMatrix, getPrimitiveCount, getRenderEngineMode, GLRender, handleEvent, pick, rayPick
-
Methods inherited from class com.openinventor.inventor.nodes.SoNode
affectsState, copy, copy, getAlternateRep, getByName, getRenderUnitID, GLRenderBelowPath, GLRenderInPath, GLRenderOffPath, grabEventsCleanup, grabEventsSetup, isBoundingBoxIgnoring, isOverride, 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
-
-
-
-
Method Detail
-
setScalarSet
public void setScalarSet(MiScalardSetIjk scalarSet)
Sets the scalar set interface. This node will automatically be marked as modified by callingtouch()
.Note: When setting a new scalar set, the
MiDataSet.getTimeStamp()
must return a different value than previously to actually take into account the change of scalar set.- Parameters:
scalarSet
- the scalar set interface
-
getScalarSet
public MiScalardSetIjk getScalarSet()
Gets the scalar set interface.- Returns:
- the scalar set interface
-
-