58#ifndef _SO_REPLACED_ELEMENT
59#define _SO_REPLACED_ELEMENT
94 virtual void print(FILE *fp)
const;
#define SoEXTENDER
Provide inline template functions for abs, swap, min, max, and clamp.
size_t SbNodeIdType
Type of unique ids of SoNode, used in the notification/change detection handling.
#define INVENTOR_API
Disable some annoying warnings on MSVC 6.
#define SO_ELEMENT_ABSTRACT_HEADER(className)
Macros to be called within the class definition header for a element subclass:
This is the abstract base class for all state elements.
Abstract base class for all database nodes.
This is the abstract base class for each state element whose value is replaced whenever it is set.
static SoElement * getElement(SoState *state, int stackIndex, SoNode *node)
Overrides SoElement::getElement() to set the nodeId in the element instance before returning it.
virtual void print(FILE *fp) const
Prints element (for debugging)
SbNodeIdType getNodeId() const
Return nodeId.
virtual SoElement * copyMatchInfo() const
Create and return a copy of this element.
virtual ~SoReplacedElement()
Destructor.
static void initClass()
Initializes the SoReplacedElement class.
virtual bool matches(const SoElement *elt) const
Returns TRUE if the element matches another element, based on node-id.
virtual void init(SoState *state)
Initializes node id in element.
An SoState collects and holds state while traversing a scene graph.