Class SoEdgeFlagElement


  • public class SoEdgeFlagElement
    extends SoReplacedElement
    Stores the edge flag values. This element stores the edge flag values.
    See Also:
    SoEdgeFlag
    • Method Detail

      • setMarked

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

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

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

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

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

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

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

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

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

        public static int getDefault()
        Returns the default values.
      • getUnmarked

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