Coin  4.0.3
Coin3D core library
Loading...
Searching...
No Matches
SoResetMatrixElement Class Reference
Inheritance diagram for SoResetMatrixElement:
SoElement

Public Member Functions

virtual void init (SoState *state)
 
- Public Member Functions inherited from SoElement
virtual ~SoElement ()
 
int getDepth (void) const
 
int getStackIndex (void) const
 
const SoType getTypeId (void) const
 
virtual void pop (SoState *state, const SoElement *prevTopElement)
 
virtual void print (FILE *file=stdout) const
 
virtual void push (SoState *state)
 
void setDepth (const int depth)
 

Static Public Member Functions

static voidcreateInstance (void)
 
static const SbMatrixget (SoState *state)
 
static int getClassStackIndex (void)
 
static SoType getClassTypeId (void)
 
static void initClass (void)
 
static void set (SoState *const state, const SbMatrix &m)
 
- Static Public Member Functions inherited from SoElement
static int getClassStackIndex (void)
 
static SoType getClassTypeId (void)
 
static SoType getIdFromStackIndex (const int stackIndex)
 
static int getNumStackIndices (void)
 
static void initClass (void)
 
static void initElements (void)
 

Protected Member Functions

virtual ~SoResetMatrixElement ()
 
virtual SoElementcopyMatchInfo (void) const
 
virtual SbBool matches (const SoElement *element) const
 
virtual void setElt (const SbMatrix &matrix)
 
- Protected Member Functions inherited from SoElement
 SoElement (void)
 
void capture (SoState *const state) const
 
virtual void captureThis (SoState *state) const
 
SoElementgetNextFree (void) const
 
SoElementgetNextInStack (void) const
 
void setStackIndex (const int index)
 
void setTypeId (const SoType typeId)
 

Additional Inherited Members

- Static Protected Member Functions inherited from SoElement
static int createStackIndex (const SoType id)
 
static const SoElementgetConstElement (SoState *const state, const int stackIndex)
 
static SoElementgetElement (SoState *const state, const int stackIndex)
 
- Protected Attributes inherited from SoElement
int depth
 
int stackIndex
 
SoType typeId
 
- Static Protected Attributes inherited from SoElement
static int classStackIndex
 
static SoTypeListstackToType
 

Constructor & Destructor Documentation

◆ ~SoResetMatrixElement()

SoResetMatrixElement::~SoResetMatrixElement ( void )
protectedvirtual

Destructor.

Member Function Documentation

◆ copyMatchInfo()

SoElement * SoResetMatrixElement::copyMatchInfo ( void ) const
protectedvirtual

This function creates a copy of the element that contains enough information to enable the matches() function to work.

Used to help with scene graph traversal caching operations.

Implements SoElement.

◆ init()

void SoResetMatrixElement::init ( SoState * state)
virtual

This function initializes the element type in the given SoState. It is called for the first element of each enabled element type in SoState objects.

Reimplemented from SoElement.

◆ initClass()

void SoResetMatrixElement::initClass ( void )
static

Initialize relevant common data for all instances, like the type system.

◆ matches()

SbBool SoResetMatrixElement::matches ( const SoElement * element) const
protectedvirtual

This function returns TRUE is the element matches another element (of the same class), with respect to cache validity.

If the application programmer's extension element has a matches() function, it should also have a copyMatchInfo() function.

Implements SoElement.


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