VR-Forces 4.0.4 Class Documentation
Public Member Functions | Protected Member Functions | Protected Attributes
makVrv::DtInteractionVisualizer Class Reference

Base class for interaction visualizers. More...

Inheritance diagram for makVrv::DtInteractionVisualizer:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtInteractionVisualizer (DtBaseConnection &simulation, DtStateListener &listener, int modelSet)
virtual ~DtInteractionVisualizer ()
virtual void setLocation (const DtVector &)
 Call to scene object to set location. Placement is location + origin.
void setDelayTime (double d)
 Duration of interaction.
double delayTime () const
 Get the duration of the interaction.

Protected Member Functions

virtual void destroyModelAgents ()
 Model agent is only destroyed in destructor.
virtual void setVisualizerDefinition (const DtVisualizerDefinition &visDef)
 Set any other additional visualizer information from the visual record.
virtual void setModelDefinitionForAgents ()
 Sets model definition for all the agents that this visualizer might be using.

Protected Attributes

DtParticleSystemModelAgent * myParticleSystemModel
DtAnimationModelAgent * myAnimationModel
double myLifeTime
double myDelayTime
std::string mySchema

Detailed Description

Base class for interaction visualizers.

This class will create a permanent effect. If you wish the effect to be removed, make sure the delay time is not 0.


Constructor & Destructor Documentation


Member Function Documentation

virtual void makVrv::DtInteractionVisualizer::setLocation ( const DtVector ) [virtual]

Call to scene object to set location. Placement is location + origin.

Duration of interaction.

Get the duration of the interaction.

virtual void makVrv::DtInteractionVisualizer::destroyModelAgents ( ) [protected, virtual]

Model agent is only destroyed in destructor.

Here, it will be hidden (if it has been created)

Reimplemented from makVrv::DtSceneObjectVisualizer.

Set any other additional visualizer information from the visual record.

Reimplemented from makVrv::DtStateVisualizer.

virtual void makVrv::DtInteractionVisualizer::setModelDefinitionForAgents ( ) [protected, virtual]

Sets model definition for all the agents that this visualizer might be using.

If model agents are not created, should create them. Should not call this directly, but rather call setModelDefinition

Reimplemented from makVrv::DtSceneObjectVisualizer.


Member Data Documentation

DtParticleSystemModelAgent* makVrv::DtInteractionVisualizer::myParticleSystemModel [protected]
DtAnimationModelAgent* makVrv::DtInteractionVisualizer::myAnimationModel [protected]

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

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)