14#ifndef OSG_NODETRACKERCALLBACK
15#define OSG_NODETRACKERCALLBACK 1
The core osg library provides the basic scene graph classes such as Nodes, State and Drawables,...
Definition AlphaFunc:19
std::vector< Node * > NodePath
A vector of Nodes pointers which is used to describe the path from a root node to a descendant.
Definition Node:47
NodeCallback()
Definition Callback:219
Base class for all internal nodes in the scene graph.
Definition Node:72
Definition NodeTrackerCallback:26
osg::Node * getTrackNode()
ObserverNodePath _trackNodePath
Definition NodeTrackerCallback:47
const osg::Node * getTrackNode() const
void setTrackNodePath(const ObserverNodePath &nodePath)
Definition NodeTrackerCallback:31
void setTrackNode(osg::Node *node)
ObserverNodePath & getTrackNodePath()
Definition NodeTrackerCallback:33
void update(osg::Node &node)
Update the node to track the nodepath.
virtual void operator()(Node *node, NodeVisitor *nv)
Implements the callback.
void setTrackNodePath(const osg::NodePath &nodePath)
Definition NodeTrackerCallback:29
Visitor for type safe operations on osg::Nodes.
Definition NodeVisitor:82
ObserverNodePath is an observer class for tracking changes to a NodePath, that automatically invalida...
Definition ObserverNodePath:28
#define OSG_EXPORT
Definition Export:39