Class MoScalarSetElementIjk


  • public class MoScalarSetElementIjk
    extends SoAccumulatedElement
    Element that stores the current list of scalar sets for structured volume meshes.
    See Also:
    MoScalarSetIjk
    • Method Detail

      • add

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

        public static MiScalardSetIjk 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