Class SoVertexFlagElement
- java.lang.Object
-
- com.openinventor.inventor.Inventor
-
- com.openinventor.inventor.elements.SoElement
-
- com.openinventor.inventor.elements.SoReplacedElement
-
- com.openinventor.inventor.elements.SoVertexFlagElement
-
public class SoVertexFlagElement extends SoReplacedElement
Stores the current vertex flag. This element stores the current vertex flag.- See Also:
SoVertexFlag
-
-
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 intgetClassStackIndex()Deprecated.As of Open Inventor 9300.static intgetDefault()java.nio.IntBuffergetDirectMarked()Returns the marked flags.java.nio.IntBuffergetDirectUnmarked()Returns the unmarked flags.static SoVertexFlagElementgetInstance(SoState state)Returns the top (current) instance of the element in the state.int[]getMarked()Returns the marked flags.intgetNumMarked()Returns the number of marked flags in an instance.intgetNumUnmarked()Returns the number of unmarked flags in an instance.int[]getUnmarked()Returns the unmarked flags.static voidreInit(SoState name_25381, SoNode name_25382)static voidsetMarked(SoState state, SoNode node, int numFlags, int[] flags)Sets the current flags in the state as marked.static voidsetUnmarked(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
-
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.
-
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.
-
-