Public Types | |
typedef std::vector < observer_ptr< Node > > | ObserverNodePath |
Public Member Functions | |
void | setTrackNodePath (const osg::NodePath &nodePath) |
void | setTrackNodePath (const ObserverNodePath &nodePath) |
ObserverNodePath & | getTrackNodePath () |
void | setTrackNode (osg::Node *node) |
osg::Node * | getTrackNode () |
const osg::Node * | getTrackNode () const |
virtual void | operator() (Node *node, NodeVisitor *nv) |
Implements the callback. | |
void | update (osg::Node &node) |
Update the node to track the nodepath. | |
bool | validateNodePath () const |
Protected Attributes | |
ObserverNodePath | _trackNodePath |
typedef std::vector< observer_ptr<Node> > osg::NodeTrackerCallback::ObserverNodePath |
void osg::NodeTrackerCallback::setTrackNodePath | ( | const osg::NodePath & | nodePath | ) | [inline] |
void osg::NodeTrackerCallback::setTrackNodePath | ( | const ObserverNodePath & | nodePath | ) | [inline] |
ObserverNodePath& osg::NodeTrackerCallback::getTrackNodePath | ( | ) | [inline] |
void osg::NodeTrackerCallback::setTrackNode | ( | osg::Node * | node | ) |
osg::Node* osg::NodeTrackerCallback::getTrackNode | ( | ) | [inline] |
const osg::Node* osg::NodeTrackerCallback::getTrackNode | ( | ) | const [inline] |
virtual void osg::NodeTrackerCallback::operator() | ( | Node * | node, | |
NodeVisitor * | nv | |||
) | [virtual] |
void osg::NodeTrackerCallback::update | ( | osg::Node & | node | ) |
Update the node to track the nodepath.
bool osg::NodeTrackerCallback::validateNodePath | ( | ) | const |