public class MoScalarSetI extends MoActionNode
This node adds an object implementing the MiScalardSetI
interface to
the list of unstructured 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,
MoScalarSetI
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 current MiScalardSetI
is updated, touch()
must
be called to mark the node as modified. However
MiDataSet.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.
MoScalarSetElementI
,
MoScalarSetIjk
,
MoScalarSetIj
Inventor.ConstructorCommand
VERBOSE_LEVEL, ZeroHandle
Constructor and Description |
---|
MoScalarSetI()
Constructs a property node to store a scalar data set.
|
Modifier and Type | Method and Description |
---|---|
void |
doAction(SoAction action) |
MiScalardSetI |
getScalarSet()
Gets the scalar set interface.
|
void |
setScalarSet(MiScalardSetI scalarSet)
Sets the scalar set interface.
|
callback, distribute, getBoundingBox, getMatrix, getPrimitiveCount, GLRender, handleEvent, pick, rayPick
affectsState, copy, copy, getAlternateRep, getByName, getRenderUnitID, GLRenderBelowPath, GLRenderInPath, GLRenderOffPath, grabEventsCleanup, grabEventsSetup, isBoundingBoxIgnoring, isOverride, search, setOverride, touch, write
copyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, set, setToDefaults
dispose, getEXTERNPROTO, getName, getPROTO, isDisposable, isSynchronizable, setName, setSynchronizable
getAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreads
public MoScalarSetI()
public void setScalarSet(MiScalardSetI scalarSet)
touch()
.
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.
scalarSet
- the scalar set interfacepublic MiScalardSetI getScalarSet()
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com