Stores a flag for each type of element which can be overridden. More...
#include <Inventor/elements/SoOverrideElement.h>
Public Member Functions | |
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). | |
Public Member Functions inherited from SoElement | |
virtual void | pop (SoState *state, const SoElement *prevTopElement) |
Pops element. | |
virtual SoType | getTypeId () const |
Returns type identifier for element instance. | |
Public Member Functions inherited from SoTypedObject | |
SbBool | isOfType (const SoType &type) const |
Returns TRUE if this object is of the type specified in type or is derived from that type. | |
template<typename TypedObjectClass > | |
SbBool | isOfType () const |
Returns TRUE if this object is of the type of class TypedObjectClass or is derived from that class. | |
Static Public Member Functions | |
static SoType | getClassTypeId () |
Returns the type identifier for this class. | |
static int | getClassStackIndex () |
Returns the stack id for this element. | |
static SbBool | getAmbientColorOverride (SoState *state) |
Returns TRUE if SoAmbientColorElement is overridden. | |
static SbBool | getColorIndexOverride (SoState *state) |
Returns TRUE if SoColorIndexElement is overridden. | |
static SbBool | getComplexityOverride (SoState *state) |
Returns TRUE if SoComplexityElement is overridden. | |
static SbBool | getComplexityTypeOverride (SoState *state) |
Returns TRUE if SoComplexityTypeElement is overridden. | |
static SbBool | getCreaseAngleOverride (SoState *state) |
Returns TRUE if SoCreaseAngleElement is overridden. | |
static SbBool | getNeighborToleranceOverride (SoState *state) |
Returns TRUE if SoNeighborToleranceElement is overridden. | |
static SbBool | getDiffuseColorOverride (SoState *state) |
Returns TRUE if SoDiffuseColorElement is overridden. | |
static SbBool | getDrawStyleOverride (SoState *state) |
Returns TRUE if SoDrawStyleElement is overridden. | |
static SbBool | getEmissiveColorOverride (SoState *state) |
Returns TRUE if SoEmissiveColorElement is overridden. | |
static SbBool | getFontNameOverride (SoState *state) |
Returns TRUE if SoFontNameElement is overridden. | |
static SbBool | getFontSizeOverride (SoState *state) |
Returns TRUE if SoFontSizeElement is overridden. | |
static SbBool | getFontRenderStyleOverride (SoState *state) |
Returns TRUE if SoFontRenderStyleElement is overridden. | |
static SbBool | getLightModelOverride (SoState *state) |
Returns TRUE if SoLightModelElement is overridden. | |
static SbBool | getLinePatternOverride (SoState *state) |
Returns TRUE if SoLinePatternElement is overridden. | |
static SbBool | getLineWidthOverride (SoState *state) |
Returns TRUE if SoLineWidthElement is overridden. | |
static SbBool | getMaterialBindingOverride (SoState *state) |
Returns TRUE if SoMaterialBindingElement is overridden. | |
static SbBool | getPointSizeOverride (SoState *state) |
Returns TRUE if SoPointSizeElement is overridden. | |
static SbBool | getPickStyleOverride (SoState *state) |
Returns TRUE if SoPickStyleElement is overridden. | |
static SbBool | getShapeHintsOverride (SoState *state) |
Returns TRUE if SoShapeHintsElement is overridden. | |
static SbBool | getShininessOverride (SoState *state) |
Returns TRUE if SoShininessElement is overridden. | |
static SbBool | getSpecularColorOverride (SoState *state) |
Returns TRUE if SoSpecularColorElement is overridden. | |
static SbBool | getTransparencyOverride (SoState *state) |
Returns TRUE if SoTransparencyElement is overridden. | |
static SbBool | getTransparencyTypeOverride (SoState *state) |
Returns TRUE if SoTransparencyTypeElement is overridden. | |
static SbBool | getEnvironmentOverride (SoState *state) |
Returns TRUE if SoEnvironmentElement is overridden. | |
static SbBool | getPolygonOffsetOverride (SoState *state) |
Returns TRUE if SoPolygonOffsetElement is overridden. | |
static SbBool | getPatternOverride (SoState *state) |
Returns TRUE if SoPatternElement is overriden. | |
static SbBool | getFullSceneAntialiasingOverride (SoState *state) |
Returns TRUE if SoFullSceneAntialiasingElement is overridden. | |
static SbBool | getDepthBufferRangeOverride (SoState *state) |
Returns TRUE if SoDepthBuffer::range is overridden. | |
static SbBool | getDepthBufferFunctionOverride (SoState *state) |
Returns TRUE if SoDepthBuffer::function is overridden. | |
static SbBool | getBBoxTypeOverride (SoState *state) |
Returns TRUE if SoComplexityType::bboxType is overridden. | |
static void | setAmbientColorOverride (SoState *state, SoNode *, SbBool override) |
Set override flag for SoAmbientColorElement. | |
static void | setColorIndexOverride (SoState *state, SoNode *, SbBool override) |
Set override flag for SoColorIndexElement. | |
static void | setComplexityOverride (SoState *state, SoNode *, SbBool override) |
Set override flag for SoComplexityElement. | |
static void | setComplexityTypeOverride (SoState *state, SoNode *, SbBool override) |
Set override flag for SoComplexityTypeElement. | |
static void | setCreaseAngleOverride (SoState *state, SoNode *, SbBool override) |
Set override flag for SoCreaseAngleElement. | |
static void | setNeighborToleranceOverride (SoState *state, SoNode *, SbBool override) |
Set override flag for SoNeighborToleranceElement. | |
static void | setDiffuseColorOverride (SoState *state, SoNode *, SbBool override) |
Set override flag for SoDiffuseColorElement. | |
static void | setDrawStyleOverride (SoState *state, SoNode *, SbBool override) |
Set override flag for SoDrawStyleElement. | |
static void | setEmissiveColorOverride (SoState *state, SoNode *, SbBool override) |
Set override flag for SoEmissiveColorElement. | |
static void | setFontNameOverride (SoState *state, SoNode *, SbBool override) |
Set override flag for SoFontNameElement. | |
static void | setFontSizeOverride (SoState *state, SoNode *, SbBool override) |
Set override flag for SoFontSizeElement. | |
static void | setFontRenderStyleOverride (SoState *state, SoNode *, SbBool override) |
Set override flag for SoFontRenderStyleElement. | |
static void | setLightModelOverride (SoState *state, SoNode *, SbBool override) |
Set override flag for SoLightModelElement. | |
static void | setLinePatternOverride (SoState *state, SoNode *, SbBool override) |
Set override flag for SoLinePatternElement. | |
static void | setLineWidthOverride (SoState *state, SoNode *, SbBool override) |
Set override flag for SoLineWidthElement. | |
static void | setMaterialBindingOverride (SoState *state, SoNode *, SbBool override) |
Set override flag for SoMaterialBindingElement. | |
static void | setPickStyleOverride (SoState *state, SoNode *, SbBool override) |
Set override flag for SoPickStyleElement. | |
static void | setPointSizeOverride (SoState *state, SoNode *, SbBool override) |
Set override flag for SoPointSizeElement. | |
static void | setShapeHintsOverride (SoState *state, SoNode *, SbBool override) |
Set override flag for SoShapeHintsElement. | |
static void | setShininessOverride (SoState *state, SoNode *, SbBool override) |
Set override flag for SoShininessElement. | |
static void | setSpecularColorOverride (SoState *state, SoNode *, SbBool override) |
Set override flag for SoSpecularColorElement. | |
static void | setTransparencyOverride (SoState *state, SoNode *, SbBool override) |
Set override flag for SoTransparencyElement. | |
static void | setTransparencyTypeOverride (SoState *state, SoNode *, SbBool override) |
Set override flag for SoTransparencyTypeElement. | |
static void | setEnvironmentOverride (SoState *state, SoNode *, SbBool override) |
Set override flag for SoEnvironmentElement. | |
static void | setPolygonOffsetOverride (SoState *state, SoNode *, SbBool override) |
Set override flag for SoPolygonOffsetElement. | |
static void | setPatternOverride (SoState *state, SoNode *, SbBool override) |
Set override flag for SoPatternElement. | |
static void | setFullSceneAntialiasingOverride (SoState *state, SoNode *, SbBool override) |
Set override flag for SoFullSceneAntialiasingElement. | |
static void | setDepthBufferRangeOverride (SoState *state, SoNode *, SbBool override) |
Set override flag for SoDepthBuffer::range. | |
static void | setDepthBufferFunctionOverride (SoState *state, SoNode *, SbBool override) |
Set override flag for SoDepthBuffer::function. | |
static void | setBBoxTypeOverride (SoState *state, SoNode *, SbBool override) |
Set override flag for SoComplexity::bboxType. | |
Static Public Member Functions inherited from SoElement | |
static SoType | getClassTypeId () |
Returns type identifier for SoElement class. | |
Static Public Member Functions inherited from SoTypedObject | |
static SoType | getClassTypeId () |
Returns the type identifier for this class. | |
Stores a flag for each type of element which can be overridden.
This element stores a flag for each type of element which can be overridden. 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 92 of file SoOverrideElement.h.
Returns TRUE if SoAmbientColorElement is overridden.
Definition at line 111 of file SoOverrideElement.h.
Returns TRUE if SoComplexityType::bboxType is overridden.
Definition at line 285 of file SoOverrideElement.h.
|
static |
Returns the stack id for this element.
|
static |
Returns the type identifier for this class.
Returns TRUE if SoColorIndexElement is overridden.
Definition at line 117 of file SoOverrideElement.h.
Returns TRUE if SoComplexityElement is overridden.
Definition at line 123 of file SoOverrideElement.h.
Returns TRUE if SoComplexityTypeElement is overridden.
Definition at line 129 of file SoOverrideElement.h.
Returns TRUE if SoCreaseAngleElement is overridden.
Definition at line 135 of file SoOverrideElement.h.
Returns TRUE if SoDepthBuffer::function is overridden.
Definition at line 279 of file SoOverrideElement.h.
Returns TRUE if SoDepthBuffer::range is overridden.
Definition at line 273 of file SoOverrideElement.h.
Returns TRUE if SoDiffuseColorElement is overridden.
Definition at line 147 of file SoOverrideElement.h.
Returns TRUE if SoDrawStyleElement is overridden.
Definition at line 153 of file SoOverrideElement.h.
Returns TRUE if SoEmissiveColorElement is overridden.
Definition at line 159 of file SoOverrideElement.h.
Returns TRUE if SoEnvironmentElement is overridden.
Definition at line 249 of file SoOverrideElement.h.
Returns TRUE if SoFontNameElement is overridden.
Definition at line 165 of file SoOverrideElement.h.
Returns TRUE if SoFontRenderStyleElement is overridden.
Definition at line 177 of file SoOverrideElement.h.
Returns TRUE if SoFontSizeElement is overridden.
Definition at line 171 of file SoOverrideElement.h.
Returns TRUE if SoFullSceneAntialiasingElement is overridden.
Definition at line 267 of file SoOverrideElement.h.
Returns TRUE if SoLightModelElement is overridden.
Definition at line 183 of file SoOverrideElement.h.
Returns TRUE if SoLinePatternElement is overridden.
Definition at line 189 of file SoOverrideElement.h.
Returns TRUE if SoLineWidthElement is overridden.
Definition at line 195 of file SoOverrideElement.h.
Returns TRUE if SoMaterialBindingElement is overridden.
Definition at line 201 of file SoOverrideElement.h.
Returns TRUE if SoNeighborToleranceElement is overridden.
Definition at line 141 of file SoOverrideElement.h.
Returns TRUE if SoPatternElement is overriden.
Definition at line 261 of file SoOverrideElement.h.
Returns TRUE if SoPickStyleElement is overridden.
Definition at line 213 of file SoOverrideElement.h.
Returns TRUE if SoPointSizeElement is overridden.
Definition at line 207 of file SoOverrideElement.h.
Returns TRUE if SoPolygonOffsetElement is overridden.
Definition at line 255 of file SoOverrideElement.h.
Returns TRUE if SoShapeHintsElement is overridden.
Definition at line 219 of file SoOverrideElement.h.
Returns TRUE if SoShininessElement is overridden.
Definition at line 225 of file SoOverrideElement.h.
Returns TRUE if SoSpecularColorElement is overridden.
Definition at line 231 of file SoOverrideElement.h.
Returns TRUE if SoTransparencyElement is overridden.
Definition at line 237 of file SoOverrideElement.h.
Returns TRUE if SoTransparencyTypeElement is overridden.
Definition at line 243 of file SoOverrideElement.h.
|
virtual |
Prints element (for debugging).
Reimplemented from SoElement.
|
virtual |
|
inlinestatic |
Set override flag for SoAmbientColorElement.
Definition at line 296 of file SoOverrideElement.h.
|
inlinestatic |
Set override flag for SoComplexity::bboxType.
Definition at line 467 of file SoOverrideElement.h.
|
inlinestatic |
Set override flag for SoColorIndexElement.
Definition at line 302 of file SoOverrideElement.h.
|
inlinestatic |
Set override flag for SoComplexityElement.
Definition at line 308 of file SoOverrideElement.h.
|
inlinestatic |
Set override flag for SoComplexityTypeElement.
Definition at line 314 of file SoOverrideElement.h.
|
inlinestatic |
Set override flag for SoCreaseAngleElement.
Definition at line 320 of file SoOverrideElement.h.
|
inlinestatic |
Set override flag for SoDepthBuffer::function.
Definition at line 461 of file SoOverrideElement.h.
|
inlinestatic |
Set override flag for SoDepthBuffer::range.
Definition at line 455 of file SoOverrideElement.h.
|
static |
Set override flag for SoDiffuseColorElement.
|
inlinestatic |
Set override flag for SoDrawStyleElement.
Definition at line 337 of file SoOverrideElement.h.
|
inlinestatic |
Set override flag for SoEmissiveColorElement.
Definition at line 343 of file SoOverrideElement.h.
|
inlinestatic |
Set override flag for SoEnvironmentElement.
Definition at line 431 of file SoOverrideElement.h.
|
inlinestatic |
Set override flag for SoFontNameElement.
Definition at line 349 of file SoOverrideElement.h.
|
inlinestatic |
Set override flag for SoFontRenderStyleElement.
Definition at line 361 of file SoOverrideElement.h.
|
inlinestatic |
Set override flag for SoFontSizeElement.
Definition at line 355 of file SoOverrideElement.h.
|
inlinestatic |
Set override flag for SoFullSceneAntialiasingElement.
Definition at line 449 of file SoOverrideElement.h.
|
inlinestatic |
Set override flag for SoLightModelElement.
Definition at line 367 of file SoOverrideElement.h.
|
inlinestatic |
Set override flag for SoLinePatternElement.
Definition at line 373 of file SoOverrideElement.h.
|
inlinestatic |
Set override flag for SoLineWidthElement.
Definition at line 379 of file SoOverrideElement.h.
|
static |
Set override flag for SoMaterialBindingElement.
|
inlinestatic |
Set override flag for SoNeighborToleranceElement.
Definition at line 326 of file SoOverrideElement.h.
|
inlinestatic |
Set override flag for SoPatternElement.
Definition at line 443 of file SoOverrideElement.h.
|
inlinestatic |
Set override flag for SoPickStyleElement.
Definition at line 390 of file SoOverrideElement.h.
|
inlinestatic |
Set override flag for SoPointSizeElement.
Definition at line 396 of file SoOverrideElement.h.
|
inlinestatic |
Set override flag for SoPolygonOffsetElement.
Definition at line 437 of file SoOverrideElement.h.
|
inlinestatic |
Set override flag for SoShapeHintsElement.
Definition at line 402 of file SoOverrideElement.h.
|
inlinestatic |
Set override flag for SoShininessElement.
Definition at line 408 of file SoOverrideElement.h.
|
inlinestatic |
Set override flag for SoSpecularColorElement.
Definition at line 414 of file SoOverrideElement.h.
|
static |
Set override flag for SoTransparencyElement.
|
inlinestatic |
Set override flag for SoTransparencyTypeElement.
Definition at line 425 of file SoOverrideElement.h.