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

A point kin state visualizer for visualizing an object with a location and a relative offset. More...

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

List of all members.

Public Member Functions

 DtEnvironmentalPointKinStateVisualizer (DtBaseConnection &simulation, DtStateListener &listener, int modelSet)
 CTOR.
virtual ~DtEnvironmentalPointKinStateVisualizer ()
 DTOR.
virtual void setOriginAndOffset (const DtVector &origin, const DtVector &offset)
 Call to scene object to set location. Placement is offset + origin.
const DtVectoroffset () const
 Gets the offset of the point.
const DtVectororigin () const
 Gets the origin of the point.
virtual void setVisualizerDefinition (const DtVisualizerDefinition &visDef)
 process the visual definition record
virtual DtTaitBryan level ()
 Only the derived VRLink equivalent of this class can calculate this correctly for anything other than a projected database.
DtEnvironmentalStateListenerenvironmentalStateListener ()
DtGroundClampingUpdaterAgent * updaterAgent ()
virtual const
DtStateVisualizer::TypeInfo
typeInfo () const
 The instance's type info.

Static Public Member Functions

static const
DtStateVisualizer::TypeInfo
theTypeInfo ()
 This class's type info.

Protected Member Functions

virtual void createModelAgents ()
 Creates the model agent. If already created, makes it visible.
virtual void destroyModelAgents ()
 Model agent is only destroyed in destructor.
virtual void setModelDefinitionForAgents ()
 Sets model definition for all the agents that this visualizer might be using.
virtual void resetSpatial ()
virtual void initializeObjectAgent ()
 Initialize the object agent to the correct state (e.g. visibility)

Protected Attributes

DtModelAgent * myModelAgent
DtGroundClampingUpdaterAgent * myUpdater
DtVector myOrigin
DtVector myOffset
bool myAffectsBounds
DtEnvironmentalStateListenermyEnvironmentalListener

Detailed Description

A point kin state visualizer for visualizing an object with a location and a relative offset.


Constructor & Destructor Documentation

CTOR.

DTOR.


Member Function Documentation

virtual void makVrv::DtEnvironmentalPointKinStateVisualizer::setOriginAndOffset ( const DtVector origin,
const DtVector offset 
) [virtual]

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

Gets the offset of the point.

The origin + offset is the actual location

Gets the origin of the point.

process the visual definition record

Reimplemented from makVrv::DtStateVisualizer.

virtual DtTaitBryan makVrv::DtEnvironmentalPointKinStateVisualizer::level ( ) [virtual]

Only the derived VRLink equivalent of this class can calculate this correctly for anything other than a projected database.

Reimplemented in makVrv::DT_PROTOCOL_NAMESPACE::DtVrlinkEnvironmentalPointKinStateVisualizer, and makVrf::DtVrfGuiEnvironmentalPointKinStateVisualizer.

DtGroundClampingUpdaterAgent* makVrv::DtEnvironmentalPointKinStateVisualizer::updaterAgent ( ) [inline]

The instance's type info.

Implements makVrv::DtStateVisualizer.

This class's type info.

Creates the model agent. If already created, makes it visible.

Reimplemented from makVrv::DtSceneObjectVisualizer.

Model agent is only destroyed in destructor.

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

Reimplemented from makVrv::DtSceneObjectVisualizer.

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.

virtual void makVrv::DtEnvironmentalPointKinStateVisualizer::resetSpatial ( ) [protected, virtual]

Initialize the object agent to the correct state (e.g. visibility)

Reimplemented from makVrv::DtSceneObjectVisualizer.


Member Data Documentation

DtGroundClampingUpdaterAgent* makVrv::DtEnvironmentalPointKinStateVisualizer::myUpdater [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)