public class MoStringSet extends MoActionNode
This node adds an object implementing the MiStringSetI
,
MiStringSetIj
or MiStringSetIjk
interface to the list of
string sets in the traversal state.
MoMeshCellShape
node will use this data set to display cell and node
names. During traversal of the scene graph, MoStringSet
nodes are
accumulated into a list so that the cells extraction can retrieve several
string sets during the same computation.
Note:
Each time the current MiStringSet
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.
String sets for unstructured meshes (MiStringSetI
), structured volume
meshes (MiStringSetIjk
) and structured surface meshes (
MiStringSetIj
) are stored in the same list.
MoMeshCellShape
,
MoStringSetElement
,
MiStringSetI
,
MiStringSetIj
,
MiStringSetIjk
SoNode.RenderModes
Inventor.ConstructorCommand
VERBOSE_LEVEL, ZeroHandle
Constructor and Description |
---|
MoStringSet()
Constructs a property node to store a string data set.
|
Modifier and Type | Method and Description |
---|---|
void |
doAction(SoAction action) |
MiStringSet |
getStringSet()
Gets the string set.
|
void |
reset()
Reset the associated string set to null (as if
setStringSet(MiStringSet) was called with null). |
void |
setStringSet(MiStringSet stringSet)
Sets the string set.
|
callback, distribute, getBoundingBox, getMatrix, getPrimitiveCount, getRenderEngineMode, 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, getName, isDisposable, isSynchronizable, setName, setSynchronizable
getNativeResourceHandle
public MoStringSet()
public void setStringSet(MiStringSet stringSet)
touch()
.
Note: When setting a new string set, the
MiDataSet.getTimeStamp()
must return a different value than
previously to actually take into account the change of scalar set.
stringSet
- the string setpublic void reset()
setStringSet(MiStringSet)
was called with null). Marks the node as
modified by calling touch()public MiStringSet getStringSet()
Generated on July 31, 2019, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com