V-ART
Public Member Functions | Protected Attributes | List of all members
VART::DescriptionLocator Class Reference

Locates a SceneNode by its description. More...

#include <descriptionlocator.h>

Inheritance diagram for VART::DescriptionLocator:
VART::SNLocator VART::SNOperator

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 SGPathPath () 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 SceneNodeLocatedNode () 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 SceneNodenodePtr
 

Detailed Description

Locates a SceneNode by its description.

FixMe: Put Detailed description here

Definition at line 16 of file descriptionlocator.h.

Constructor & Destructor Documentation

VART::DescriptionLocator::DescriptionLocator ( const std::string &  description)

Definition at line 11 of file descriptionlocator.cpp.

Member Function Documentation

void VART::DescriptionLocator::OperateOn ( const SceneNode nodePtr)
virtual

Process given node.

Implements VART::SNLocator.

Definition at line 17 of file descriptionlocator.cpp.

References VART::SceneNode::GetDescription().

Member Data Documentation

std::string VART::DescriptionLocator::targetDescription
protected

Definition at line 28 of file descriptionlocator.h.


The documentation for this class was generated from the following files: