class CAVERN_builder_ThrowController : public TcGfxVisitor

Throw controller class

Inheritance:


Public Methods

CAVERN_builder_ThrowController()
Default constructor
virtual ~CAVERN_builder_ThrowController()
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()
Called when an object is first grabbed.
TcUtVector3f getCurPos(pfDCS *)
Return the translation compononent of a pfDCS.
const bool& inFlight()
Return the state of a flying object.
void throwObject(TcGfxComponent *object)
Initiate flight using last calculation of instantaneous velocity.

Documentation

Throw controller class. This is a development interaction class. A user can grab an object, transform it in a virtual environment and then throw it. A calculation of the velocity vector is performed from tracker data. This can only be done on TcGfxComponent classes containing a TdGfxPfDCSAdapter classes. Error messages can be 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.
CAVERN_builder_ThrowController()
Default constructor

virtual ~CAVERN_builder_ThrowController()
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()
Called when an object is first grabbed.

TcUtVector3f getCurPos(pfDCS *)
Return the translation compononent of a pfDCS.

const bool& inFlight()
Return the state of a flying object.

void throwObject(TcGfxComponent *object)
Initiate flight using last calculation of instantaneous velocity.


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