class TdGfxPfGrabController : public TcGfxVisitor

Performer grab controller class

Inheritance:


Public Methods

TdGfxPfGrabController()
Default constructor
virtual ~TdGfxPfGrabController()
Destructor.
virtual void visitGfxComponent(TcGfxComponent *c)
Root base class vistor method.
virtual void visitGfxObject(TcGfxObject *o)
Common base class TcGfxObject visit method.
virtual void visitGfxGroup(TcGfxGroup *g)
Common base cass TcGfxGroup method.
void visitGfxPfObject(TdGfxPfObject *o)
TdGfxPfObject visit method.
void visitGfxPfGroup(TdGfxPfGroup *g)
TdGfxPfGroup visit method.
void visitGfxGLObject(TcGfxGLObject *o)
TcGfxGLObject visit method.
void visitGfxGLGroup(TdGfxGLGroup *g)
TdGfxGLGroup visit method.
void reset(const TcUtVector3f& isectLocation)
This method must be called with the intersection point of the grab
void initArrow(TcGfxComponent &navGrp)
This must be called once at instantiation.
void hideArrow()
This is used to hide the grab intersection arrow.
void setIsectLocation(const TcUtVector3f &loc)
This is used to set the position the arrow is to appear.

Inherited from TcGfxVisitor:


Documentation

Performer grab controller class. This is a development interaction class. A user can grab an object and transform it in a virtual environment. This can only be done on TdGfxPfDCSAdapter classes. Error messages are shown for all other class types. This saves clients from having to switch on class types to achieve the same level of run-time type safety. First reset() must be called. Then an instance of this class must be sent as argument to a TcGfxComponent instance accept() method (the object to be grabbed). Objects in World Coordinates must be a TdGfxPfGroup containing a DCSAdapter. Objects in Local Coordinates must be TdGfxPfObject containing a DCSAdapter.
TdGfxPfGrabController()
Default constructor

virtual ~TdGfxPfGrabController()
Destructor.

virtual void visitGfxComponent(TcGfxComponent *c)
Root base class vistor method.

virtual void visitGfxObject(TcGfxObject *o)
Common base class TcGfxObject visit method.

virtual void visitGfxGroup(TcGfxGroup *g)
Common base cass TcGfxGroup method.

void visitGfxPfObject(TdGfxPfObject *o)
TdGfxPfObject visit method.

void visitGfxPfGroup(TdGfxPfGroup *g)
TdGfxPfGroup visit method.

void visitGfxGLObject(TcGfxGLObject *o)
TcGfxGLObject visit method.

void visitGfxGLGroup(TdGfxGLGroup *g)
TdGfxGLGroup visit method.

void reset(const TcUtVector3f& isectLocation)
This method must be called with the intersection point of the grab
Parameters:
isectLocation - the location the object is grabbed from in World coordinates.

void initArrow(TcGfxComponent &navGrp)
This must be called once at instantiation.

void hideArrow()
This is used to hide the grab intersection arrow.

void setIsectLocation(const TcUtVector3f &loc)
This is used to set the position the arrow is to appear.


This class has no child classes.

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de