![]() |
VR-Forces Developer's Guide
|
A facade for a DtObserverObject.
Public Types | |
| typedef std::vector< DtElementID > | ElementList |
Public Attributes | |
| boost::signalslib::signal < void(const std::string &, DtUniqueID)> | signal_objectAttached |
| boost::signalslib::signal < void(const std::string &)> | signal_objectsDetached |
| boost::signalslib::signal < void(DtObserver *, int)> | signal_observerModeChanged |
| boost::signalslib::signal < void(DtObserver *, int)> | signal_linearScaledSpeedGainChanged |
| boost::signalslib::signal < void(DtObserver *, int)> | signal_linearUnscaledSpeedGainChanged |
| boost::signalslib::signal < void(DtObserver *, int)> | signal_rotationSpeedGainChanged |
| boost::signalslib::signal < void(DtObserver *, int)> | signal_orbitSpeedGainChanged |
| boost::signalslib::signal < void(DtObserver *, int)> | signal_gainPrecisionChanged |
| boost::signalslib::signal < void(DtObserver *, double)> | signal_modelScaleFactorChanged |
| boost::signalslib::signal < void(DtObserver *, std::string)> | signal_modelScaleTypeChanged |
| boost::signalslib::signal < void(DtObserver *, double)> | signal_viewMagnificationChanged |
| boost::signalslib::signal < void(DtObserver *, double)> | signal_lodScaleChanged |
| boost::signalslib::signal < void(DtObserver *, std::string)> | signal_paperMapLayerChanged |
| boost::signalslib::signal < void(DtObserver *, DtObserverObject::SpeedScalingMode scalingMode)> | signal_speedScalingModeChanged |
| boost::signalslib::signal < void(DtObserver *, double offset)> | signal_speedScalingMslModeOffsetChanged |
| boost::signalslib::signal < void(DtObserver *, bool)> | signal_lodScaleCenterEnabledChanged |
| boost::signalslib::signal < void(DtObserver *, double)> | signal_lodScaleCenterMagMinLimitChanged |
| boost::signalslib::signal < void(DtObserver *, DtObserverObject::NorthType northType)> | signal_northTypeChanged |
| boost::signalslib::signal < void(DtSensor *)> | signal_sensorChanged |
| boost::signalslib::signal< void()> | signal_terrainChanged |
Static Protected Attributes | |
| static const double | theMoveStepSize |
| typedef std::vector<DtElementID> makVrv::DtObserver::ElementList |
| makVrv::DtObserver::DtObserver | ( | DtDe & | de, |
| DtAgentManagerInterface & | sceneInterface, | ||
| const DtObserverConfiguration & | config | ||
| ) |
CTOR.
|
virtual |
DTOR.
| DtObserverObjectAgent& makVrv::DtObserver::agent | ( | ) |
Get the observer object agent.
| const DtObserverObjectAgent& makVrv::DtObserver::agent | ( | ) | const |
Get the terrain patch object agent.
| bool makVrv::DtObserver::getRecord | ( | makArchives::DtObserverStateRecord & | recOut | ) | const |
Returns true if recOut was filled with all the state of this object.
| void makVrv::DtObserver::setFromRecord | ( | const makArchives::DtObserverStateRecord & | rec | ) |
Fill out this object's state from the record.
| bool makVrv::DtObserver::getRecord | ( | makArchives::DtObserverSettingsRecord & | recOut | ) | const |
Returns true if recOut was filled with all the setting of this object.
| void makVrv::DtObserver::setFromRecord | ( | const makArchives::DtObserverSettingsRecord & | rec | ) |
Fill out this object's settings from the record.
| makArchives::DtObserverStateRecord makVrv::DtObserver::getCachedObserverStateRecord | ( | ) | const |
Get the original copy of the observer state record cached at creation time from myCachedObserverStateRecord. Note that myCachedObserverStateRecord is temporary and this function will be removed in a future release.
| bool makVrv::DtObserver::hasInitialLocation | ( | ) | const |
True if a setFromRecord results in a location set that should not be overriden by a subsequent reset (used in initialization only)
| bool makVrv::DtObserver::projectionIs2D | ( | ) | const |
Get/set the projection type (2D or 3D) this observer will use Whether or not an observer uses a 2D or 3D view depends on the observer mode in use. However, a saved view may reference an observer mode that doesn't exist; so we have a separate flag in the saved view (ObserverSettingsRecord portion of the ObserverStateRecord) where we keep this information available. On setFromRecord, this will be set the to projection specified by the observer mode if found, or use the value in the saved view if not. On getRecord, the field can use this value directly (since it already corresponds to the observer mode if it exists).
| void makVrv::DtObserver::setProjectionIs2D | ( | bool | is2d | ) |
Returns true if recOut was filled with all the state of this object.
| const std::string& makVrv::DtObserver::name | ( | ) | const |
Get the configuration name.
| void makVrv::DtObserver::setName | ( | const std::string & | name | ) |
| int makVrv::DtObserver::observerMode | ( | ) | const |
Visual mode for this observer. The integer key corresponding to a named mode can be looked up by accessing the DtObserverMode by calling DtObserverModeManager::getObserverModeByName and then calling DtObserverMode::intKey on it. It is possible to set an observer mode int which corresponds to a sensor module that is not loaded (ex. CameraFX sensor mode when running Vantage in SensorFX mode), in that case setObserverMode will not change the observerMode and return false. If it can change to the mode it will return true.
Visual mode for this observer. The integer key corresponding to a named mode can be looked up by accessing the DtObserverMode by calling DtObserverModeManager::getObserverModeByName and then calling DtObserverMode::intKey on it. It is possible to set an observer mode int which corresponds to a sensor module that is not loaded (ex. CameraFX sensor mode when running Vantage in SensorFX mode), in that case setObserverMode will not change the observerMode and return false. If it can change to the mode it will return true.
| double makVrv::DtObserver::viewResolution | ( | ) | const |
Get the observer's resolution (2D).In meters per pixel.
| void makVrv::DtObserver::setViewResolution | ( | double | resolution | ) |
Set the observer's resolution (2D). In meters per pixel.
| void makVrv::DtObserver::setViewResolutionFromHeightAboveTerrain | ( | double | hat | ) |
Set the observer's resolution (2D). In meters per pixel.
| double makVrv::DtObserver::viewMagnification | ( | ) | const |
Get this observer's view magnification.
| void makVrv::DtObserver::setViewMagnification | ( | double | magnficationFactor | ) |
Set this observer's view magnification.
| void makVrv::DtObserver::setLodScale | ( | double | lodScale | ) |
Set this observer's LOD Scale.
| double makVrv::DtObserver::lodScale | ( | ) | const |
Get this observer's LOD scale.
| void makVrv::DtObserver::setPaperMapLayer | ( | const std::string & | paperMapLayer | ) |
Set the observer's paper map layer.
| std::string makVrv::DtObserver::paperMapLayer | ( | ) | const |
Get this observer's paper map layer.
| DtObserverConfiguration& makVrv::DtObserver::configuration | ( | ) |
| const DtObserverConfiguration& makVrv::DtObserver::configuration | ( | ) | const |
| bool makVrv::DtObserver::inUse | ( | const std::string & | channelKeyToIgnore = "" | ) | const |
Returns true in this observer is found in any channel configuration.
| void makVrv::DtObserver::attachToNextElement | ( | ) |
Tell the observer to attach to the next allowable object.
| void makVrv::DtObserver::attachToPreviousElement | ( | ) |
Tell the observer to attach to the previous allowable object.
| bool makVrv::DtObserver::isAttached | ( | DtElementID | ) | const |
Returns true if the element is attached as either a primary or secondary element.
| bool makVrv::DtObserver::isPrimaryAttached | ( | DtElementID | ) | const |
Returns true if the object is attached as a primary object.
| bool makVrv::DtObserver::isSecondaryAttached | ( | DtElementID | ) | const |
Returns true if the object is attached as a secondary object.
| void makVrv::DtObserver::setPrimaryAttachment | ( | const ElementList & | elements | ) |
Attach to the following elements. If there are more than 1 element, the and the attach mode does not support multiple attachments the mode will change to AttachTypeTether.
| void makVrv::DtObserver::setPrimaryAttachment | ( | DtElementID | element | ) |
Tell the observer to attach to the next allowable object.
| void makVrv::DtObserver::setSecondaryAttachment | ( | const ElementList & | element | ) |
Set secondary attachment to the following elements. Secondary attachment is used by certain attach modes to allow tracking a secondary attachment (aka the observer orientation) while attached to a a primary attachment (aka the observer position)
| void makVrv::DtObserver::setSecondaryAttachment | ( | DtElementID | element | ) |
Set secondary attachment to the following elements. Secondary attachment is used by certain attach modes to allow tracking a secondary attachment (aka the observer orientation) while attached to a a primary attachment (aka the observer position)
Set the location that will be tracked when in mimic location track or tether location track modes.
Get the location that will be tracked when in mimic location track or tether location track modes.
| void makVrv::DtObserver::setPartAttachment | ( | int | partId | ) |
Set the part number of the primary attachment. Setting the partID to 0 attaches to the primary object rather than the part.
| int makVrv::DtObserver::partAttachment | ( | ) | const |
Get the part ID that the observer is attached to.
| void makVrv::DtObserver::detach | ( | ) |
Detach from all elements.
| bool makVrv::DtObserver::attached | ( | ) | const |
Check if the observer is attached to elements.
| bool makVrv::DtObserver::tracking | ( | ) | const |
Check if the observer is attached to elements.
| const ElementList& makVrv::DtObserver::primaryAttachments | ( | ) | const |
Get the primary attachments.
| const ElementList& makVrv::DtObserver::secondaryAttachments | ( | ) | const |
Get the secondary attachments.
| void makVrv::DtObserver::setHideModelOnAttach | ( | bool | hide | ) |
| bool makVrv::DtObserver::hideModelOnAttach | ( | ) | const |
| void makVrv::DtObserver::setAttachmentHas3DCockpit | ( | bool | cockpit | ) |
The GL Studio driver uses this to tell the observer that it's going to render a 3D cockpit so the observer can take that into account when determining znear.
| bool makVrv::DtObserver::attachmentHas3DCockpit | ( | ) | const |
The GL Studio driver uses this to tell the observer that it's going to render a 3D cockpit so the observer can take that into account when determining znear.
| void makVrv::DtObserver::setAttachType | ( | DtObserverObject::AttachType | type | ) |
| DtObserverObject::AttachType makVrv::DtObserver::attachType | ( | ) | const |
| void makVrv::DtObserver::setOrientToTargetConstraint | ( | bool | orient | ) |
| bool makVrv::DtObserver::orientToTargetConstraint | ( | ) | const |
| DtElementID makVrv::DtObserver::lastSingleAttached | ( | ) | const |
Last single id this observer attached to. Only valid if haveLastSingleAttached() (below) is true.
| bool makVrv::DtObserver::haveLastSingleAttached | ( | ) | const |
Has this observer ever attached to a single entity?
| void makVrv::DtObserver::reset | ( | ) |
If attached, call resetAttachment, else gotoTerrain center with first terrain patch in terrain patch list.
| void makVrv::DtObserver::setAllowReset | ( | bool | b | ) |
Sets whether or not resetting the observer is allowed. Set to false in order to ignore resets and zeroing of terrain.
| bool makVrv::DtObserver::allowReset | ( | ) | const |
Get if reset is allowed.
| void makVrv::DtObserver::setAllowAttach | ( | bool | b | ) |
Sets whether or not attachment is allowed.
| bool makVrv::DtObserver::allowAttach | ( | ) | const |
Get if attach is allowed.
| void makVrv::DtObserver::setAllowDetach | ( | bool | b | ) |
Sets whether or not detachment is allowed.
| bool makVrv::DtObserver::allowDetach | ( | ) | const |
Get if detach is allowed.
| void makVrv::DtObserver::centerOnTerrain | ( | ) |
rest and recenter.
| void makVrv::DtObserver::centerOnTerrain | ( | const DtUniqueID & | terrainPatch | ) |
reset and recenter to specified terrain patch
| void makVrv::DtObserver::suppressConstrainToTerrain | ( | bool | trueFalse | ) |
if constrain to terrain is on, suppress or end suppress if constrain to terrain is not on, do nothing
| void makVrv::DtObserver::setConstrainToCenter | ( | bool | trueFalse | ) |
constrain to point to center of earth (0.0.0)
| void makVrv::DtObserver::toggleConstrainToCenter | ( | ) |
If attached, call resetAttachment, else gotoTerrain center with first terrain patch in terrain patch list.
| bool makVrv::DtObserver::constrainToCenter | ( | ) | const |
If attached, call resetAttachment, else gotoTerrain center with first terrain patch in terrain patch list.
Get the observer's position from the remote object (no observer camera offset)
| DtVector makVrv::DtObserver::location | ( | ) | const |
Get the observer's position from the remote object (no observer camera offset)
| DtVector makVrv::DtObserver::observerCameraPosition | ( | ) | const |
Get the position of the observer's camera.
Go to this position (database coordinates)
Get the observer's orientation from the local observer object.
| void makVrv::DtObserver::getTopographicOrientation | ( | double & | psi, |
| double & | theta, | ||
| double & | phi | ||
| ) | const |
Get the observer's orientation from the local observer object in topo.
Go to this orientation.
Go to this topographic orientation.
Get the observer's orientation from the local observer object.
Go to this orientation.
| DtTaitBryan makVrv::DtObserver::observerCameraOrientation | ( | bool | includeShake = true | ) | const |
Get the orientation of the observer's camera. Set includeShake to true if you want any camera shake to be included (the default), or false to exclude the shake.
|
virtual |
Get a vector representation of the observer's front axis; this is before the camera orientation is applied.
|
virtual |
Get a vector representation of the observer's up axis; this is before the camera orientation is applied.
|
virtual |
Get a vector representation of the observer's right axis; this is before the camera orientation is applied.
Get a vector representation of the observer * camera front axis This is where the observer is actually looking. Set includeShake to true if you want any camera shake to be included, or false to exclude the shake.
Get a vector representation of the observer * camera up axis.
Get a vector representation of the observer * camera right axis.
| void makVrv::DtObserver::moveUnit | ( | const DtVector & | direction | ) |
Move the observer one arbitrary unit in some direction Direction is in observer coordinates.
| void makVrv::DtObserver::rotateUnit | ( | const DtTaitBryan & | rotation | ) |
Rotate the observer one arbitrary unit Rotation is in observer coordinates.
Get the observer's linear velocity from the remote object.
| DtVector makVrv::DtObserver::linearVelocity | ( | ) | const |
If attached, call resetAttachment, else gotoTerrain center with first terrain patch in terrain patch list.
Get the observer's rotational velocity from the remote object.
| DtVector makVrv::DtObserver::rotationalVelocity | ( | ) | const |
Get the observer's rotational velocity from the remote object.
| bool makVrv::DtObserver::observerObjectMoving | ( | ) | const |
Check to see if the observer object is moving.
| double makVrv::DtObserver::observerAltitude | ( | ) | const |
Get the observer's current altitude.
Go to this position relative to the attached object (if attached, otherwise ignored - also ignored in track attach mode)
| void makVrv::DtObserver::setAttachedX | ( | double | x | ) |
Go to this position relative to the attached object (if attached, otherwise ignored - also ignored in track attach mode)
| void makVrv::DtObserver::setAttachedY | ( | double | y | ) |
Go to this position relative to the attached object (if attached, otherwise ignored - also ignored in track attach mode)
| void makVrv::DtObserver::setAttachedZ | ( | double | z | ) |
Go to this position relative to the attached object (if attached, otherwise ignored - also ignored in track attach mode)
Go to this orientation relative to the attached object (if attached, otherwise ignored - also ignored in track attach mode)
| void makVrv::DtObserver::setAttachedYaw | ( | double | psi | ) |
Go to this position relative to the attached object (if attached, otherwise ignored - also ignored in track attach mode)
| void makVrv::DtObserver::setAttachedPitch | ( | double | theta | ) |
Go to this position relative to the attached object (if attached, otherwise ignored - also ignored in track attach mode)
| void makVrv::DtObserver::setAttachedRoll | ( | double | phi | ) |
Go to this position relative to the attached object (if attached, otherwise ignored - also ignored in track attach mode)
| void makVrv::DtObserver::setLocalModelScalingEnabled | ( | bool | enabled | ) |
Sets whether local model scaling is enabled for attached entities in space attach mode.
| void makVrv::DtObserver::setLocalModelScalingAmount | ( | float | amount | ) |
Sets the amount of local model scaling to apply to attached entities when in space attach mode.
Set the orbit speed gain.
| int makVrv::DtObserver::orbitSpeedGain | ( | ) | const |
Get the orbit speed gain.
Calculate the gain for a given speed.
| void makVrv::DtObserver::setRotationSpeedGain | ( | int | gain, |
| bool | forwardToObserverModeManager = true |
||
| ) |
Set the orbit speed gain.
| int makVrv::DtObserver::rotationSpeedGain | ( | ) | const |
Set the orbit speed gain.
| void makVrv::DtObserver::setLinearSpeedGain | ( | int | gain | ) |
Set scaled or unscaled gain based on current speed scaling state.
| int makVrv::DtObserver::linearSpeedGain | ( | ) | const |
Set the orbit speed gain.
| void makVrv::DtObserver::setLinearScaledSpeedGain | ( | int | gain, |
| bool | forwardToObserverModeManager = true |
||
| ) |
Set the orbit speed gain.
| int makVrv::DtObserver::linearScaledSpeedGain | ( | ) | const |
Set the orbit speed gain.
| void makVrv::DtObserver::setLinearUnscaledSpeedGain | ( | int | gain, |
| bool | forwardToObserverModeManager = true |
||
| ) |
Set the orbit speed gain.
| int makVrv::DtObserver::linearUnscaledSpeedGain | ( | ) | const |
Set the orbit speed gain.
Set the orbit speed gain.
| int makVrv::DtObserver::gainPrecision | ( | ) | const |
Set the orbit speed gain.
| void makVrv::DtObserver::setModelScaleFactor | ( | double | modelScaleFactor, |
| bool | forwardToObserverModeManager = true |
||
| ) |
Set the orbit speed gain.
| double makVrv::DtObserver::modelScaleFactor | ( | ) | const |
Set the orbit speed gain.
| void makVrv::DtObserver::setModelScaleType | ( | const std::string & | modelScaleType, |
| bool | forwardToObserverModeManager = true |
||
| ) |
Set the orbit speed gain.
| const std::string& makVrv::DtObserver::modelScaleType | ( | ) | const |
Set the orbit speed gain.
| void makVrv::DtObserver::setMaxModelScaleFactor | ( | double | maxModelScaleFactor, |
| bool | forwardToObserverModeManager = true |
||
| ) |
Set the orbit speed gain.
| double makVrv::DtObserver::maxModelScaleFactor | ( | ) | const |
Set the orbit speed gain.
| void makVrv::DtObserver::setSpeedScalingMode | ( | DtObserverObject::SpeedScalingMode | mode, |
| bool | forwardToObserverModeManager = true |
||
| ) |
Set the orbit speed gain.
| DtObserverObject::SpeedScalingMode makVrv::DtObserver::speedScalingMode | ( | ) | const |
Set the orbit speed gain.
| void makVrv::DtObserver::setLodScaleCenterEnabled | ( | bool | enabled, |
| bool | forwardToObserverModeManager = true |
||
| ) |
Set the orbit speed gain.
| bool makVrv::DtObserver::lodScaleCenterEnabled | ( | ) | const |
Set the orbit speed gain.
| void makVrv::DtObserver::setLodScaleCenterMagMinLimit | ( | double | limit, |
| bool | forwardToObserverModeManager = true |
||
| ) |
Set the orbit speed gain.
| double makVrv::DtObserver::lodScaleCenterMagMinLimit | ( | ) | const |
Set the orbit speed gain.
| void makVrv::DtObserver::setNorthType | ( | DtObserverObject::NorthType | northType, |
| bool | forwardToObserverModeManager = true |
||
| ) |
Sets the current north type.
| DtObserverObject::NorthType makVrv::DtObserver::northType | ( | ) | const |
Gets the current north type.
|
virtual |
Sets the color control enabled value. Defines if the color control should be used for an observer mode.
| enabled | True if color control should be enabled. |
|
virtual |
Gets the color control enabled value.
|
virtual |
Sets the current color control invert value. Defines if the grayscale computed output should be inverted in the image.
| enabled | True if the color grayscale should be inverted. |
|
virtual |
Gets the color control invert value.
|
virtual |
Sets the current color control contrast value. Defines the grayscale contrast in the image.
| value | The (0.0 - 1.0) grayscale contrast value. |
|
virtual |
Gets the color control contrast value.
|
virtual |
Sets the current color control brightness value. Defines the grayscale brightness in the image.
| value | The (0.0 - 1.0) grayscale brightness value. |
|
virtual |
Gets the color control brightness value.
|
virtual |
Sets the current color control color mix value. Defines how much color to mix in to the image.
| value | The (0.0 - 1.0) grayscale vs color mix value. |
|
virtual |
Gets the color control color mix value.
| void makVrv::DtObserver::setSpeedScalingMslModeOffset | ( | double | offset, |
| bool | forwardToObserverModeManager = true |
||
| ) |
Set the orbit speed gain.
| double makVrv::DtObserver::speedScalingMslModeOffset | ( | ) | const |
Set the orbit speed gain.
| void makVrv::DtObserver::setOrbitSpeed | ( | double | speed | ) |
Set the orbit speed gain.
| double makVrv::DtObserver::orbitSpeed | ( | ) | const |
Set the orbit speed gain.
| void makVrv::DtObserver::setRotationSpeed | ( | double | speed | ) |
Set the orbit speed gain.
| double makVrv::DtObserver::rotationSpeed | ( | ) | const |
Set the orbit speed gain.
| void makVrv::DtObserver::setLinearSpeed | ( | double | speed | ) |
Set the orbit speed gain.
| double makVrv::DtObserver::linearSpeed | ( | ) | const |
Set the orbit speed gain.
|
virtual |
Toggle the observer-attached flashlight on or off.
|
virtual |
Get the camera shake is on this observer.
|
virtual |
Tell the observer what kind of camera shake to set.
|
virtual |
Provide a rotational offset to the camera for camera shake.
|
virtual |
Set the sensor to use on channels rendering with this observer.
|
virtual |
Get the name of the current sensor; returns "" if there is none.
|
virtual |
Disables the current sensor.
|
virtual |
Called when a sensor is removed or deleted from the sensor manager.
|
virtual |
Needed public for CIGI request position packets.
| void makVrv::DtObserver::getObserverRotationOffset | ( | double & | x, |
| double & | y, | ||
| double & | z, | ||
| double & | w | ||
| ) | const |
| void makVrv::DtObserver::getCameraFromParentOffsetVector | ( | double & | x, |
| double & | y, | ||
| double & | z | ||
| ) | const |
These are the difference between the observer's camera and the object that the observer is attached to.
| void makVrv::DtObserver::getCameraFromParentRotationOffset | ( | double & | x, |
| double & | y, | ||
| double & | z, | ||
| double & | w | ||
| ) | const |
These are the difference between the observer's camera and the object that the observer is attached to.
|
virtual |
Set whether or not the (attached) observer will use the the object it is attached to's bounding volume when it attaches or when the bvol changes.
|
virtual |
Set whether or not the (attached) observer will use the the object it is attached to's bounding volume when it attaches or when the bvol changes.
|
protected |
reset observer
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protectedvirtual |
Called by signal whenever elements are added.
|
protectedvirtual |
The collection of slot_onElementsAdded and slot_completeAttachment are used to solve the problem where we may be asked to to attach to an entity that doesn't yet exist (typically when using –bindObservers). These 3 methods exist to solve a slightly different probem - if an attach request comes in the same frame as an entity is created, and the attach message is first (and it will be in the case of a CIGI message that contains both the new EntityControl and ViewControl packets) then the element may be known but the scene objects that we need to actually get the attach position and orientation from won't get created until later in the frame. so this collection checks if the scene objects exist and if not, schedules the agent message to the DtObserverObject for the begin of the next frame.
attachToObjects calls the agent->attachToObjects and then raises the signals indicating attachment. It is called from setPrimaryAttachment as well (so this code doesn't need to be duplicated
|
protectedvirtual |
Slot attached to DtDe::signal_preTick if setPrimaryAttachment is called and the scene objects don't exist yet; will call attachToObjects() when preTick is raised.
|
protectedvirtual |
Check to see if scene objects are available for all the elements we've been asked attach to.
|
protectedvirtual |
Called by signal whenever element attributes change.
|
protected |
preTick slot for completing an attachment for an element that changed last frame
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Protected implementation of attach to.
| boost::signalslib::signal<void(const std::string&, DtUniqueID)> makVrv::DtObserver::signal_objectAttached |
Boost signal called when observer attaches to an object.
| boost::signalslib::signal<void(const std::string&)> makVrv::DtObserver::signal_objectsDetached |
Boost signal called when observer detaches from all.
| boost::signalslib::signal<void(DtObserver*, int)> makVrv::DtObserver::signal_observerModeChanged |
Boost signal called when observer's mode changed.
| boost::signalslib::signal<void(DtObserver*, int)> makVrv::DtObserver::signal_linearScaledSpeedGainChanged |
Boost signal called when the scaled linear speed gain is changed.
| boost::signalslib::signal<void(DtObserver*, int)> makVrv::DtObserver::signal_linearUnscaledSpeedGainChanged |
Boost signal called when the unscaled linear speed gain is changed.
| boost::signalslib::signal<void(DtObserver*, int)> makVrv::DtObserver::signal_rotationSpeedGainChanged |
Boost signal called when the rotation speed gain is changed.
| boost::signalslib::signal<void(DtObserver*, int)> makVrv::DtObserver::signal_orbitSpeedGainChanged |
Boost signal called when the orbit speed gain is changed.
| boost::signalslib::signal<void(DtObserver*, int)> makVrv::DtObserver::signal_gainPrecisionChanged |
Boost signal called when the gain precision is changed.
| boost::signalslib::signal<void(DtObserver*, double)> makVrv::DtObserver::signal_modelScaleFactorChanged |
Boost signal called when the model scale factor is changed.
| boost::signalslib::signal<void(DtObserver*, std::string)> makVrv::DtObserver::signal_modelScaleTypeChanged |
Boost signal called when the model scale type is changed.
| boost::signalslib::signal<void(DtObserver*, double)> makVrv::DtObserver::signal_viewMagnificationChanged |
Boost signal called when the observer's view magnification is changed.
| boost::signalslib::signal<void(DtObserver*, double)> makVrv::DtObserver::signal_lodScaleChanged |
Boost signal called when the observer's view magnification is changed.
| boost::signalslib::signal<void(DtObserver*, std::string)> makVrv::DtObserver::signal_paperMapLayerChanged |
Signal called when the observer's paper map layer is changed.
| boost::signalslib::signal<void (DtObserver*, DtObserverObject::SpeedScalingMode scalingMode)> makVrv::DtObserver::signal_speedScalingModeChanged |
Signal emitted when an observer's speed scaling mode changes.
| boost::signalslib::signal<void (DtObserver*, double offset)> makVrv::DtObserver::signal_speedScalingMslModeOffsetChanged |
Signal emitted when an observer's speed scaling MSL mode offset changes.
| boost::signalslib::signal<void(DtObserver*, bool)> makVrv::DtObserver::signal_lodScaleCenterEnabledChanged |
Boost signal called when the observer's lod scale center enabled is changed.
| boost::signalslib::signal<void(DtObserver*, double)> makVrv::DtObserver::signal_lodScaleCenterMagMinLimitChanged |
Boost signal called when the observer's lod scale view magnification minimum is changed.
| boost::signalslib::signal<void(DtObserver*, DtObserverObject::NorthType northType)> makVrv::DtObserver::signal_northTypeChanged |
Signal emitted when an observer's north type changed.
| boost::signalslib::signal<void (DtSensor*)> makVrv::DtObserver::signal_sensorChanged |
Called when the observer changes which sensor it's using.
Passes 0 when its sensor is disabled
| boost::signalslib::signal<void ()> makVrv::DtObserver::signal_terrainChanged |
Called when the observer sees a change in terrain which might require updates to observer settings.
|
staticprotected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
This is used as a work-around to cache attachments for entities which have not yet been created. It will eventually be removed and therefore should not be used.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |