Class MoVec3SetElementIj
- java.lang.Object
-
- com.openinventor.inventor.Inventor
-
- com.openinventor.inventor.elements.SoElement
-
- com.openinventor.inventor.elements.SoAccumulatedElement
-
- com.openinventor.meshvizxlm.mapping.elements.MoVec3SetElementIj
-
public class MoVec3SetElementIj extends SoAccumulatedElement
Element that stores the current list of vector sets for structured surface meshes.- See Also:
MoVec3SetIj
-
-
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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
add(SoState state, SoNode node, MiVec3dSetIj vectorSet)
Adds a vector set to the current list of sets for the specified traversal state and node.static MiVec3dSetIj
get(SoState state, int index)
Gets the element number index from the specified traversal state.static int
getNum(SoState state)
Gets number of elements in the specified state.void
push(SoState state)
Pushes element.-
Methods inherited from class com.openinventor.inventor.elements.SoAccumulatedElement
getClassStackIndex
-
Methods inherited from class com.openinventor.inventor.elements.SoElement
getClassStackIndex, pop
-
Methods inherited from class com.openinventor.inventor.Inventor
dispose, getNativeResourceHandle
-
-
-
-
Method Detail
-
push
public void push(SoState state)
Description copied from class:SoAccumulatedElement
Pushes element. Allows for side effects to occur. Default methods do nothing.- Overrides:
push
in classSoAccumulatedElement
-
add
public static void add(SoState state, SoNode node, MiVec3dSetIj vectorSet)
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
public static MiVec3dSetIj get(SoState state, int index)
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
public static int getNum(SoState state)
Gets number of elements in the specified state.- Parameters:
state
- traversal state- Returns:
- number of elements
-
-