ObserverNodePath is an observer class for tracking changes to a NodePath, that automatically invalidates it when nodes are deleted.
More...
|
| ObserverNodePath (const ObserverNodePath &rhs) |
|
| ObserverNodePath (const osg::NodePath &nodePath) |
|
ObserverNodePath & | operator= (const ObserverNodePath &rhs) |
|
void | setNodePathTo (osg::Node *node) |
| get the NodePath from the first parental chain back to root, plus the specified node. More...
|
|
void | setNodePath (const osg::RefNodePath &nodePath) |
|
void | setNodePath (const osg::NodePath &nodePath) |
|
void | clearNodePath () |
|
bool | getRefNodePath (RefNodePath &refNodePath) const |
| Get a thread safe RefNodePath, return true if NodePath is valid. More...
|
|
bool | getNodePath (NodePath &nodePath) const |
| Get a lightweight NodePath that isn't thread safe but may be safely used in single threaded applications, or when its known that the NodePath won't be invalidated during usage of the NodePath. More...
|
|
bool | empty () const |
|
|
void | _setNodePath (const osg::NodePath &nodePath) |
|
void | _clearNodePath () |
|
ObserverNodePath is an observer class for tracking changes to a NodePath, that automatically invalidates it when nodes are deleted.
◆ getNodePath()
bool osg::ObserverNodePath::getNodePath |
( |
NodePath & |
nodePath | ) |
const |
Get a lightweight NodePath that isn't thread safe but may be safely used in single threaded applications, or when its known that the NodePath won't be invalidated during usage of the NodePath.
return true if NodePath is valid.
◆ getRefNodePath()
bool osg::ObserverNodePath::getRefNodePath |
( |
RefNodePath & |
refNodePath | ) |
const |
Get a thread safe RefNodePath, return true if NodePath is valid.
◆ setNodePathTo()
void osg::ObserverNodePath::setNodePathTo |
( |
osg::Node * |
node | ) |
|
get the NodePath from the first parental chain back to root, plus the specified node.
The documentation for this class was generated from the following file:
- /home/karlu20/private/installs/OpenSceneGraph/include/osg/ObserverNodePath