![]() |
VR-Forces 4.0.4 Class Documentation
|

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 ModelSetMap & | modelSetMap () const |
| ModelSetMap & | modelSetMap () |
| 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::DtBaseConnection & | baseConnection () 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::DtUnicode & | elementDefinition () 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::DtBaseConnection * | myConnection |
| DtExtAggregateStateListener | myListener |
| Aggregate is also an entity state listener, so, it can be used. | |
| ModelSetMap | myModelSetMap |
| std::string | myOverlay |
| bool | myIsAggregate |
| typedef std::map<int, makVrv::DtVisualizerSet*> makVrf::DtEntityFacadeCollection::ModelSetMap |
| makVrf::DtEntityFacadeCollection::DtEntityFacadeCollection | ( | makVrv::DtDe & | , |
| int | modelSet = -1 |
||
| ) |
| virtual makVrf::DtEntityFacadeCollection::~DtEntityFacadeCollection | ( | ) | [virtual] |
| 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 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.
| 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::setForceId | ( | int | ) | [virtual] |
Sets the force of the entity.
| int makVrf::DtEntityFacadeCollection::forceId | ( | ) | const |
| 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.
| 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.
| virtual void makVrf::DtEntityFacadeCollection::setIndicatorVisible | ( | bool | b | ) | [virtual] |
Set the entities indicator to be visible.
Implements makVrf::DtVrfObjectFacadeInterface.
| virtual void makVrf::DtEntityFacadeCollection::setUniqueID | ( | makVrv::DtUniqueID | ) | [virtual] |
| makVrv::DtUniqueID makVrf::DtEntityFacadeCollection::uniqueID | ( | ) | const [virtual] |
Implements makVrf::DtVrfObjectFacadeInterface.
| 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.
| DtCorruptedState | if 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 DtVector makVrf::DtEntityFacadeCollection::position | ( | ) | const [virtual] |
Returns visual definition set for specified model set.
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 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.
| 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.
| 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.
| 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.
| void makVrf::DtEntityFacadeCollection::setEntityExtentsVisible | ( | makVrv::DtVisualizerSet * | s, |
| bool | b, | ||
| int | modelSet = -1 |
||
| ) | [inline] |
| void makVrf::DtEntityFacadeCollection::setScale | ( | makVrv::DtVisualizerSet * | s, |
| float | scale | ||
| ) | [inline] |
| void makVrf::DtEntityFacadeCollection::setForceColor | ( | makVrv::DtVisualizerSet * | s, |
| makVrv::DtForceManager::RGBAColor | color | ||
| ) | [inline] |
| void makVrf::DtEntityFacadeCollection::setColor | ( | makVrv::DtVisualizerSet * | s, |
| makVrv::DtForceManager::RGBAColor | color | ||
| ) | [inline] |
| 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::setSymbolDecorationsVisible | ( | bool | ) | [virtual] |
| virtual bool makVrf::DtEntityFacadeCollection::isAggregate | ( | ) | const [inline, virtual] |
DtEntityType makVrf::DtEntityFacadeCollection::myEntityType [protected] |
If this.
Facades by model set
Aggregate is also an entity state listener, so, it can be used.
std::string makVrf::DtEntityFacadeCollection::myOverlay [protected] |
bool makVrf::DtEntityFacadeCollection::myIsAggregate [protected] |