1 #ifndef COIN_SOELEMENT_H 
    2 #define COIN_SOELEMENT_H 
   27 #include <Inventor/SbBasic.h> 
   28 #include <Inventor/SoType.h> 
   29 #include <Inventor/misc/SoState.h> 
   36   static void initClass(
void);
 
   38   static SoType getClassTypeId(
void);
 
   39   static int getClassStackIndex(
void);
 
   40   const SoType getTypeId(
void) 
const;
 
   41   int getStackIndex(
void) 
const;
 
   43   virtual void init(
SoState * state);
 
   45   virtual void push(
SoState * state);
 
   48   virtual SbBool matches(
const SoElement * element) 
const = 0;
 
   49   virtual SoElement * copyMatchInfo(
void) 
const = 0;
 
   51   static void initElements(
void); 
 
   53   static int getNumStackIndices(
void);
 
   54   static SoType getIdFromStackIndex(
const int stackIndex);
 
   56   void setDepth(
const int depth);
 
   58   int getDepth(
void) 
const;
 
   60   virtual void print(FILE * file = stdout) 
const;
 
   68   static const SoElement * getConstElement(
SoState * 
const state, 
const int stackIndex);
 
   70   void capture(
SoState * 
const state) 
const;
 
   72   virtual void captureThis(
SoState * state) 
const;
 
   74   void setTypeId(
const SoType typeId);
 
   75   void setStackIndex(
const int index);
 
   80   static int createStackIndex(
const SoType id);
 
   93   static void cleanup(
void);
 
  102                       const int stackIndex)
 
  115                            const int stackIndex)
 
  122 #endif // !COIN_SOELEMENT_H 
virtual void captureThis(SoState *state) const 
Definition: SoElement.cpp:688
const SoElement * getConstElement(const int stackindex) const 
Definition: SoState.h:76
static const SoElement * getConstElement(SoState *const state, const int stackIndex)
Definition: SoElement.h:114
static SoElement * getElement(SoState *const state, const int stackIndex)
Definition: SoElement.h:101
The SoNode class is the base class for nodes used in scene graphs.Coin is a retained mode 3D visualiz...
Definition: SoNode.h:47
SoElement is the abstract base class for all elements. 
Definition: SoElement.h:34
SoType typeId
Definition: SoElement.h:77
The SoState class manages the Coin scenegraph traversal state data.The SoState class is used by actio...
Definition: SoState.h:35
The SoTypeList class is a container class for arrays of SoType objects. 
Definition: SoTypeList.h:30
int stackIndex
Definition: SoElement.h:78
SoElement * getElement(const int stackindex)
Definition: SoState.cpp:218
static SoTypeList * stackToType
Definition: SoElement.h:81
void capture(SoState *const state) const 
Definition: SoElement.h:108
int depth
Definition: SoElement.h:83
SbBool isCacheOpen(void) const 
Definition: SoState.h:83
static int classStackIndex
Definition: SoElement.h:65
The SoType class is the basis for the run-time type system in Coin.Many of the classes in the Coin li...
Definition: SoType.h:50