14#ifndef OSG_OBSERVERNODEPATH
15#define OSG_OBSERVERNODEPATH 1
60 OpenThreads::ScopedLock<OpenThreads::Mutex> lock(
_mutex);
69 typedef std::vector< osg::observer_ptr<osg::Node> >
ObsNodePath;
The core osg library provides the basic scene graph classes such as Nodes, State and Drawables,...
Definition AlphaFunc:19
std::vector< osg::ref_ptr< osg::Node > > RefNodePath
Definition ObserverNodePath:23
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
Base class for all internal nodes in the scene graph.
Definition Node:72
ObsNodePath _nodePath
Definition ObserverNodePath:71
ObserverNodePath(const osg::NodePath &nodePath)
std::vector< osg::observer_ptr< osg::Node > > ObsNodePath
Definition ObserverNodePath:69
ObserverNodePath(const ObserverNodePath &rhs)
void setNodePath(const osg::NodePath &nodePath)
OpenThreads::Mutex _mutex
Definition ObserverNodePath:70
bool getNodePath(NodePath &nodePath) const
Get a lightweight NodePath that isn't thread safe but may be safely used in single threaded applicati...
void _setNodePath(const osg::NodePath &nodePath)
bool empty() const
Definition ObserverNodePath:58
bool getRefNodePath(RefNodePath &refNodePath) const
Get a thread safe RefNodePath, return true if NodePath is valid.
void setNodePathTo(osg::Node *node)
get the NodePath from the first parental chain back to root, plus the specified node.
void setNodePath(const osg::RefNodePath &nodePath)
#define OSG_EXPORT
Definition Export:39