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

#include <picknamelocator.h>

Inheritance diagram for VART::PickNameLocator:
VART::SNLocator VART::SNOperator

Public Member Functions

 PickNameLocator (unsigned int name)
 Creates an uninitialized PickNameFinder. More...
 
virtual ~PickNameLocator ()
 
virtual void OperateOn (const SceneNode *nodePtr)
 Process given node. More...
 
const GraphicObj * GetResult () const
 
- 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

unsigned int pickName
 
const GraphicObj * result
 
- Protected Attributes inherited from VART::SNLocator
bool notFinished
 Indicates whether the locator has found the target node. More...
 
SGPath path
 
const SceneNode * nodePtr
 

Detailed Description

Definition at line 18 of file picknamelocator.h.

Constructor & Destructor Documentation

VART::PickNameLocator::PickNameLocator ( unsigned int  name)

Creates an uninitialized PickNameFinder.

Definition at line 8 of file picknamelocator.cpp.

virtual VART::PickNameLocator::~PickNameLocator ( )
inlinevirtual

Definition at line 25 of file picknamelocator.h.

Member Function Documentation

const GraphicObj* VART::PickNameLocator::GetResult ( ) const
inline

Definition at line 27 of file picknamelocator.h.

References result.

void VART::PickNameLocator::OperateOn ( const SceneNode *  nodePtr)
virtual

Process given node.

Implements VART::SNLocator.

Definition at line 12 of file picknamelocator.cpp.

References VART::GraphicObj::PickName().

Member Data Documentation

unsigned int VART::PickNameLocator::pickName
protected

Definition at line 33 of file picknamelocator.h.

const GraphicObj* VART::PickNameLocator::result
protected

Definition at line 34 of file picknamelocator.h.

Referenced by GetResult().


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