Class SoMultipleInstanceElement
- java.lang.Object
-
- com.openinventor.inventor.Inventor
-
- com.openinventor.inventor.elements.SoElement
-
- com.openinventor.inventor.elements.SoReplacedElement
-
- com.openinventor.inventor.elements.SoMultipleInstanceElement
-
public class SoMultipleInstanceElement extends SoReplacedElement
Stores current MultiInstance info. This element stores the current multiple instance information.- See Also:
SoMultipleInstance,SoMultipleCopy,SoShape
-
-
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 Concrete Methods Deprecated Methods Modifier and Type Method Description static SoMultipleInstanceget(SoState state)Returns the current element in the state.static intgetClassStackIndex()Deprecated.As of Open Inventor 9300.static SoMultipleInstancegetDefault()returns the default element value.static intgetNumBatches(SoState state)Return the number of batches.static intgetNumInstances(SoState state)Returns the number of shape instance requests in the state.static voidset(SoState state, SoNode node, SoMultipleInstance instanceproperty)Sets the current multiple instance node.-
Methods inherited from class com.openinventor.inventor.elements.SoElement
getClassStackIndex, pop, push
-
Methods inherited from class com.openinventor.inventor.Inventor
dispose, getNativeResourceHandle
-
-
-
-
Method Detail
-
set
public static void set(SoState state, SoNode node, SoMultipleInstance instanceproperty)
Sets the current multiple instance node.
-
getClassStackIndex
@Deprecated public static int getClassStackIndex()
Deprecated.As of Open Inventor 9300. replaced by SoElement.getClassStackIndex(Class)Returns the stack id for this element. ] *
-
getNumBatches
public static int getNumBatches(SoState state)
Return the number of batches.
-
getDefault
public static SoMultipleInstance getDefault()
returns the default element value.
-
get
public static SoMultipleInstance get(SoState state)
Returns the current element in the state.
-
getNumInstances
public static int getNumInstances(SoState state)
Returns the number of shape instance requests in the state.
-
-