VR-Forces 4.0.4 Class Documentation
Public Types | Public Member Functions | Protected Attributes
makVrf::DtEntityFacadeCollection Class Reference
Inheritance diagram for makVrf::DtEntityFacadeCollection:
Inheritance graph
[legend]

List of all members.

Public Types

typedef std::map< int,
makVrv::DtVisualizerSet * > 
ModelSetMap

Public Member Functions

 DtEntityFacadeCollection (makVrv::DtDe &, int modelSet=-1)
virtual ~DtEntityFacadeCollection ()
virtual void visualize (const makVrv::DtUnicode &type, const makVrv::DtSharedModelSetSettings::ModelSetVisualizedMap &sets)
 Pass down to each facade realized:
const ModelSetMapmodelSetMap () const
ModelSetMapmodelSetMap ()
virtual void setOrientation (const DtTaitBryan &orientation)
 Set the orientation of the entity.
virtual void setOrigin (const DtVector &v)
 Set the position of the entity.
virtual void setOrigin (const DtGeodeticCoord &v)
 Pure overrides that must be implemented.
virtual void setOriginAndSeaLevel (const DtVector &v)
 Sets origin and also resets sea level to given altitude in vector.
virtual void setOriginAndSeaLevel (const DtGeodeticCoord &v)
virtual void setForceId (int)
 Sets the force of the entity.
int forceId () const
virtual makVrv::DtBaseConnectionbaseConnection () const
void setHatLineVisible (bool visible)
 Set if the Height Above Terrain (HAT) line is visible.
virtual void setVisible (bool b)
 Set the entity to be visible.
virtual void setPickable (bool b)
 Set the entities to be pickable.
virtual void setSelected (bool b)
 Set the entities to be selected.
virtual void setOverlayName (const std::string &)
 If this object is on an overlay, returns the overlay name.
virtual std::string overlayName () const
 Returns the overlay this object is on. Returns empty string at root level.
virtual void setIndicatorVisible (bool b)
 Set the entities indicator to be visible.
virtual void setUniqueID (makVrv::DtUniqueID)
makVrv::DtUniqueID uniqueID () const
virtual void setWidgetEventsEnabled (bool b)
 Set the entities widget events to be enabled.
virtual void setGroundClamping (bool b)
 Set the entities ground clamping state.
virtual void setSymbolDecorationOffset (double x, double y)
 If there are symbol decorations, set this as the offset.
virtual void setAutoEnableGroundClamping (bool b)
 Set the entities auto enable ground clamping state.
virtual void realizeFacades ()
 Makes state views know about all facades.
virtual void unrealizeFacades ()
 Removes facades from state views.
virtual bool hasProjectedModel (int modelSet) const
 Returns true if this model has a projected model as it's main display for the given model set.
virtual void setElementDefinition (const makVrv::DtUnicode &elementName)
 Set the entity's model definition names.
virtual const makVrv::DtUnicodeelementDefinition () const
 Returns the current element definition.
virtual void setElementDefinition (const DtEntityType &)
 Chooses the best based on aggregate or entity, then, will create facades based on that.
void setSmoothingEnabled (bool enabled)
 Set whether the Entity smooths.
void setMotionModel (const std::string &)
 Set the motion model of the entity.
virtual void setHeadingIndicatorVisible (bool)
 Sets whether or not heading indicator is visible.
virtual void setHeadingIndicatorSize (float l)
 Sets the size of the heading indicator.
virtual DtVector position () const
 Returns visual definition set for specified model set.
virtual makVrv::DtUniqueID uniqueIDForModelSet (int set) const
virtual void setEffectsVisible (bool)
 Sets all effects to be visible/hidden.
virtual void setAltitudeAboveTerrain (double d)
 Sets altitude above terrain, and also resets altitude above sea level.
virtual void setAltitudeAboveSeaLevel (double d)
 Sets altitude above sea level, and also resets altitude above terrain.
template<typename T >
bool hasVisualizer (makVrv::DtVisualizerSet *s) const
 Returns true if has the visualizer.
virtual void setIconScale (float)
 For MilStd icons, set the icon scale.
template<typename T >
void setIconScale (makVrv::DtVisualizerSet *s, float scale)
virtual void setEntityExtents (const DtVector &volume, const DtVector &offset)
 Sets the bounding volume and offset for the entity. Both offset and dimensions are in body coordinates.
virtual bool hasBoundingVolumes () const
 Returns true if this item has bounding volume visualizer.
virtual void setEntityExtentsVisible (bool, int modelSet=-1)
 For MilStd icons, set the icon scale.
template<typename T >
void setEntityExtentsVisible (makVrv::DtVisualizerSet *s, bool b, int modelSet=-1)
template<typename T >
void setScale (makVrv::DtVisualizerSet *s, float scale)
template<typename T >
void setForceColor (makVrv::DtVisualizerSet *s, makVrv::DtForceManager::RGBAColor color)
template<typename T >
void setColor (makVrv::DtVisualizerSet *s, makVrv::DtForceManager::RGBAColor color)
virtual void setDisplayName (const std::string &displayName)
 Sets the name to display on the screen.
virtual void setSymbolDecorationsVisible (bool)
virtual bool isAggregate () const

Protected Attributes

DtEntityType myEntityType
 If this.
makVrv::DtUnicode myElementDefinition
makVrv::DtBaseConnectionmyConnection
DtExtAggregateStateListener myListener
 Aggregate is also an entity state listener, so, it can be used.
ModelSetMap myModelSetMap
std::string myOverlay
bool myIsAggregate

Member Typedef Documentation


Constructor & Destructor Documentation


Member Function Documentation

Pass down to each facade realized:

Visualize the element. The type is the type of shape object to visualize (for example, Line)

virtual void makVrf::DtEntityFacadeCollection::setOrientation ( const DtTaitBryan &  orientation) [virtual]

Set the orientation of the entity.

Implements makVrf::DtVrfObjectFacadeInterface.

virtual void makVrf::DtEntityFacadeCollection::setOrigin ( const DtVector v) [virtual]

Set the position of the entity.

Reimplemented from makVrf::DtVrfObjectFacadeInterface.

virtual void makVrf::DtEntityFacadeCollection::setOrigin ( const DtGeodeticCoord &  ) [virtual]

Pure overrides that must be implemented.

Reimplemented from makVrf::DtVrfObjectFacadeInterface.

Sets origin and also resets sea level to given altitude in vector.

virtual void makVrf::DtEntityFacadeCollection::setOriginAndSeaLevel ( const DtGeodeticCoord &  v) [virtual]
virtual void makVrf::DtEntityFacadeCollection::setForceId ( int  ) [virtual]

Sets the force of the entity.

Set if the Height Above Terrain (HAT) line is visible.

Implements makVrf::DtVrfObjectFacadeInterface.

virtual void makVrf::DtEntityFacadeCollection::setVisible ( bool  b) [virtual]

Set the entity to be visible.

Reimplemented from makVrf::DtVrfObjectFacadeInterface.

virtual void makVrf::DtEntityFacadeCollection::setPickable ( bool  b) [virtual]

Set the entities to be pickable.

Implements makVrf::DtVrfObjectFacadeInterface.

virtual void makVrf::DtEntityFacadeCollection::setSelected ( bool  b) [virtual]

Set the entities to be selected.

Reimplemented from makVrf::DtVrfObjectFacadeInterface.

virtual void makVrf::DtEntityFacadeCollection::setOverlayName ( const std::string &  ) [virtual]

If this object is on an overlay, returns the overlay name.

virtual std::string makVrf::DtEntityFacadeCollection::overlayName ( ) const [virtual]

Returns the overlay this object is on. Returns empty string at root level.

Reimplemented from makVrf::DtVrfObjectFacadeInterface.

Set the entities indicator to be visible.

Implements makVrf::DtVrfObjectFacadeInterface.

Set the entities widget events to be enabled.

Implements makVrf::DtVrfObjectFacadeInterface.

Set the entities ground clamping state.

virtual void makVrf::DtEntityFacadeCollection::setSymbolDecorationOffset ( double  x,
double  y 
) [virtual]

If there are symbol decorations, set this as the offset.

Set the entities auto enable ground clamping state.

Makes state views know about all facades.

Implements makVrf::DtVrfObjectFacadeInterface.

Removes facades from state views.

Implements makVrf::DtVrfObjectFacadeInterface.

virtual bool makVrf::DtEntityFacadeCollection::hasProjectedModel ( int  modelSet) const [virtual]

Returns true if this model has a projected model as it's main display for the given model set.

virtual void makVrf::DtEntityFacadeCollection::setElementDefinition ( const makVrv::DtUnicode elementName) [virtual]

Set the entity's model definition names.

Exceptions:
DtCorruptedStateif the articulated model driver can't be created. Defaults to entity facade if not set

Returns the current element definition.

virtual void makVrf::DtEntityFacadeCollection::setElementDefinition ( const DtEntityType &  ) [virtual]

Chooses the best based on aggregate or entity, then, will create facades based on that.

Set whether the Entity smooths.

void makVrf::DtEntityFacadeCollection::setMotionModel ( const std::string &  )

Set the motion model of the entity.

Sets whether or not heading indicator is visible.

virtual void makVrf::DtEntityFacadeCollection::setHeadingIndicatorSize ( float  l) [virtual]

Sets the size of the heading indicator.

Returns visual definition set for specified model set.

Position as stored in the listener

Sets all effects to be visible/hidden.

virtual void makVrf::DtEntityFacadeCollection::setAltitudeAboveTerrain ( double  d) [virtual]

Sets altitude above terrain, and also resets altitude above sea level.

Subclassed from base to reset location in listener

Reimplemented from makVrf::DtVrfObjectFacadeInterface.

virtual void makVrf::DtEntityFacadeCollection::setAltitudeAboveSeaLevel ( double  d) [virtual]

Sets altitude above sea level, and also resets altitude above terrain.

Subclassed from base to reset location in listener

Reimplemented from makVrf::DtVrfObjectFacadeInterface.

template<typename T >
bool makVrf::DtEntityFacadeCollection::hasVisualizer ( makVrv::DtVisualizerSet s) const [inline]

Returns true if has the visualizer.

References makVrv::DtVisualizerSet::findVisualizersByDynamicCast().

virtual void makVrf::DtEntityFacadeCollection::setIconScale ( float  ) [virtual]

For MilStd icons, set the icon scale.

template<typename T >
void makVrf::DtEntityFacadeCollection::setIconScale ( makVrv::DtVisualizerSet s,
float  scale 
) [inline]
virtual void makVrf::DtEntityFacadeCollection::setEntityExtents ( const DtVector volume,
const DtVector offset 
) [virtual]

Sets the bounding volume and offset for the entity. Both offset and dimensions are in body coordinates.

Returns true if this item has bounding volume visualizer.

virtual void makVrf::DtEntityFacadeCollection::setEntityExtentsVisible ( bool  ,
int  modelSet = -1 
) [virtual]

For MilStd icons, set the icon scale.

template<typename T >
void makVrf::DtEntityFacadeCollection::setEntityExtentsVisible ( makVrv::DtVisualizerSet s,
bool  b,
int  modelSet = -1 
) [inline]
template<typename T >
void makVrf::DtEntityFacadeCollection::setScale ( makVrv::DtVisualizerSet s,
float  scale 
) [inline]
virtual void makVrf::DtEntityFacadeCollection::setDisplayName ( const std::string &  displayName) [virtual]

Sets the name to display on the screen.

Reimplemented from makVrf::DtVrfObjectFacadeInterface.

virtual bool makVrf::DtEntityFacadeCollection::isAggregate ( ) const [inline, virtual]

Member Data Documentation

If this.

Facades by model set

Aggregate is also an entity state listener, so, it can be used.


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)