Class SoVertexFlagElement


  • public class SoVertexFlagElement
    extends SoReplacedElement
    Stores the current vertex flag. This element stores the current vertex flag.

    See Also:
    SoVertexFlag
    • Method Detail

      • getClassStackIndex

        @Deprecated
        public static int getClassStackIndex()
        Deprecated.
        As of Open Inventor 9300. replaced by SoElement.getClassStackIndex(Class)
        Returns the stack id for this element. ] *
      • getInstance

        public static SoVertexFlagElement getInstance​(SoState state)
        Returns the top (current) instance of the element in the state.
      • getNumUnmarked

        public int getNumUnmarked()
        Returns the number of unmarked flags in an instance.
      • getDefault

        public static int getDefault()
      • getNumMarked

        public int getNumMarked()
        Returns the number of marked flags in an instance.
      • reInit

        public static void reInit​(SoState name_25381,
                                  SoNode name_25382)
      • setUnmarked

        public static void setUnmarked​(SoState state,
                                       SoNode node,
                                       int numFlags,
                                       int[] flags)
        Sets the current flags in the state as unmarked.
      • getMarked

        public int[] getMarked()
        Returns the marked flags.
      • getDirectMarked

        public java.nio.IntBuffer getDirectMarked()
        Returns the marked flags.
      • getUnmarked

        public int[] getUnmarked()
        Returns the unmarked flags.
      • setMarked

        public static void setMarked​(SoState state,
                                     SoNode node,
                                     int numFlags,
                                     int[] flags)
        Sets the current flags in the state as marked.
      • getDirectUnmarked

        public java.nio.IntBuffer getDirectUnmarked()
        Returns the unmarked flags.