1 #ifndef COIN_SOVERTEXATTRIBUTEELEMENT_H 2 #define COIN_SOVERTEXATTRIBUTEELEMENT_H 36 #include <Inventor/elements/SoAccumulatedElement.h> 37 #include <Inventor/elements/SoSubElement.h> 38 #include <Inventor/tools/SbPimplPtr.h> 42 class SoVertexAttributeData;
43 class SoVertexAttributeElementP;
47 SO_ELEMENT_HEADER(SoVertexAttributeElement);
50 static void initClass(
void);
54 static void add(
SoState *
const state, SoVertexAttributeData * attribdata);
56 static const SoVertexAttributeElement * getInstance(
SoState *
const state);
57 unsigned int getNumAttributes(
void)
const;
59 typedef const char * Key;
60 typedef SoVertexAttributeData * Type;
61 typedef void AttributeApplyFunc(
const Key & key,
const Type & obj,
void * closure);
62 void applyToAttributes(AttributeApplyFunc * func,
void * closure)
const;
65 virtual ~SoVertexAttributeElement();
67 virtual void addElt(SoVertexAttributeData * attribdata);
71 SoVertexAttributeElement(
const SoVertexAttributeElement & rhs);
72 SoVertexAttributeElement & operator = (
const SoVertexAttributeElement & rhs);
74 SbPimplPtr<SoVertexAttributeElementP> pimpl;
77 #endif // COIN_SOVERTEXATTRIBUTEELEMENT_H virtual void init(SoState *state)
Definition: SoAccumulatedElement.cpp:75
The SoState class manages the Coin scenegraph traversal state data.The SoState class is used by actio...
Definition: SoState.h:44
The SoMField class is the base class for fields which can contain multiple values.All field types which may contain more than one member value inherits this class. SoMField is an abstract class.
Definition: SoMField.h:41
The SoAccumulatedElement class is an abstract class for storing accumulated state.This is the superclass of elements where new element data accumulates with older data.
Definition: SoAccumulatedElement.h:39
virtual void push(SoState *state)
Definition: SoAccumulatedElement.cpp:83