class CAVERN_builder_InteractionManager : public TcInteractionManager, public CAVERN_builder_GeometryTransferEvent Handler, public CAVERN_builder_NetModelUpdateEvent Handler, public CAVERN_builder_RemoveSharedModelEvent Handler

Class CAVERN_builder_Loader

Inheritance:


Public Methods

CAVERN_builder_InteractionManager(CAVERN_builder_NetManager &, TcGfxManager &, TcAudioPlayer &audioPlayer, const CAVERN_builder_ClientProfile &profile)
Constructor.
virtual ~CAVERN_builder_InteractionManager()
Destructor.
virtual void doTdInteractions()
This method implements the base class pure virtual method
void initIsectTests(TcGfxManager &gfxM)
This method is used to initialize a set of intersection tests
virtual int handleAction(const CAVERN_builder_GeometryTransferEvent& action)
This class is an action handler for GeometryTransferEvents.
virtual int handleAction(const CAVERN_builder_NetModelUpdateEvent& action)
This class is an action handler for NetModelUpdateEvents.
virtual int handleAction(const CAVERN_builder_RemoveSharedModelEvent& action)
This class is an action handler for RemoveSharedModelEvents.
void sendSharedModelUpdate(TcGfxComponent *)
This method packages the necessary data to send the transformation matrix

Protected Methods

void updateModelInteractions()
This method takes care of interactions pertaining to models.

Inherited from CAVERN_builder_GeometryTransferEvent:

Public Classes

enum ShareType
enum CompAtts

Public Methods

const TcUtString& getClientId() const
const TcUtString& getModelName() const
const TcUtString& getFileName() const
const TcUtVector3f& getOrientation() const
const TcUtVector3f& getTranslation() const
const TcUtVector3f& getScale() const
const float* getMatrix() const
const ShareType& getShareType() const
const CompAtts& getCompAtts() const
const bool& getCollision() const
void setClientId(const TcUtString& value)
void setModelName(const TcUtString &)
void setFileName(const TcUtString &)
void setTranslation(const TcUtVector3f &val)
void setOrientation(const TcUtVector3f &val)
void setScale(const TcUtVector3f &val)
void setShareType(const ShareType &val)
void setCompAtts(const CompAtts &val)
void setCollision(const bool &val)
void setCavLink(CAVERN_irbLink_c &link)
virtual int sendToCavernKey(CAVERN_irbKey_c &key)
virtual int getFromCavernKey(CAVERN_irbKey_c &key)
int getHeaderFromKey(CAVERN_irbKey_c &key)

Inherited from CAVERN_builder_NetModelUpdateEvent:

Public Methods

const TcUtString& getGrpId() const

Inherited from CAVERN_builder_RemoveSharedModelEvent:

Public Methods

const TcUtString& getModelId() const
void setModelId(const TcUtString& value)

Documentation

Class CAVERN_builder_Loader. This class forms the heart of interaction within a Tandem application. By implementation the doTdInteractions the builder can perform whatever interactions are required for a given iteration. This class also has access to the TcGfxManager as well as the TcAudioPlayer and TcNetworkManager.
CAVERN_builder_InteractionManager(CAVERN_builder_NetManager &, TcGfxManager &, TcAudioPlayer &audioPlayer, const CAVERN_builder_ClientProfile &profile)
Constructor.

virtual ~CAVERN_builder_InteractionManager()
Destructor.

virtual void doTdInteractions()
This method implements the base class pure virtual method. It is called once per iteration by the Tandem execution control loop after the scene (draw update and intersections) and the core interactions (trackers and input devices).

void initIsectTests(TcGfxManager &gfxM)
This method is used to initialize a set of intersection tests. They are sent to the TcIntersectionManager for who is responsible for their update and maintenance.

virtual int handleAction(const CAVERN_builder_GeometryTransferEvent& action)
This class is an action handler for GeometryTransferEvents.

virtual int handleAction(const CAVERN_builder_NetModelUpdateEvent& action)
This class is an action handler for NetModelUpdateEvents.

virtual int handleAction(const CAVERN_builder_RemoveSharedModelEvent& action)
This class is an action handler for RemoveSharedModelEvents.

void sendSharedModelUpdate(TcGfxComponent *)
This method packages the necessary data to send the transformation matrix

void updateModelInteractions()
This method takes care of interactions pertaining to models.


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