V-ART
picknamelocator.h
Go to the documentation of this file.
1 
5 #ifndef VART_PICKNAMELOCATOR_H
6 #define VART_PICKNAMELOCATOR_H
7 
8 #include "vart/snlocator.h"
9 
10 namespace VART {
11  class SceneNode;
12  class GraphicObj;
18  class PickNameLocator : public SNLocator
19  {
20  public:
21  // PUBLIC STATIC METHODS
22  // PUBLIC METHODS
24  PickNameLocator(unsigned int name);
25  virtual ~PickNameLocator() {}
26  virtual void OperateOn(const SceneNode* nodePtr);
27  const GraphicObj* GetResult() const { return result; }
28  protected:
29  // PROTECTED STATIC METHODS
30  // PROTECTED METHODS
31  // PROTECTED STATIC ATTRIBUTES
32  // PROTECTED ATTRIBUTES
33  unsigned int pickName;
35  }; // end class declaration
36 } // end namespace
37 
38 #endif
const GraphicObj * GetResult() const
virtual void OperateOn(const SceneNode *nodePtr)
Process given node.
Base class for objects that compose a scene graph.
Definition: scenenode.h:25
const SceneNode * nodePtr
Definition: snlocator.h:81
PickNameLocator(unsigned int name)
Creates an uninitialized PickNameFinder.
const GraphicObj * result
An scene node that is associated with a shape.
Definition: graphicobj.h:18
Header file for V-ART class "SNLocator".
Scene Node Locator – used to find a particular object in the scene graph.
Definition: snlocator.h:25