Class MoVec3SetElementI
java.lang.Object
com.openinventor.inventor.Inventor
com.openinventor.inventor.elements.SoElement
com.openinventor.inventor.elements.SoAccumulatedElement
com.openinventor.meshvizxlm.mapping.elements.MoVec3SetElementI
Element that stores the current list of vector sets for unstructured meshes.
- See Also:
-
Nested Class Summary
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 -
Method Summary
Modifier and TypeMethodDescriptionstatic voidadd(SoState state, SoNode node, MiVec3dSetI vectorSet) Adds a vector set to the current list of sets for the specified traversal state and node.static MiVec3dSetIGets the element number index from the specified traversal state.static intGets number of elements in the specified state.voidPushes element.Methods inherited from class com.openinventor.inventor.elements.SoAccumulatedElement
getClassStackIndexMethods inherited from class com.openinventor.inventor.elements.SoElement
getClassStackIndex, popMethods inherited from class com.openinventor.inventor.Inventor
dispose, getNativeResourceHandle
-
Method Details
-
push
Description copied from class:SoAccumulatedElementPushes element. Allows for side effects to occur. Default methods do nothing.- Overrides:
pushin classSoAccumulatedElement
-
add
Adds a vector set to the current list of sets for the specified traversal state and node.- Parameters:
state- traversal statenode- vector set nodevectorSet- new vector set to add
-
get
Gets the element number index from the specified traversal state.- Parameters:
state- traversal stateindex- index of the element to return- Returns:
- the element at the specified position
-
getNum
Gets number of elements in the specified state.- Parameters:
state- traversal state- Returns:
- number of elements
-