ObserverNodePath is an observer class for tracking changes to a NodePath, that automatically invalidates it when nodes are deleted.
More...
ObserverNodePath is an observer class for tracking changes to a NodePath, that automatically invalidates it when nodes are deleted.
◆ ObsNodePath
◆ ObserverNodePath() [1/3]
osg::ObserverNodePath::ObserverNodePath |
( |
| ) |
|
◆ ObserverNodePath() [2/3]
◆ ObserverNodePath() [3/3]
osg::ObserverNodePath::ObserverNodePath |
( |
const osg::NodePath & |
nodePath | ) |
|
◆ ~ObserverNodePath()
osg::ObserverNodePath::~ObserverNodePath |
( |
| ) |
|
◆ _clearNodePath()
void osg::ObserverNodePath::_clearNodePath |
( |
| ) |
|
|
protected |
◆ _setNodePath()
void osg::ObserverNodePath::_setNodePath |
( |
const osg::NodePath & |
nodePath | ) |
|
|
protected |
◆ clearNodePath()
void osg::ObserverNodePath::clearNodePath |
( |
| ) |
|
◆ empty()
bool osg::ObserverNodePath::empty |
( |
| ) |
const |
|
inline |
◆ 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.
◆ operator=()
◆ setNodePath() [1/2]
◆ setNodePath() [2/2]
void osg::ObserverNodePath::setNodePath |
( |
const osg::NodePath & |
nodePath | ) |
|
◆ setNodePathTo()
void osg::ObserverNodePath::setNodePathTo |
( |
osg::Node * |
node | ) |
|
get the NodePath from the first parental chain back to root, plus the specified node.
◆ _mutex
◆ _nodePath
The documentation for this class was generated from the following file: