Subclasses store a single int32_t, int, or enum value.
More...
#include <Inventor/elements/SoInt32Element.h>
|
virtual | ~SoInt32Element () |
|
| SoElement () |
| Constructor; use typeId.createInstance to create elements.
|
|
void | capture (SoState *state) const |
| Does whatever is necessary in state to capture this element for caching purposes.
|
|
virtual void | captureThis (SoState *state) const |
| Really captures this element, once it has been determined that a cache is open to capture it.
|
|
void | setTypeId (SoType id) |
| Sets typeId in instance.
|
|
void | setStackIndex (int index) |
| Sets stackIndex in instance.
|
|
SoElement * | getNextInStack () const |
| Returns next instance in specific element stack.
|
|
SoElement * | getNextFree () const |
| Returns next free element in a specific element stack.
|
|
This class defines generic matches() and copy() methods.
Definition at line 75 of file SoInt32Element.h.
◆ ~SoInt32Element()
virtual SoInt32Element::~SoInt32Element |
( |
| ) |
|
|
protectedvirtual |
◆ copyMatchInfo()
virtual SoElement * SoInt32Element::copyMatchInfo |
( |
| ) |
const |
|
virtual |
◆ get()
static int32_t SoInt32Element::get |
( |
int |
stackIndex, |
|
|
SoState * |
state |
|
) |
| |
|
inlinestatic |
Derived classes have static inline methods to pass in the stackIndex and cast the returned value to the right type.
Definition at line 112 of file SoInt32Element.h.
References SoElement::getConstElement().
Referenced by SoComplexityTypeElement::get(), SoDrawStyleElement::get(), SoGLLightIdElement::get(), SoGLTextureEnabledElement::get(), SoLinePatternElement::get(), SoMaterialBindingElement::get(), SoNormalBindingElement::get(), SoPickStyleElement::get(), SoStencilBitsElement::get(), SoSwitchElement::get(), SoTextureCoordinateBindingElement::get(), and SoUnitsElement::get().
◆ initClass()
static void SoInt32Element::initClass |
( |
| ) |
|
|
static |
◆ matches()
virtual bool SoInt32Element::matches |
( |
const SoElement * |
elt | ) |
const |
|
virtual |
◆ print()
virtual void SoInt32Element::print |
( |
FILE * |
fp | ) |
const |
|
virtual |
◆ set() [1/3]
static void SoInt32Element::set |
( |
int |
stackIndex, |
|
|
SoState * |
state, |
|
|
int32_t |
value |
|
) |
| |
|
static |
Derived classes have static inline methods that pass in the stack index and cast their type into a int32_t. This just gets an appropriate instance and calls the virtual set.
Referenced by SoMaterialBindingElement::set(), SoNormalBindingElement::set(), SoTextureCoordinateBindingElement::set(), SoSwitchElement::set(), SoMaterialBindingElement::set(), SoNormalBindingElement::set(), SoTextureCoordinateBindingElement::set(), SoGLTextureEnabledElement::set(), SoSwitchElement::set(), SoDrawStyleElement::set(), SoPickStyleElement::set(), SoComplexityTypeElement::set(), SoLinePatternElement::set(), SoUnitsElement::set(), SoPickStyleElement::set(), SoLinePatternElement::set(), and SoUnitsElement::set().
◆ set() [2/3]
◆ set() [3/3]
static void SoInt32Element::set |
( |
int |
stackIndex, |
|
|
SoState * |
state, |
|
|
SoNode * |
, |
|
|
long |
value |
|
) |
| |
|
inlinestatic |
◆ setElt()
virtual void SoInt32Element::setElt |
( |
int32_t |
value | ) |
|
|
virtual |
◆ data
The documentation for this class was generated from the following file:
- C:/jh/mevislab/4.0.2_1/build/MeVis/ThirdParty/Sources/Inventor/include/Inventor/elements/SoInt32Element.h