Class MoScalarSetElementIj


  • public class MoScalarSetElementIj
    extends SoAccumulatedElement
    Element that stores the current list of scalar sets for structured surface meshes.
    See Also:
    MoScalarSetIj
    • Method Detail

      • add

        public static void add​(SoState state,
                               SoNode node,
                               MiScalardSetIj 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 MiScalardSetIj 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