Open Inventor Reference
|
Element that stores a flag for each type of element which can be overridden. More...
#include <Inventor/elements/SoOverrideElement.h>
Public Member Functions | |
virtual void | init (SoState *state) |
Initializes element. | |
virtual bool | matches (const SoElement *elt) const |
Comparison based on value of int32_ts. | |
virtual void | push (SoState *state) |
Overrides push() method to copy values from next instance in the stack, and set up cache dependencies correctly. | |
virtual void | print (FILE *fp) const |
Prints element (for debugging) | |
virtual SoElement * | copyMatchInfo () const |
Copy method, copies flags. | |
Public Member Functions inherited from SoElement | |
virtual void | init (SoState *state) |
Initializes element. | |
virtual void | push (SoState *state) |
Pushes/pops element. | |
virtual void | pop (SoState *state, const SoElement *prevTopElement) |
virtual void | print (FILE *fp) const |
Prints element (for debugging) | |
virtual bool | matches (const SoElement *elt) const =0 |
Returns TRUE if the element matches another element (of the same class, presumably) with respect to cache validity. | |
virtual SoElement * | copyMatchInfo () const =0 |
Create a copy that we can put in a cache used list and call matches() on later. | |
SoType | getTypeId () const |
Returns type identifier for element instance. | |
int | getStackIndex () const |
Returns the stack index for an element instance. | |
void | setDepth (int dpth) |
Sets stuff in an element instance. | |
void | setNext (SoElement *nxt) |
void | setNextInStack (SoElement *nxt) |
void | setNextFree (SoElement *nxt) |
int | getDepth () const |
Returns stuff from element instance. | |
SoElement * | getNext () const |
virtual | ~SoElement () |
Destructor. | |
Static Public Member Functions | |
static bool | getAmbientColorOverride (SoState *state) |
"get" methods for each element which can be overridden. | |
static bool | getComplexityOverride (SoState *state) |
Returns TRUE if SoComplexityElement is overridden. | |
static bool | getComplexityTypeOverride (SoState *state) |
Returns TRUE if SoComplexityTypeElement is overridden. | |
static bool | getCreaseAngleOverride (SoState *state) |
Returns TRUE if SoCreaseAngleElement is overridden. | |
static bool | getDiffuseColorOverride (SoState *state) |
Returns TRUE if SoDiffuseColorElement is overridden. | |
static bool | getDrawStyleOverride (SoState *state) |
Returns TRUE if SoDrawStyleElement is overridden. | |
static bool | getEmissiveColorOverride (SoState *state) |
Returns TRUE if SoEmissiveColorElement is overridden. | |
static bool | getFontNameOverride (SoState *state) |
Returns TRUE if SoFontNameElement is overridden. | |
static bool | getFontSizeOverride (SoState *state) |
Returns TRUE if SoFontSizeElement is overridden. | |
static bool | getLightModelOverride (SoState *state) |
Returns TRUE if SoLightModelElement is overridden. | |
static bool | getLinePatternOverride (SoState *state) |
Returns TRUE if SoLinePatternElement is overridden. | |
static bool | getLineWidthOverride (SoState *state) |
Returns TRUE if SoLineWidthElement is overridden. | |
static bool | getMaterialBindingOverride (SoState *state) |
Returns TRUE if SoMaterialBindingElement is overridden. | |
static bool | getPointSizeOverride (SoState *state) |
Returns TRUE if SoPointSizeElement is overridden. | |
static bool | getPickStyleOverride (SoState *state) |
Returns TRUE if SoPickStyleElement is overridden. | |
static bool | getShapeHintsOverride (SoState *state) |
Returns TRUE if SoShapeHintsElement is overridden. | |
static bool | getShininessOverride (SoState *state) |
Returns TRUE if SoShininessElement is overridden. | |
static bool | getSpecularColorOverride (SoState *state) |
Returns TRUE if SoSpecularColorElement is overridden. | |
static bool | getTransparencyOverride (SoState *state) |
Returns TRUE if SoTransparencyElement is overridden. | |
static bool | getPolygonOffsetOverride (SoState *state) |
Returns TRUE if SoPolygonOffsetElement is overridden. | |
static void | setAmbientColorOverride (SoState *state, SoNode *, bool override) |
"set" methods for each element which can be overridden. | |
static void | setComplexityOverride (SoState *state, SoNode *, bool override) |
set override flag for SoComplexityElement. | |
static void | setComplexityTypeOverride (SoState *state, SoNode *, bool override) |
set override flag for SoComplexityTypeElement. | |
static void | setCreaseAngleOverride (SoState *state, SoNode *, bool override) |
set override flag for SoCreaseAngleElement. | |
static void | setDiffuseColorOverride (SoState *state, SoNode *, bool override) |
set override flag for SoDiffuseColorElement. | |
static void | setDrawStyleOverride (SoState *state, SoNode *, bool override) |
set override flag for SoDrawStyleElement. | |
static void | setEmissiveColorOverride (SoState *state, SoNode *, bool override) |
set override flag for SoEmissiveColorElement. | |
static void | setFontNameOverride (SoState *state, SoNode *, bool override) |
set override flag for SoFontNameElement. | |
static void | setFontSizeOverride (SoState *state, SoNode *, bool override) |
set override flag for SoFontSizeElement. | |
static void | setLightModelOverride (SoState *state, SoNode *, bool override) |
set override flag for SoLightModelElement. | |
static void | setLinePatternOverride (SoState *state, SoNode *, bool override) |
set override flag for SoLinePatternElement. | |
static void | setLineWidthOverride (SoState *state, SoNode *, bool override) |
set override flag for SoLineWidthElement. | |
static void | setMaterialBindingOverride (SoState *state, SoNode *, bool override) |
set override flag for SoMaterialBinding. | |
static void | setPickStyleOverride (SoState *state, SoNode *, bool override) |
set override flag for SoPickStyleElement. | |
static void | setPointSizeOverride (SoState *state, SoNode *, bool override) |
set override flag for SoPointSizeElement. | |
static void | setShapeHintsOverride (SoState *state, SoNode *, bool override) |
set override flag for SoShapeHintsElement. | |
static void | setShininessOverride (SoState *state, SoNode *, bool override) |
set override flag for SoShininessElement. | |
static void | setSpecularColorOverride (SoState *state, SoNode *, bool override) |
set override flag for SoSpecularColorElement. | |
static void | setTransparencyOverride (SoState *state, SoNode *, bool override) |
set override flag for SoTransparencyElement. | |
static void | setPolygonOffsetOverride (SoState *state, SoNode *, bool override) |
set override flag for SoPolygonOffsetElement. | |
static void | initClass () |
Initializes the SoOverrideElement class. | |
Static Public Member Functions inherited from SoElement | |
static SoType | getClassTypeId () |
Returns type identifier for SoElement class. | |
static void | initElements () |
Initialize ALL Inventor element classes. | |
static void | initClass () |
Initializes the SoElement class. | |
static int | getNumStackIndices () |
Returns the number of stack indices allocated. | |
static SoType | getIdFromStackIndex (int stackIndex) |
Returns the id for the element with the given stack index. | |
Additional Inherited Members | |
Protected Member Functions inherited from SoElement | |
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. | |
Static Protected Member Functions inherited from SoElement | |
static SoElement * | getElement (SoState *state, int stackIndex) |
Returns an instance of an element from the stack with the given index in the given state. | |
static const SoElement * | getConstElement (SoState *state, int stackIndex) |
Returns a read-only pointer to the top instance in the given element stack. | |
static int | createStackIndex (SoType id) |
Creates and returns a new stack index. | |
Static Protected Attributes inherited from SoElement | |
static int | classStackIndex |
Stack index for SoElement class. | |
Nodes implement override by setting the appropriate bit if their override flag is on, and ignoring overridden elements if the corresponding bit in the state's SoOverrideElement is set.
Definition at line 94 of file SoOverrideElement.h.
|
inlinestatic |
Returns TRUE if SoAmbientColorElement is overridden.
Definition at line 138 of file SoOverrideElement.h.
References SO_GET_OVERRIDE.
|
inlinestatic |
Definition at line 142 of file SoOverrideElement.h.
References SO_GET_OVERRIDE.
|
inlinestatic |
Definition at line 146 of file SoOverrideElement.h.
References SO_GET_OVERRIDE.
|
inlinestatic |
Definition at line 150 of file SoOverrideElement.h.
References SO_GET_OVERRIDE.
|
inlinestatic |
Definition at line 154 of file SoOverrideElement.h.
References SO_GET_OVERRIDE.
|
inlinestatic |
Definition at line 158 of file SoOverrideElement.h.
References SO_GET_OVERRIDE.
|
inlinestatic |
Definition at line 162 of file SoOverrideElement.h.
References SO_GET_OVERRIDE.
|
inlinestatic |
Definition at line 166 of file SoOverrideElement.h.
References SO_GET_OVERRIDE.
|
inlinestatic |
Definition at line 170 of file SoOverrideElement.h.
References SO_GET_OVERRIDE.
|
inlinestatic |
Definition at line 174 of file SoOverrideElement.h.
References SO_GET_OVERRIDE.
|
inlinestatic |
Definition at line 178 of file SoOverrideElement.h.
References SO_GET_OVERRIDE.
|
inlinestatic |
Definition at line 182 of file SoOverrideElement.h.
References SO_GET_OVERRIDE.
|
inlinestatic |
Definition at line 186 of file SoOverrideElement.h.
References SO_GET_OVERRIDE.
|
inlinestatic |
Definition at line 194 of file SoOverrideElement.h.
References SO_GET_OVERRIDE.
|
inlinestatic |
Definition at line 190 of file SoOverrideElement.h.
References SO_GET_OVERRIDE.
|
inlinestatic |
Definition at line 214 of file SoOverrideElement.h.
References SO_GET_OVERRIDE.
|
inlinestatic |
Definition at line 198 of file SoOverrideElement.h.
References SO_GET_OVERRIDE.
|
inlinestatic |
Definition at line 202 of file SoOverrideElement.h.
References SO_GET_OVERRIDE.
|
inlinestatic |
Definition at line 206 of file SoOverrideElement.h.
References SO_GET_OVERRIDE.
|
inlinestatic |
Definition at line 210 of file SoOverrideElement.h.
References SO_GET_OVERRIDE.
|
static |
|
virtual |
Implements SoElement.
|
virtual |
Reimplemented from SoElement.
|
inlinestatic |
set override flag for SoAmbientColorElement.
Definition at line 222 of file SoOverrideElement.h.
References SO_SET_OVERRIDE.
|
inlinestatic |
Definition at line 227 of file SoOverrideElement.h.
References SO_SET_OVERRIDE.
|
inlinestatic |
Definition at line 232 of file SoOverrideElement.h.
References SO_SET_OVERRIDE.
|
inlinestatic |
Definition at line 237 of file SoOverrideElement.h.
References SO_SET_OVERRIDE.
|
static |
|
inlinestatic |
Definition at line 246 of file SoOverrideElement.h.
References SO_SET_OVERRIDE.
|
inlinestatic |
Definition at line 251 of file SoOverrideElement.h.
References SO_SET_OVERRIDE.
|
inlinestatic |
Definition at line 256 of file SoOverrideElement.h.
References SO_SET_OVERRIDE.
|
inlinestatic |
Definition at line 261 of file SoOverrideElement.h.
References SO_SET_OVERRIDE.
|
inlinestatic |
Definition at line 266 of file SoOverrideElement.h.
References SO_SET_OVERRIDE.
|
inlinestatic |
Definition at line 271 of file SoOverrideElement.h.
References SO_SET_OVERRIDE.
|
inlinestatic |
Definition at line 276 of file SoOverrideElement.h.
References SO_SET_OVERRIDE.
|
static |
|
inlinestatic |
Definition at line 285 of file SoOverrideElement.h.
References SO_SET_OVERRIDE.
|
inlinestatic |
Definition at line 290 of file SoOverrideElement.h.
References SO_SET_OVERRIDE.
|
inlinestatic |
Definition at line 314 of file SoOverrideElement.h.
References SO_SET_OVERRIDE.
|
inlinestatic |
Definition at line 295 of file SoOverrideElement.h.
References SO_SET_OVERRIDE.
|
inlinestatic |
Definition at line 300 of file SoOverrideElement.h.
References SO_SET_OVERRIDE.
|
inlinestatic |
Definition at line 305 of file SoOverrideElement.h.
References SO_SET_OVERRIDE.
|
static |