59#ifndef _SO_ACCUMULATED_ELEMENT
60#define _SO_ACCUMULATED_ELEMENT
97 virtual void print(FILE *fp)
const;
130 bool accumulatesWithParentFlag;
#define SoEXTENDER
Provide inline template functions for abs, swap, min, max, and clamp.
#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:
List of generic (void *) pointers.
This is the abstract base class for each state element whose value may be accumulated when it is set.
static void initClass()
Initializes the SoAccumulatedElement class.
SbPList nodeIds
This stores the list of node id's as pointers, since they should be the same length as int32_ts.
virtual void captureThis(SoState *state) const
Override normal capture method to capture elements at other depths that we are accumulating with.
void addNodeId(const SoNode *node)
Adds the id of the given node to the current list.
virtual SoElement * copyMatchInfo() const
Create and return a copy of this element; this will copy the nodeId list properly.
virtual void print(FILE *fp) const
Prints element (for debugging)
void setNodeId(const SoNode *node)
Sets the node id list to JUST the id of the given node.
void clearNodeIds()
Clears out the list of node id's.
virtual ~SoAccumulatedElement()
Destructor.
virtual bool matches(const SoElement *elt) const
Returns TRUE if the element matches another element, based on node-id's.
This is the abstract base class for all state elements.
Abstract base class for all database nodes.
An SoState collects and holds state while traversing a scene graph.