|
| | 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: More...
|
| |
| const ModelSetMap & | modelSetMap () const |
| |
| ModelSetMap & | modelSetMap () |
| |
| virtual bool | isVisualized () const |
| |
| virtual void | setupNodeMaskFlags () const |
| | Set flags to make temp objects not pickable or support nodes. More...
|
| |
| virtual void | setSetupNodeMaskFlags (bool) |
| | After visualization, set up node mask flags. Default is false. More...
|
| |
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. More...
|
| |
| virtual std::vector< int > | artParts (int modelSet) const |
| | If this is an articulated model, return the articulated part numbers for this model. More...
|
| |
| virtual void | enableArtPart (int modelSet, int artPart, bool enable, const DtVector &translationRate=DtVector::zero(), const DtVector &rotationalRate=DtVector::zero()) |
| | Enable/disable art part. It will enable at minimal translation and orientation change, unless otherwise specified. More...
|
| |
| virtual void | enableArtPartTranslation (int modelSet, int artPart, bool enable, const DtVector &translationRate=DtVector::zero(), const DtVector &minTranslation=DtVector::zero(), const DtVector &maxTranslation=DtVector::zero()) |
| |
| virtual void | enableArtPartRotation (int modelSet, int artPart, bool enable, const DtVector &rotationRate=DtVector::zero(), const DtVector &minRotation=DtVector::zero(), const DtVector &maxRotation=DtVector::zero()) |
| |
| virtual void | getArtPartInformation (int modelSet, int artPart, DtVector &minRotation, DtVector &maxRotation, DtVector &minTranslation, DtVector &maxTranslation) |
| | Gets the art part information for the particular articulated part in the given model set. More...
|
| |
| virtual void | setModelState (int modelSet, int, int) |
| | Sets the particular state on/off. More...
|
| |
| virtual void | setTopographicOrientation (const DtTaitBryan &orientation) |
| | Set the orientation of the entity. Assumes topographic orientation. More...
|
| |
| virtual void | setTopographicOffsetFromPrincipal (const DtVector &, bool resetLocation=true) |
| |
| virtual void | setLocalOrientation (const DtTaitBryan &orientation) |
| | Set the orientation of the entity. Assumes local orientation. More...
|
| |
| virtual void | setOrigin (const DtVector &v) |
| | Set the position of the entity. More...
|
| |
| virtual void | setOrigin (const DtGeodeticCoord &v) |
| | Pure overrides that must be implemented. More...
|
| |
| virtual void | setOriginAndSeaLevel (const DtVector &v) |
| | Sets origin and also resets sea level to given altitude in vector. More...
|
| |
| virtual void | setOriginAndSeaLevel (const DtGeodeticCoord &v) |
| |
| virtual void | ignoreVisualTypeSwitch (int, bool) |
| |
| virtual bool | hasOccupant () const |
| |
| virtual void | setDropShadow (bool b) |
| |
| virtual void | setAltitudeOffsetFromPrincipal (double offset, bool resetLocation=true) |
| |
| virtual void | setForceType (DtForceType) |
| | Sets the force of the entity. More...
|
| |
| DtForceType | forceType () const |
| |
| virtual bool | hasForceChange () const |
| |
| virtual double | initialAltitudeAboveTerrain () const |
| | Initial altitude above terrain to show model. More...
|
| |
| virtual makVrv::DtBaseConnection & | baseConnection () const |
| |
| void | setHatLineVisible (bool visible) |
| | Set if the Height Above Terrain (HAT) line is visible. More...
|
| |
| void | setTrackHistoryVisible (bool visible) |
| | Set if the track history line is visible. More...
|
| |
| virtual void | setVisible (bool b, bool updateOffsets=true) |
| | Set the entity to be visible. More...
|
| |
| 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. More...
|
| |
| virtual void | setPickable (bool b) |
| | Set the entities to be pickable. More...
|
| |
| virtual void | setSelected (bool b) |
| | Set the entities to be selected. More...
|
| |
| virtual void | setLabel (const std::string &label) |
| | Object label. More...
|
| |
| virtual std::string | label () const |
| |
| virtual bool | hasLabelChange () const |
| |
| virtual void | setExtendedLabels (const std::map< int, DtString > &labels) |
| | Extended Object labels. More...
|
| |
| virtual std::map< int, DtString > | extendedLabels () const |
| |
| virtual bool | hasExtendedLabelsChange () const |
| |
| virtual void | setOverlayName (const std::string &) |
| | If this object is on an overlay, returns the overlay name. More...
|
| |
| virtual std::string | overlayName () const |
| | Returns the overlay this object is on. Returns empty string at root level. More...
|
| |
| virtual void | setIndicatorVisible (bool b) |
| | Set the entities indicator to be visible. More...
|
| |
| virtual Dt3dBoundingVolume | boundingVolume (int modelSet=0) const |
| | Returns 3D bounding volume of 3D model. More...
|
| |
| virtual void | calculateSupportPoints (int modelSet, DtVector &left, DtVector &right, DtVector &other) const |
| | Calculates support points for model. More...
|
| |
| virtual void | setAttachedTo (DtVrfObjectFacadeInterface *, const DtVector &offset, const DtTaitBryan &) |
| | Embark on this object. The offset is in body coordinates. More...
|
| |
| virtual void | detach () |
| |
| virtual void | setUniqueID (makVrv::DtUniqueID) |
| |
| virtual makVrv::DtUniqueID | uniqueID () const |
| |
virtual std::vector
< makVrv::DtUniqueID > | modelUniqueIDs () const |
| |
| virtual void | clearMarkingsModified () |
| |
| virtual bool | markingsModified () const |
| |
| virtual void | setMarkingDecal (const std::string &annotation, const std::string &value) |
| | Sets the decals for the given annotation (linkage) and value. More...
|
| |
| virtual std::string | markingDecal (const std::string &annotation) const |
| |
const std::map< std::string,
std::string > & | markingDecalMap () const |
| |
| virtual void | clearMarkingDecals () |
| |
| virtual bool | hasMultipleLODs (int modelSet=0) const |
| | Returns true if this item has more than one LOD. More...
|
| |
| virtual void | setWidgetEventsEnabled (bool b) |
| | Set the entities widget events to be enabled. More...
|
| |
| virtual void | setGroundClamping (bool b) |
| | Set the entities ground clamping state. More...
|
| |
| virtual void | setDeadReckoning (bool position, bool velocity, bool orientation) |
| |
| virtual void | setSymbolDecorationOffset (double x, double y) |
| | If there are symbol decorations, set this as the offset. More...
|
| |
| virtual void | setAutoEnableGroundClamping (bool b) |
| | Set the entities auto enable ground clamping state. More...
|
| |
| virtual void | realizeFacades () |
| | Makes state views know about all facades. More...
|
| |
| virtual void | unrealizeFacades (bool willRecreate=false) |
| | Removes facades from state views. More...
|
| |
| virtual void | setDictionaryToDisplay (int) |
| | Sets the dictionary to display from. More...
|
| |
| bool | dictionaryToDisplay () const |
| |
| 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. More...
|
| |
| virtual void | setElementDefinition (const makVrv::DtUnicode &elementName) |
| | Set the entity's model definition names. More...
|
| |
| virtual const makVrv::DtUnicode & | elementDefinition () const |
| | Returns the current element definition. More...
|
| |
| virtual void | setElementDefinition (const DtEntityType &) |
| | Chooses the best based on aggregate or entity, then, will create facades based on that. More...
|
| |
| void | setSmoothingEnabled (bool enabled) |
| | Set whether the Entity smooths. More...
|
| |
| void | setMotionModel (const std::string &) |
| | Set the motion model of the entity. More...
|
| |
| virtual void | setLabelIndicatorVisible (bool) |
| | Set the label decoration enabled. More...
|
| |
| virtual void | setHeadingIndicatorVisible (bool) |
| | Sets whether or not heading indicator is visible. More...
|
| |
| virtual void | setHeadingIndicatorSize (float l) |
| | Sets the size of the heading indicator. More...
|
| |
| virtual bool | isDiGuy () const |
| | Returns true if is a DI-Guy model. More...
|
| |
| virtual DtVector | position () const |
| | Position as stored in the listener. More...
|
| |
| virtual makVrv::DtUniqueID | uniqueIDForModelSet (int set) const |
| |
| virtual void | setEffectsVisible (bool) |
| | Sets all effects to be visible/hidden. More...
|
| |
| virtual bool | shouldEnableTrailEffects () const |
| | Returns true if there is a trail effect with a model definition (for example, chaff) More...
|
| |
| virtual void | enableTrailEffect (bool) |
| | Enables trailing effect (or disables) by showing and setting velocity. More...
|
| |
| virtual void | setAltitudeAboveTerrain (double d) |
| | Sets altitude above terrain, and also resets altitude above sea level. More...
|
| |
| virtual void | setAltitudeAboveSeaLevel (double d) |
| | Sets altitude above sea level, and also resets altitude above terrain. More...
|
| |
| virtual bool | hasWakeModel (int set) |
| | Returns true if the schema exists. More...
|
| |
| virtual void | setWakeLOD (double) |
| |
| virtual void | setShowWakes (bool b, int modelSet=-1) |
| |
| virtual void | setShowSmoke (bool b, int modelSet=-1) |
| |
| virtual void | setShowFlames (bool b, int modelSet=-1) |
| |
| virtual void | setShowOccupants (bool b) |
| |
| virtual const DtVector32 & | velocity () const |
| |
| virtual void | setVelocity (const DtVector32 &v) |
| |
| template<typename T > |
| void | visualizers (int modelSet, std::vector< T > &visualizers) const |
| | Returns true if has the visualizer. More...
|
| |
| template<typename T > |
| bool | hasVisualizer (makVrv::DtVisualizerSet *s) const |
| | Returns true if has the visualizer. More...
|
| |
| virtual void | setIconScale (float) |
| | For MilStd icons, set the icon scale. More...
|
| |
| template<typename T > |
| void | setIconScale (makVrv::DtVisualizerSet *s, float scale) |
| |
| virtual void | setExtendedData (const std::map< std::string, std::string > &) |
| | For subclasses to implement... More...
|
| |
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. More...
|
| |
| virtual bool | hasBoundingVolumes () const |
| | Returns true if this item has bounding volume visualizer. More...
|
| |
| virtual void | setEntityExtentsVisible (bool, int modelSet=-1) |
| | For MilStd icons, set the icon scale. More...
|
| |
| 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 | setForceType (makVrv::DtVisualizerSet *s, DtForceType type) |
| |
| template<typename T > |
| void | setColor (makVrv::DtVisualizerSet *s, makVrv::DtForceManager::RGBAColor color) |
| |
| virtual void | setForceColor (const DtRwColor &) |
| |
| void | setBoundingExtentColor (float r, float g, float b, float a) |
| |
| virtual std::string | diGuyCharacter () const |
| | If this is a DI-Guy model, find the character. More...
|
| |
| virtual std::string | diGuyAppearance () const |
| | If this is a DI-Guy model, find the appearance. More...
|
| |
| virtual std::string | diGuyHandItem () const |
| | If this is a DI-Guy model, find the hand item. More...
|
| |
| virtual std::string | diGuyHead () const |
| | If this is a DI-Guy model, find the head. More...
|
| |
| virtual void | setAppearance (int) |
| | Will set the appearance of the object only if it has an articulated model visualizer. More...
|
| |
| virtual DtAppearance | appearance () const |
| |
| 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 const std::string & | characterAction () const |
| |
| virtual void | setCharacterModel (const std::string &animation) |
| |
| virtual std::string | characterModel () const |
| |
| virtual void | setCharacterBodyWeight (double) |
| |
| virtual void | setCharacterAlive (bool) |
| |
| virtual void | setCharacterAppearance (const std::string &animation) |
| |
| virtual void | setCharacterHandItem (const std::string &item) |
| |
| virtual void | setCharacterHead (const std::string &head) |
| |
| virtual void | setDisplayName (const std::string &displayName) |
| | Sets the name to display on the screen. More...
|
| |
| virtual void | setSymbolNameVisible (bool) |
| | Sets symbol name visible. Symbol decorations must also be visible. More...
|
| |
| virtual void | setStatePropertyDecorationsVisible (bool) |
| | Sets whether or not the state property decorations are visibile. More...
|
| |
| virtual void | setSymbolDecorationsVisible (bool) |
| |
| virtual bool | isAggregate () const |
| |
| virtual void | finalizeSetup () |
| | Finalizes the setup of the object (after a tick of the DE) More...
|
| |
| virtual void | updateSymbolRotation (const DtTaitBryan &) |
| | Updates symbol rotation (if set) based on local orientation. More...
|
| |
| virtual void | updateSymbolRotation (double) |
| | Updates the rotation to the given heading. More...
|
| |
| virtual void | setRotateToHeading (bool) |
| | Also set by entity settings. More...
|
| |
| bool | rotateToHeading () const |
| |
| virtual void | slot_visualizerCreationDisabled (int modelSet, int visualType) |
| |
| virtual void | slot_visualizerCreationEnabled (int modelSet, int visualType) |
| |
| | DtVrfObjectFacadeInterface (makVrv::DtDe &de, int modelSet=-1) |
| |
| virtual | ~DtVrfObjectFacadeInterface () |
| |
| virtual const std::string & | entityId () const |
| |
| virtual void | setEntityId (const std::string &i) |
| |
| virtual void | setTopographicOffsetBetweenPoints (const DtGeodeticCoord &origin, const DtGeodeticCoord &originWithOffset, bool resetLocation=true) |
| |
| const DtVector & | topographicOffsetFromPrincipal () const |
| |
| virtual DtVector | convertGeodeticOffsetFromOriginToTopographicOffsetFromOrigin (const DtGeodeticCoord &) const |
| |
| virtual DtGeodeticCoord | locationFromTopographicOffsetFromCenterPoint (const DtGeodeticCoord &origin) const |
| |
| virtual DtVector | convertGeodeticOffsetToTopographicOffset (const DtGeodeticCoord &origin, const DtGeodeticCoord &position) const |
| |
| virtual double | headingOffsetFromPrincipal () const |
| |
| virtual void | setHeadingOffsetFromPrincipal (double offset) |
| |
| virtual double | pitchOffsetFromPrincipal () const |
| |
| virtual void | setPitchOffsetFromPrincipal (double offset) |
| |
| virtual const DtEntityType & | entityType () const |
| |
| virtual DtGeodeticCoord | modifyPointByTopographicOffset (const DtGeodeticCoord &origin, const DtVector &topographicOffset) const |
| |
| virtual double | altitudeOffsetFromPrincipal () const |
| |
| virtual void | setOverrideIdsToIgnore (const std::vector< makVrv::DtUniqueID > &overrideIgnore) |
| | Set this list explicity to use to ignore rather than those calculated by this object facade. More...
|
| |
virtual const std::vector
< makVrv::DtUniqueID > & | idsToIgnore () const |
| | All the IDs to ignore (TG plus any represented by this object) when clamping to ground. More...
|
| |
| virtual makVrv::DtUniqueID | sceneObjectId () const |
| |
| virtual void | setSceneObjectId (const makVrv::DtUniqueID &id) |
| |
| virtual std::string | displayName () const |
| |
| virtual void | setUUID (const DtUUID &) |
| |
| virtual const DtUUID & | uuid () const |
| |
| virtual DtGeodeticCoord | currentGeodeticOrigin () const |
| |
| virtual DtGeodeticCoord | currentGeodeticPosition () const |
| | Includes location offset from principal. More...
|
| |
| virtual DtGeodeticCoord | convertToGeodetic (const DtVector &v) const |
| |
| virtual double | currentHeading () const |
| |
| virtual void | setCurrentHeading (double currentHeading) |
| |
| virtual void | setHeadingChanged (bool b) |
| |
| virtual double | currentPitch () const |
| |
| virtual void | setCurrentPitch (double currentPitch) |
| |
| virtual void | setPitchChanged (bool b) |
| |
| const DtVector & | attachedPoint () const |
| |
| const DtTaitBryan & | attachedOrientation () |
| |
| DtVrfObjectFacadeInterface * | attachedToObject () const |
| |
| virtual bool | attachedTo () const |
| |
| virtual double | currentAltitude () const |
| | Altitude above sea level. More...
|
| |
| virtual DtVector | centerOfMass () const |
| | Returns the center of mass (geocentric) of this object. More...
|
| |
| virtual DtVector | geocentricLocation () const |
| |
| virtual DtVector | localLocation () const |
| |
| virtual DtVector | localLocation (const DtGeodeticCoord &geodLocation) const |
| |
| virtual DtVector | reviseLocation (const DtVector &loc, int clampType=-1) const |
| |
| virtual DtTaitBryan | localOrientation () const |
| | return local 'cig' eulers given current heading More...
|
| |
| 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 bool | hasPitchChange () 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 | clampToLowestNonOceanPolygon (const DtVector &lp, makVrv::DtIntersector::IntersectProperties props) const |
| |
| virtual DtVector | clampToGround (const DtVector &localPosition, makVrv::DtIntersector::IntersectProperties props=makVrv::DtIntersector::SupportNodes, int clampType=-1) const |
| |
| virtual DtGeodeticCoord | clampToGround (const DtGeodeticCoord &localPosition, makVrv::DtIntersector::IntersectProperties props=makVrv::DtIntersector::SupportNodes, int clampType=-1) const |
| |
| virtual void | setEmbarkationAllowed (bool) |
| |
| bool | embarkationAllowed () const |
| |
| virtual void | setDoNotClamp (bool b) |
| |
| bool | doNotClamp () const |
| |
| virtual void | setClampToClosestPolygon (bool b) |
| |
| bool | clampToClosestPolygon () const |
| |