V-ART
|
Locates a SceneNode by its description. More...
#include <descriptionlocator.h>
Public Member Functions | |
DescriptionLocator (const std::string &description) | |
virtual void | OperateOn (const SceneNode *snPtr) |
Process given node. More... | |
Public Member Functions inherited from VART::SNLocator | |
SNLocator () | |
virtual | ~SNLocator () |
bool | NotFinished () const |
Indicates whether the traversal has not finished. More... | |
bool | Finished () const |
Indicates whether the traversal has finished. More... | |
const SGPath & | Path () const |
Returns the path to target node. More... | |
void | AddNodeToPath (SceneNode *nodePtr) |
Adds a node to internal Path. More... | |
virtual void | Reset () |
Reverts to initial state. More... | |
const SceneNode * | LocatedNode () const |
Returns the located node. More... | |
Public Member Functions inherited from VART::SNOperator | |
virtual | ~SNOperator () |
Protected Attributes | |
std::string | targetDescription |
Protected Attributes inherited from VART::SNLocator | |
bool | notFinished |
Indicates whether the locator has found the target node. More... | |
SGPath | path |
const SceneNode * | nodePtr |
Locates a SceneNode by its description.
FixMe: Put Detailed description here
Definition at line 16 of file descriptionlocator.h.
VART::DescriptionLocator::DescriptionLocator | ( | const std::string & | description | ) |
Definition at line 11 of file descriptionlocator.cpp.
|
virtual |
Process given node.
Implements VART::SNLocator.
Definition at line 17 of file descriptionlocator.cpp.
References VART::SceneNode::GetDescription().
|
protected |
Definition at line 28 of file descriptionlocator.h.