Open Inventor Release 2024.1.1
 
Loading...
Searching...
No Matches
SoMultipleInstanceElement Class Reference

Stores current MultiInstance info. More...

#include <Inventor/elements/SoMultipleInstanceElement.h>

+ Inheritance diagram for SoMultipleInstanceElement:

Static Public Member Functions

static SoType getClassTypeId ()
 Returns the type identifier for this class.
 
static int getClassStackIndex ()
 Returns the stack id for this element.
 
static void set (SoState *state, SoNode *node, SoMultipleInstance *instanceproperty)
 Sets the current multiple instance node.
 
static unsigned int getNumInstances (SoState *state)
 Returns the number of shape instance requests in the state.
 
static SoMultipleInstanceget (SoState *state)
 Returns the current element in the state.
 
static SoMultipleInstancegetDefault ()
 returns the default element value.
 
static unsigned int getNumBatches (SoState *state)
 Return the number of batches.
 
- Static Public Member Functions inherited from SoReplacedElement
static SoType getClassTypeId ()
 Returns the type identifier for this class.
 
static int getClassStackIndex ()
 Returns the stack id for this element.
 
- Static Public Member Functions inherited from SoElement
static SoType getClassTypeId ()
 Returns type identifier for SoElement class.
 
- Static Public Member Functions inherited from SoTypedObject
static SoType getClassTypeId ()
 Returns the type identifier for this class.
 

Additional Inherited Members

- Public Member Functions inherited from SoReplacedElement
virtual void print (FILE *fp) const
 Prints element (for debugging).
 
- Public Member Functions inherited from SoElement
virtual void push (SoState *state)
 Pushes element.
 
virtual void pop (SoState *state, const SoElement *prevTopElement)
 Pops element.
 
virtual SoType getTypeId () const
 Returns type identifier for element instance.
 
- Public Member Functions inherited from SoTypedObject
SbBool isOfType (const SoType &type) const
 Returns TRUE if this object is of the type specified in type or is derived from that type.
 
template<typename TypedObjectClass >
SbBool isOfType () const
 Returns TRUE if this object is of the type of class TypedObjectClass or is derived from that class.
 

Detailed Description

Stores current MultiInstance info.

This element stores the current multiple instance information.

SEE ALSO

SoMultipleInstance, SoMultipleCopy, SoShape

Definition at line 43 of file SoMultipleInstanceElement.h.

Member Function Documentation

◆ get()

static SoMultipleInstance * SoMultipleInstanceElement::get ( SoState state)
static

Returns the current element in the state.

◆ getClassStackIndex()

static int SoMultipleInstanceElement::getClassStackIndex ( )
static

Returns the stack id for this element.


◆ getClassTypeId()

static SoType SoMultipleInstanceElement::getClassTypeId ( )
static

Returns the type identifier for this class.


◆ getDefault()

static SoMultipleInstance * SoMultipleInstanceElement::getDefault ( )
static

returns the default element value.

◆ getNumBatches()

static unsigned int SoMultipleInstanceElement::getNumBatches ( SoState state)
static

Return the number of batches.

◆ getNumInstances()

static unsigned int SoMultipleInstanceElement::getNumInstances ( SoState state)
static

Returns the number of shape instance requests in the state.

◆ set()

static void SoMultipleInstanceElement::set ( SoState state,
SoNode node,
SoMultipleInstance instanceproperty 
)
static

Sets the current multiple instance node.


The documentation for this class was generated from the following file: