VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Types | Public Member Functions | Protected Types | Protected Attributes
makVrf::DtEntityFacadeCollection Class Reference
Inheritance diagram for makVrf::DtEntityFacadeCollection:
Inheritance graph
[legend]

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 bool isVisualized () const
virtual void setupNodeMaskFlags () const
 Set flags to make temp objects not pickable or support nodes.
virtual void setSetupNodeMaskFlags (bool)
 After visualization, set up node mask flags. Default is false.
virtual std::map< int,
std::vector< int > > 
modelStates (int modelSet) const
 If this is an articulated model, return the states for this model and their enabled status.
virtual void setModelState (int modelSet, int, int)
 Sets the particular state on/off.
virtual void setTopographicOrientation (const DtTaitBryan &orientation)
 Set the orientation of the entity. Assumes topographic orientation.
virtual void setLocalOrientation (const DtTaitBryan &orientation)
 Set the orientation of the entity. Assumes local orientation.
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 setDropShadow (bool b)
virtual void setLocationOffsetFromPrincipal (const DtGeodeticCoord &offset, bool resetLocation=true)
virtual void setAltitudeOffsetFromPrincipal (double offset, bool resetLocation=true)
virtual void setForceId (int)
 Sets the force of the entity.
int forceId () const
virtual bool hasForceChange () const
virtual double initialAltitudeAboveTerrain () const
 Initial altitude above terrain to show model.
virtual makVrv::DtBaseConnectionbaseConnection () const
void setHatLineVisible (bool visible)
 Set if the Height Above Terrain (HAT) line is visible.
void setTrackHistoryVisible (bool visible)
 Set if the track history line is visible.
virtual void setVisible (bool b)
 Set the entity to be visible.
virtual void setVisible (bool, int context)
virtual bool isVisible () const
virtual void setUseHighestTerrainLod (bool)
 Whether or not to use highest terrain lod when showing HAT lines and labels. Default is false.
virtual void setPickable (bool b)
 Set the entities to be pickable.
virtual void setSelected (bool b)
 Set the entities to be selected.
virtual void setLabel (const std::string &label)
 Object label.
virtual std::string label () const
virtual bool hasLabelChange () const
virtual void setExtendedLabels (const std::map< int, DtString > &labels)
 Extended Object labels.
virtual std::map< int, DtStringextendedLabels () const
virtual bool hasExtendedLabelsChange () const
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 Dt3dBoundingVolume boundingVolume (int modelSet=0) const
 Returns 3D bounding volume of 3D model.
virtual void calculateSupportPoints (int modelSet, DtVector &left, DtVector &right, DtVector &other) const
 Calculates support points for model.
virtual void setAttachedTo (DtVrfObjectFacadeInterface *, const DtVector &offset, const DtTaitBryan &)
 Embark on this object. The offset is in body coordinates.
virtual void detach ()
virtual void setUniqueID (makVrv::DtUniqueID)
virtual makVrv::DtUniqueID uniqueID () const
virtual std::vector
< makVrv::DtUniqueID
modelUniqueIDs () 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 bool isDiGuy () const
 Returns true if is a DI-Guy model.
virtual DtVector position () const
 Position as stored in the listener.
virtual makVrv::DtUniqueID uniqueIDForModelSet (int set) const
virtual void setEffectsVisible (bool)
 Sets all effects to be visible/hidden.
virtual bool shouldEnableTrailEffects () const
 Returns true if there is a trail effect with a model definition (for example, chaff)
virtual void enableTrailEffect (bool)
 Enables trailing effect (or disables) by showing and setting velocity.
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 setExtendedData (const std::map< std::string, std::string > &)
 For subclasses to implement...
virtual std::map< std::string,
std::string > 
extendedData () const
virtual void destroySchema (const makVrv::DtVisualizerSchema &)
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 std::string diGuyCharacter () const
 If this is a DI-Guy model, find the character.
virtual std::string diGuyAppearance () const
 If this is a DI-Guy model, find the appearance.
virtual std::string diGuyHandItem () const
 If this is a DI-Guy model, find the hand item.
virtual void setAppearance (int)
 Will set the appearance of the object only if it has an articulated model visualizer.
virtual void setLifeFormState (unsigned int, bool paused=false)
virtual void setCharacterWeaponAiming (bool aiming)
virtual void setEnableAnimationSmoothing (bool)
virtual void setCharacterAction (const std::string &animation, bool paused=false)
virtual void setCharacterModel (const std::string &animation)
virtual void setCharacterAlive (bool)
virtual std::string characterModel () const
virtual void setCharacterAppearance (const std::string &animation)
virtual void setCharacterHandItem (const std::string &animation)
virtual void setDisplayName (const std::string &displayName)
 Sets the name to display on the screen.
virtual void setSymbolNameVisible (bool)
 Sets symbol name visible. Symbol decorations must also be visible.
virtual void setSymbolDecorationsVisible (bool)
virtual bool isAggregate () const
- Public Member Functions inherited from makVrf::DtVrfObjectFacadeInterface
 DtVrfObjectFacadeInterface (makVrv::DtDe &de, int modelSet=-1)
virtual ~DtVrfObjectFacadeInterface ()
virtual const std::string & entityId () const
virtual void setEntityId (const std::string &i)
virtual const DtGeodeticCoord & locationOffsetFromPrincipal () const
virtual double headingOffsetFromPrincipal () const
virtual void setHeadingOffsetFromPrincipal (double offset)
virtual const DtEntityType & entityType () const
virtual Dt3dBoundingVolume boundingVolume () const
virtual double altitudeOffsetFromPrincipal () const
virtual std::vector
< makVrv::DtUniqueID
idsToIgnore () const
 All the IDs to ignore (TG plus any represented by this object) when clamping to ground.
virtual makVrv::DtUniqueID sceneObjectId () const
virtual void setSceneObjectId (const makVrv::DtUniqueID &id)
virtual std::string displayName () const
virtual void setUUID (const DtUUID &)
virtual const DtUUIDuuid () const
virtual DtGeodeticCoord currentGeodeticOrigin () const
virtual DtGeodeticCoord currentGeodeticPosition () const
 Includes location offset from principal.
virtual DtGeodeticCoord convertToGeodetic (const DtVector &v) const
virtual double currentHeading () const
virtual void setCurrentHeading (double currentHeading)
virtual void setHeadingChanged (bool b)
virtual bool attachedTo () const
virtual double currentAltitude () const
 Altitude above sea level.
virtual DtVector centerOfMass () const
 Returns the center of mass (geocentric) of this object.
virtual DtVector geocentricLocation () const
virtual DtVector localLocation () const
virtual DtVector localLocation (const DtGeodeticCoord &geodLocation) const
virtual DtVector reviseLocation (const DtVector &loc) const
virtual DtTaitBryan localOrientation () const
 return local 'cig' eulers given current heading
virtual void mergeExtendedData (const std::map< std::string, std::string > &)
virtual bool hasNameChange () const
virtual void clearLocationChange ()
virtual bool hasLocationChange () const
virtual bool hasAltitudeChange () const
virtual bool hasHeadingChange () const
virtual void clearFlags ()
virtual void setAltitudeClampType (DtAltitudeClampType t)
virtual DtAltitudeClampType altitudeClampType () const
virtual double altitudeAboveTerrain () const
virtual double altitudeAboveSeaLevel () const
virtual void setIsAnchor (bool)
virtual bool isAnchor () const
virtual void setUserData (const std::string &userData)
virtual std::string userData () const
bool userDataChanged () const
int modelSet () const
bool supportsModelSet (int i) const
virtual
makVrv::DtIntersector::IntersectProperties 
intersectorPickMask () const
virtual DtVector clampToGround (const DtVector &localPosition, makVrv::DtIntersector::IntersectProperties props=makVrv::DtIntersector::SupportNodes) const
virtual DtGeodeticCoord clampToGround (const DtGeodeticCoord &localPosition, makVrv::DtIntersector::IntersectProperties props=makVrv::DtIntersector::SupportNodes) const
virtual void setEmbarkationAllowed (bool)
bool embarkationAllowed () const
virtual void setClampToClosestPolygon (bool b)
bool clampToClosestPolygon () const

Protected Types

typedef std::map< int,
std::map< int, int > > 
ActivatedStates

Protected Attributes

makVrv::DtUnicode myElementDefinition
 If this.
bool mySetupNodeMaskFlags
makVrv::DtBaseConnectionmyConnection
DtExtAggregateStateListener myListener
 Aggregate is also an entity state listener, so, it can be used.
ModelSetMap myModelSetMap
std::string myOverlay
bool myIsAggregate
bool myHasLabelChange
bool myHasExtendedLabelsChange
bool myForceChanged
int myForceId
int myAppearance
std::string myDiGuyAppearance
std::string myDiGuyHandItem
std::string myCharacterAction
std::string myCharacterModel
bool myCharacterPaused
bool myIsDiGuy
bool myOriginSet
bool myNeedsRealization
bool myIndicatorVisible
bool myHatLinesVisible
bool myEnableAnimationSmoothing
bool myUseHighestTerrainLOD
ActivatedStates myActivatedStates
DtBoundingVolumeSupportPointCalculatormyBVSPCalculator
- Protected Attributes inherited from makVrf::DtVrfObjectFacadeInterface
makVrv::DtDemyDe
makVrv::DtUniqueID mySceneObjectId
std::string myDisplayName
std::string myEntityId
DtGeodeticCoord myLocationOffsetFromPrincipal
double myHeadingOffsetFromPrincipal
 geodetic coords
double myAltitudeOffsetFromPrincipal
DtGeodeticCoord myCurrentGroundLocation
double myCurrentHeading
 geodetic coords
bool myDisplayNameChanged
bool myLocationChanged
bool myAltitudeChanged
bool myHeadingChanged
bool myUserDataChanged
DtAltitudeClampType myAltitudeClampType
double myAltitudeAboveSL
double myAltitudeAboveGL
bool myAnchor
std::string myUserData
bool myVisible
int myModelSetOnly
DtEntityType myEntityType
bool myClampToClosestPolygon
DtUUID myUUID
bool myEmbarkationAllowed
DtVrfObjectFacadeInterfacemyAttachedTo
DtVector myAttachPoint
DtTaitBryan myAttachOrientation

Additional Inherited Members

- Public Attributes inherited from makVrf::DtVrfObjectFacadeInterface
boost::signal< void(DtVrfObjectFacadeInterface *)> signal_visualized
- Protected Member Functions inherited from makVrf::DtVrfObjectFacadeInterface
virtual void setCurrentGroundLocation (const DtGeodeticCoord &currentGroundLocation)

Member Typedef Documentation

typedef std::map<int, std::map<int, int> > makVrf::DtEntityFacadeCollection::ActivatedStates
protected

Constructor & Destructor Documentation

makVrf::DtEntityFacadeCollection::DtEntityFacadeCollection ( makVrv::DtDe ,
int  modelSet = -1 
)
virtual makVrf::DtEntityFacadeCollection::~DtEntityFacadeCollection ( )
virtual

Member Function Documentation

virtual void makVrf::DtEntityFacadeCollection::visualize ( const makVrv::DtUnicode type,
const makVrv::DtSharedModelSetSettings::ModelSetVisualizedMap sets 
)
virtual

Pass down to each facade realized:

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

const ModelSetMap& makVrf::DtEntityFacadeCollection::modelSetMap ( ) const
inline
ModelSetMap& makVrf::DtEntityFacadeCollection::modelSetMap ( )
inline
virtual bool makVrf::DtEntityFacadeCollection::isVisualized ( ) const
virtual
virtual void makVrf::DtEntityFacadeCollection::setupNodeMaskFlags ( ) const
virtual

Set flags to make temp objects not pickable or support nodes.

virtual void makVrf::DtEntityFacadeCollection::setSetupNodeMaskFlags ( bool  )
virtual

After visualization, set up node mask flags. Default is false.

virtual std::map<int, std::vector<int> > makVrf::DtEntityFacadeCollection::modelStates ( int  modelSet) const
virtual

If this is an articulated model, return the states for this model and their enabled status.

See DtModelSemanticsMapper.h for the supported states. The map is a map by state, but state set value (0 -> n) and whether or not that state is on or off. State 0 is not included. State starts at state 1

virtual void makVrf::DtEntityFacadeCollection::setModelState ( int  modelSet,
int  ,
int   
)
virtual

Sets the particular state on/off.

See DtModelSemanticsMapper.h for state. State will only be toggles if it exists

virtual void makVrf::DtEntityFacadeCollection::setTopographicOrientation ( const DtTaitBryan &  orientation)
virtual

Set the orientation of the entity. Assumes topographic orientation.

Implements makVrf::DtVrfObjectFacadeInterface.

virtual void makVrf::DtEntityFacadeCollection::setLocalOrientation ( const DtTaitBryan &  orientation)
virtual

Set the orientation of the entity. Assumes local orientation.

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.

virtual void makVrf::DtEntityFacadeCollection::setOriginAndSeaLevel ( const DtVector v)
virtual

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::setDropShadow ( bool  b)
virtual
virtual void makVrf::DtEntityFacadeCollection::setLocationOffsetFromPrincipal ( const DtGeodeticCoord &  offset,
bool  resetLocation = true 
)
virtual
virtual void makVrf::DtEntityFacadeCollection::setAltitudeOffsetFromPrincipal ( double  offset,
bool  resetLocation = true 
)
virtual
virtual void makVrf::DtEntityFacadeCollection::setForceId ( int  )
virtual

Sets the force of the entity.

int makVrf::DtEntityFacadeCollection::forceId ( ) const
virtual bool makVrf::DtEntityFacadeCollection::hasForceChange ( ) const
virtual
virtual double makVrf::DtEntityFacadeCollection::initialAltitudeAboveTerrain ( ) const
virtual

Initial altitude above terrain to show model.

Reimplemented from makVrf::DtVrfObjectFacadeInterface.

virtual makVrv::DtBaseConnection& makVrf::DtEntityFacadeCollection::baseConnection ( ) const
virtual
void makVrf::DtEntityFacadeCollection::setHatLineVisible ( bool  visible)
virtual

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

Implements makVrf::DtVrfObjectFacadeInterface.

void makVrf::DtEntityFacadeCollection::setTrackHistoryVisible ( bool  visible)

Set if the track history line is visible.

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

Set the entity to be visible.

Reimplemented from makVrf::DtVrfObjectFacadeInterface.

virtual void makVrf::DtEntityFacadeCollection::setVisible ( bool  ,
int  context 
)
virtual
virtual bool makVrf::DtEntityFacadeCollection::isVisible ( ) const
virtual
virtual void makVrf::DtEntityFacadeCollection::setUseHighestTerrainLod ( bool  )
virtual

Whether or not to use highest terrain lod when showing HAT lines and labels. Default is false.

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::setLabel ( const std::string &  label)
virtual

Object label.

virtual std::string makVrf::DtEntityFacadeCollection::label ( ) const
virtual
virtual bool makVrf::DtEntityFacadeCollection::hasLabelChange ( ) const
virtual
virtual void makVrf::DtEntityFacadeCollection::setExtendedLabels ( const std::map< int, DtString > &  labels)
virtual

Extended Object labels.

virtual std::map<int, DtString> makVrf::DtEntityFacadeCollection::extendedLabels ( ) const
virtual
virtual bool makVrf::DtEntityFacadeCollection::hasExtendedLabelsChange ( ) const
virtual
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.

virtual void makVrf::DtEntityFacadeCollection::setIndicatorVisible ( bool  b)
virtual

Set the entities indicator to be visible.

Implements makVrf::DtVrfObjectFacadeInterface.

virtual Dt3dBoundingVolume makVrf::DtEntityFacadeCollection::boundingVolume ( int  modelSet = 0) const
virtual

Returns 3D bounding volume of 3D model.

virtual void makVrf::DtEntityFacadeCollection::calculateSupportPoints ( int  modelSet,
DtVector left,
DtVector right,
DtVector other 
) const
virtual

Calculates support points for model.

virtual void makVrf::DtEntityFacadeCollection::setAttachedTo ( DtVrfObjectFacadeInterface ,
const DtVector offset,
const DtTaitBryan &   
)
virtual

Embark on this object. The offset is in body coordinates.

Reimplemented from makVrf::DtVrfObjectFacadeInterface.

virtual void makVrf::DtEntityFacadeCollection::detach ( )
virtual
virtual void makVrf::DtEntityFacadeCollection::setUniqueID ( makVrv::DtUniqueID  )
virtual
virtual makVrv::DtUniqueID makVrf::DtEntityFacadeCollection::uniqueID ( ) const
virtual
virtual std::vector<makVrv::DtUniqueID> makVrf::DtEntityFacadeCollection::modelUniqueIDs ( ) const
virtual
virtual void makVrf::DtEntityFacadeCollection::setWidgetEventsEnabled ( bool  b)
virtual

Set the entities widget events to be enabled.

Implements makVrf::DtVrfObjectFacadeInterface.

virtual void makVrf::DtEntityFacadeCollection::setGroundClamping ( bool  b)
virtual

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.

virtual void makVrf::DtEntityFacadeCollection::setAutoEnableGroundClamping ( bool  b)
virtual

Set the entities auto enable ground clamping state.

virtual void makVrf::DtEntityFacadeCollection::realizeFacades ( )
virtual

Makes state views know about all facades.

Implements makVrf::DtVrfObjectFacadeInterface.

virtual void makVrf::DtEntityFacadeCollection::unrealizeFacades ( )
virtual

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
virtual const makVrv::DtUnicode& makVrf::DtEntityFacadeCollection::elementDefinition ( ) const
virtual

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.

void makVrf::DtEntityFacadeCollection::setSmoothingEnabled ( bool  enabled)

Set whether the Entity smooths.

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

Set the motion model of the entity.

virtual void makVrf::DtEntityFacadeCollection::setHeadingIndicatorVisible ( bool  )
virtual

Sets whether or not heading indicator is visible.

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

Sets the size of the heading indicator.

virtual bool makVrf::DtEntityFacadeCollection::isDiGuy ( ) const
inlinevirtual

Returns true if is a DI-Guy model.

virtual DtVector makVrf::DtEntityFacadeCollection::position ( ) const
virtual

Position as stored in the listener.

virtual makVrv::DtUniqueID makVrf::DtEntityFacadeCollection::uniqueIDForModelSet ( int  set) const
virtual
virtual void makVrf::DtEntityFacadeCollection::setEffectsVisible ( bool  )
virtual

Sets all effects to be visible/hidden.

virtual bool makVrf::DtEntityFacadeCollection::shouldEnableTrailEffects ( ) const
virtual

Returns true if there is a trail effect with a model definition (for example, chaff)

virtual void makVrf::DtEntityFacadeCollection::enableTrailEffect ( bool  )
virtual

Enables trailing effect (or disables) by showing and setting velocity.

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::setExtendedData ( const std::map< std::string, std::string > &  )
virtual

For subclasses to implement...

Reimplemented from makVrf::DtVrfObjectFacadeInterface.

virtual std::map<std::string, std::string> makVrf::DtEntityFacadeCollection::extendedData ( ) const
virtual
virtual void makVrf::DtEntityFacadeCollection::destroySchema ( const makVrv::DtVisualizerSchema )
virtual
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.

virtual bool makVrf::DtEntityFacadeCollection::hasBoundingVolumes ( ) const
virtual

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
template<typename T >
void makVrf::DtEntityFacadeCollection::setForceColor ( makVrv::DtVisualizerSet s,
makVrv::DtForceManager::RGBAColor  color 
)
inline
template<typename T >
void makVrf::DtEntityFacadeCollection::setColor ( makVrv::DtVisualizerSet s,
makVrv::DtForceManager::RGBAColor  color 
)
inline
virtual std::string makVrf::DtEntityFacadeCollection::diGuyCharacter ( ) const
virtual

If this is a DI-Guy model, find the character.

virtual std::string makVrf::DtEntityFacadeCollection::diGuyAppearance ( ) const
virtual

If this is a DI-Guy model, find the appearance.

virtual std::string makVrf::DtEntityFacadeCollection::diGuyHandItem ( ) const
virtual

If this is a DI-Guy model, find the hand item.

virtual void makVrf::DtEntityFacadeCollection::setAppearance ( int  )
virtual

Will set the appearance of the object only if it has an articulated model visualizer.

virtual void makVrf::DtEntityFacadeCollection::setLifeFormState ( unsigned  int,
bool  paused = false 
)
virtual
virtual void makVrf::DtEntityFacadeCollection::setCharacterWeaponAiming ( bool  aiming)
virtual
virtual void makVrf::DtEntityFacadeCollection::setEnableAnimationSmoothing ( bool  )
virtual
virtual void makVrf::DtEntityFacadeCollection::setCharacterAction ( const std::string &  animation,
bool  paused = false 
)
virtual
virtual void makVrf::DtEntityFacadeCollection::setCharacterModel ( const std::string &  animation)
virtual
virtual void makVrf::DtEntityFacadeCollection::setCharacterAlive ( bool  )
virtual
virtual std::string makVrf::DtEntityFacadeCollection::characterModel ( ) const
virtual
virtual void makVrf::DtEntityFacadeCollection::setCharacterAppearance ( const std::string &  animation)
virtual
virtual void makVrf::DtEntityFacadeCollection::setCharacterHandItem ( const std::string &  animation)
virtual
virtual void makVrf::DtEntityFacadeCollection::setDisplayName ( const std::string &  displayName)
virtual

Sets the name to display on the screen.

Reimplemented from makVrf::DtVrfObjectFacadeInterface.

virtual void makVrf::DtEntityFacadeCollection::setSymbolNameVisible ( bool  )
virtual

Sets symbol name visible. Symbol decorations must also be visible.

Implements makVrf::DtVrfObjectFacadeInterface.

virtual void makVrf::DtEntityFacadeCollection::setSymbolDecorationsVisible ( bool  )
virtual
virtual bool makVrf::DtEntityFacadeCollection::isAggregate ( ) const
inlinevirtual

Member Data Documentation

makVrv::DtUnicode makVrf::DtEntityFacadeCollection::myElementDefinition
protected

If this.

Facades by model set

bool makVrf::DtEntityFacadeCollection::mySetupNodeMaskFlags
protected
makVrv::DtBaseConnection* makVrf::DtEntityFacadeCollection::myConnection
protected
DtExtAggregateStateListener makVrf::DtEntityFacadeCollection::myListener
protected

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

ModelSetMap makVrf::DtEntityFacadeCollection::myModelSetMap
protected
std::string makVrf::DtEntityFacadeCollection::myOverlay
protected
bool makVrf::DtEntityFacadeCollection::myIsAggregate
protected
bool makVrf::DtEntityFacadeCollection::myHasLabelChange
protected
bool makVrf::DtEntityFacadeCollection::myHasExtendedLabelsChange
protected
bool makVrf::DtEntityFacadeCollection::myForceChanged
protected
int makVrf::DtEntityFacadeCollection::myForceId
protected
int makVrf::DtEntityFacadeCollection::myAppearance
protected
std::string makVrf::DtEntityFacadeCollection::myDiGuyAppearance
protected
std::string makVrf::DtEntityFacadeCollection::myDiGuyHandItem
protected
std::string makVrf::DtEntityFacadeCollection::myCharacterAction
protected
std::string makVrf::DtEntityFacadeCollection::myCharacterModel
protected
bool makVrf::DtEntityFacadeCollection::myCharacterPaused
protected
bool makVrf::DtEntityFacadeCollection::myIsDiGuy
protected
bool makVrf::DtEntityFacadeCollection::myOriginSet
protected
bool makVrf::DtEntityFacadeCollection::myNeedsRealization
protected
bool makVrf::DtEntityFacadeCollection::myIndicatorVisible
protected
bool makVrf::DtEntityFacadeCollection::myHatLinesVisible
protected
bool makVrf::DtEntityFacadeCollection::myEnableAnimationSmoothing
protected
bool makVrf::DtEntityFacadeCollection::myUseHighestTerrainLOD
protected
ActivatedStates makVrf::DtEntityFacadeCollection::myActivatedStates
protected
DtBoundingVolumeSupportPointCalculator* makVrf::DtEntityFacadeCollection::myBVSPCalculator
mutableprotected

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

Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)