Class MoScalarSetElementI


  • public class MoScalarSetElementI
    extends SoAccumulatedElement
    Element that stores the current list of scalar sets for unstructured meshes.
    See Also:
    MoScalarSetI
    • Method Detail

      • add

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