Class SoEdgeFlagElement
- java.lang.Object
-
- com.openinventor.inventor.Inventor
-
- com.openinventor.inventor.elements.SoElement
-
- com.openinventor.inventor.elements.SoReplacedElement
-
- com.openinventor.inventor.elements.SoEdgeFlagElement
-
public class SoEdgeFlagElement extends SoReplacedElement
Stores the edge flag values. This element stores the edge flag values.- See Also:
SoEdgeFlag
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.openinventor.inventor.Inventor
Inventor.ConstructorCommand
-
-
Field Summary
-
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static int
getClassStackIndex()
Deprecated.As of Open Inventor 9.3.0.0.static int
getDefault()
Returns the default values.java.nio.IntBuffer
getDirectMarked()
Returns the marked flags.java.nio.IntBuffer
getDirectUnmarked()
Returns the unmarked flags.static SoEdgeFlagElement
getInstance(SoState state)
Returns the top (current) instance of the element in the state.int[]
getMarked()
Returns the marked flags.int
getNumMarked()
Returns the number of marked flags in an instance.int
getNumUnmarked()
Returns the number of unmarked flags in an instance.int[]
getUnmarked()
Returns the unmarked flags.static void
setMarked(SoState state, SoNode node, int numFlags, int[] flags)
Sets the current flags in the state as marked.static void
setUnmarked(SoState state, SoNode node, int numFlags, int[] flags)
Sets the current flags in the state as unmarked.-
Methods inherited from class com.openinventor.inventor.elements.SoElement
getClassStackIndex, pop, push
-
Methods inherited from class com.openinventor.inventor.Inventor
dispose, getNativeResourceHandle
-
-
-
-
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(since="9.3.0.0") public static int getClassStackIndex()
Deprecated.As of Open Inventor 9.3.0.0. 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.
-
-