Class MoVec3SetElementI


public class MoVec3SetElementI extends SoAccumulatedElement
Element that stores the current list of vector sets for unstructured meshes.
See Also:
  • Method Details

    • 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 class SoAccumulatedElement
    • add

      public static void add(SoState state, SoNode node, MiVec3dSetI vectorSet)
      Adds a vector set to the current list of sets for the specified traversal state and node.
      Parameters:
      state - traversal state
      node - vector set node
      vectorSet - new vector set to add
    • get

      public static MiVec3dSetI get(SoState state, int index)
      Gets the element number index from the specified traversal state.
      Parameters:
      state - traversal state
      index - 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