![]() |
VR-Forces Developer's Guide
|
This abstract base class defines the interface for OS-specific keyboard and mouse event listeners.

Classes | |
| class | MotionState |
Public Types | |
| enum | TerrainResult { TerrainResultNoData = 0, TerrainResultNewCenter, TerrainResultComplete } |
Public Types inherited from makVrv::DtObserverObject | |
| enum | AttachType { AttachTypeTether, AttachTypeMimic, AttachTypeFollow, AttachTypeTrack, AttachTypeTetherTrack, AttachTypeMimicTrack, AttachTypeModelView, AttachTypeSpaceFollow, AttachTypeTetherLocationTrack, AttachTypeMimicLocationTrack } |
| enum | SpeedScalingMode { SpeedScalingAgl, SpeedScalingMsl } |
| enum | NorthType { NorthTypeTrueNorth, NorthTypeMagneticNorth, NorthTypeGridNorth } |
| typedef std::map< int, bool > | ModeSettingsMap |
Static Public Member Functions | |
| static void | matrixdToTaitBryan (const osg::Matrixd &mat, DtTaitBryan &tb, bool isWorld2D=false) |
| static double | clampUnity (double x) |
Protected Types | |
| typedef std::unordered_map < DtElementID, bool > | ElementVisibilityMap |
Protected Member Functions | |
| virtual bool | shouldOrientToGlobeCenter () |
| virtual void | adjustToGlobeCurvature () |
| virtual bool | shouldRotateGlobe () |
| virtual void | calcObserverWorldVectors () |
| virtual const osg::Vec3d & | observerWorldUp () const |
| virtual const osg::Vec3d & | observerWorldNorth () const |
| virtual const osg::Vec3d & | observerWorldEast () const |
| virtual const osg::Vec3d & | attachedWorldUp () const |
| virtual osg::Vec3d & | observerUp () |
| virtual osg::Vec3d & | observerFront () |
| virtual osg::Vec3d & | observerRight () |
| virtual void | observerBasis (osg::Vec3d &up, osg::Vec3d &front, osg::Vec3d &right) |
| virtual osg::Vec3d & | attachedUp () |
| virtual osg::Vec3d & | attachedFront () |
| virtual osg::Vec3d & | attachedRight () |
| virtual osg::Vec3d & | attachedOffsetUp () |
| virtual osg::Vec3d & | attachedOffsetFront () |
| virtual osg::Vec3d & | attachedOffsetRight () |
| virtual osg::Vec3d & | levelAttachedUp () |
| virtual osg::Vec3d & | levelAttachedFront () |
| virtual osg::Vec3d & | levelAttachedRight () |
| virtual osg::Vec3d & | levelObserverMimicUp () |
| virtual osg::Vec3d & | levelObserverMimicFront () |
| virtual osg::Vec3d & | levelObserverMimicRight () |
| virtual osg::Vec3d & | cameraUp () |
| virtual osg::Vec3d & | cameraFront () |
| virtual osg::Vec3d & | cameraRight () |
| virtual osg::Vec3d & | levelObserverUp () |
| virtual osg::Vec3d & | levelObserverFront () |
| virtual osg::Vec3d & | levelObserverRight () |
| virtual void | advanceOrbitLeft (double rads) |
| virtual void | advanceOrbitRight (double rads) |
| virtual void | advanceOrbitUp (double rads) |
| virtual void | advanceOrbitDown (double rads) |
| virtual void | makeLevelObserverMatrix () |
| virtual void | calculateLevelAttachedRotation () |
| virtual void | makeLevelObserverMimicMatrix () |
| virtual osg::Vec3d | calcWorldPositionChange () |
| virtual osg::Vec3d | calcMimicPositionChange () |
| virtual osg::Vec3d | calcAttachedPosition (const osg::Quat &attInverse, const osg::Vec3d &attachedAdvance) |
| virtual osg::Vec3d | calcAttachedAdvance (const osg::Quat &tetherTrackInverse) |
| virtual osg::Vec3d | calcFollowPositionChange () |
| virtual osg::Vec3d | calcSpaceFollowPositionChange () |
| virtual osg::Vec3d | calcTetherPositionChange () |
| virtual osg::Vec3d | calcTetherTrackPositionChange () |
| virtual osg::Vec3d | calcTrackPositionChange () |
| virtual osg::Quat | calcTetherTrackRotation () |
| virtual osg::Quat | calcFlashlightOrientationChange () |
| virtual osg::Quat | calcWorldOrientationChange () |
| virtual osg::Quat | calcTetherOrientationChange () |
| virtual osg::Quat | calcMimicOrientationChange () |
| virtual osg::Quat | calcFollowOrientationChange () |
| virtual void | setCurrentAttachmentsVisibility (bool visible) |
| virtual void | orientTo (const osg::Vec3d &target) |
| virtual void | orientCameraTo (const osg::Vec3d &target) |
| virtual TerrainResult | getTerrainCenter (const DtUniqueID &patchID, osg::Vec3d ¢er) |
| virtual DtCoordinateConverter & | coordinateConverter () |
| virtual const DtCoordinateConverter & | coordinateConverter () const |
| virtual void | initializeAttachment () |
| virtual const osg::Vec3d & | scalingIntersection () const |
| virtual void | getViewIntersection () |
| virtual double | linearSpeed () |
| virtual double | speedScalingGain () const |
| virtual void | calcTerrainConstraint (const osg::Vec3d &prev) |
| virtual bool | updateAttachPositionAndOrientation () |
| virtual bool | getSecondaryAttachPosition (osg::Vec3d &position) |
| virtual void | getObserverOffsetVector (double &x, double &y, double &z) const |
| virtual void | setObserverOffsetVector (double x, double y, double z) |
| virtual void | getAttachedRotationOffset (double &x, double &y, double &z, double &w) const |
| virtual void | setAttachedRotationOffset (double x, double y, double z, double w) |
| virtual void | getBoundingVolume (DtSceneObject &sceneObject, osg::Vec3 &bvolExtents, osg::Vec3d &bvolCenter) |
| virtual void | getBoundingVolume (DtTerrainPatchObject &patchObject, osg::Vec3 &bvolExtents, osg::Vec3d &bvolCenter) |
| virtual void | setLocation (const osg::Vec3d &location, bool suppress=true) |
| virtual bool | isMoving () const |
| virtual bool | isRotating () const |
| virtual double | computeNearClipDistance (DtSceneObject *sceneObject) |
| virtual float | computeLocalModelScalingAmount (DtSceneObject *sceneObject) |
| virtual void | calcScaledSpeed () |
| virtual bool | getTerrainOrPropIntersection (const osg::Vec3d &startPos, const osg::Vec3d &endPos, osg::Vec3d &result, const osg::Node::NodeMask mask=~DtOsgNodeFlags::FlagSupportOff) const |
| virtual DtSceneObject * | findSceneObjectFromElement (const DtElementID &id) |
| virtual DtTerrainPatchObject * | findTerrainPatchObjectFromElement (DtElementID id) |
| virtual DtOsgObserverObject * | findObserverObjectFromElement (DtElementID id) |
| virtual void | getPositionAndOrientation (DtSceneObject &sceneObject, osg::Vec3d &position, osg::Vec3d &orientToPosition, osg::Quat &orientation) |
| virtual void | getPositionAndOrientation (DtTerrainPatchObject &patchObject, osg::Vec3d &position, osg::Vec3d &orientToPosition, osg::Quat &orientation) |
| virtual void | getPositionAndOrientation (DtOsgObserverObject &observerObject, osg::Vec3d &position, osg::Vec3d &orientToPosition, osg::Quat &orientation) |
| virtual void | getPositionFromSceneObject (DtSceneObject &sceneObject, osg::Vec3d &position) const |
| virtual void | getPositionFromObserverObject (DtOsgObserverObject &observerObject, osg::Vec3d &position) const |
| virtual bool | getPartPositionOriFromSceneObject (DtSceneObject &sceneObject, int partId, osg::Vec3d &position, osg::Quat &ori) const |
| virtual void | force2D () |
| virtual void | dimensionChanged (bool is2D) |
| virtual void | setIs2D (bool is2D) |
| virtual double | calculate3DAltitude () const |
| virtual void | calculateAltitude () |
| virtual void | synchronizeLocation (double x, double y, double z) |
| virtual void | synchronizeOrientation (double x, double y, double z, double w) |
| virtual void | calcHeightAboveTerrain (bool force=false) |
| virtual double | frustumPixelHeight () const |
| virtual void | slot_coordinateSystemChanged () |
| virtual void | cache3DOffsetAndRotation () |
| virtual void | restoreAttachOffsetsFrom3DCache () |
| virtual void | slot_dateChanged () |
| virtual bool | getAttachedToBoundingVolume (DtSceneObject *const sceneObject, osg::Vec3d &boundingVolumeCenter, osg::Vec3 &boundingVolumeExtents, double &maxOffset, double &maxExtent) |
| virtual bool | setupAttachOffsetsAfterReset (DtSceneObject *const sceneObject, osg::Vec3d boundingVolumeCenter, osg::Vec3 boundingVolumeExtents, double maxOffset, double maxExtent) |
| virtual void | setupAttachOffsets (double maxExtent) |
| virtual void | reinitializeAfterBoundingVolumeChange () |
| virtual void | resetAfterBoundingVolumeChange () |
| virtual void | getCameraFromParentOffsetVector (double &x, double &y, double &z) const |
| virtual void | getCameraFromParentRotationOffset (double &x, double &y, double &z, double &w) const |
| std::list< DtChannel * > | findChannels () |
| std::list< const DtChannel * > | findChannels () const |
Static Protected Attributes | |
| static const double | theObserverBoundingSphere |
| static const double | theHeightAboveTerrainUpdatePeriod |
| static const double | theMaxTerrainRetryTime |
| static const double | theCenterConstrainHeight |
| static const double | theMinViewResolution |
| static const double | theMaxViewResolution |
|
protected |
| makVrv::DtOsgObserverObject::DtOsgObserverObject | ( | DtDe & | de, |
| DtUniqueID | id, | ||
| const std::string & | name = "" |
||
| ) |
CTOR.
|
virtual |
DTOR.
|
delete |
Unimplemented default constructor.
|
delete |
Unimplemented copy constructor.
|
delete |
Unimplemented assignment constructor.
|
virtual |
Update the observer object, calculates position of by sim Time.
Reimplemented from makVrv::DtObserverObject.
Reimplemented in makVrf::DtVrfOsgObserverObject.
|
virtual |
Update the observer per its attachments.
|
virtual |
Set the model set for this observer. Override from base class to make adjustments on model set changes.
Reimplemented from makVrv::DtObserverObject.
|
virtual |
Get the observer's altitude.
Implements makVrv::DtObserverObject.
|
virtual |
Set the observer object name Set the observer object name, and register this observer object with the observer object manager.
Reimplemented from makVrv::DtObserverObject.
|
virtual |
Used to set the camera offset and orientation from the observer's position and orientation. This is used to set an observer camera offset from the observer position/orientation. This is a different transform than the camera shake (applied after this transform) and the channel offset transform (applied after shake). It used by the virtual reality system Coordinates are expected to be in a Right-Front-Up coordinate system.
|
virtual |
|
virtual |
Reimplemented from makVrv::DtObserverObject.
|
static |
isWorld2D when in plan view mode, geocentric, looking at a globe size terrain
|
virtual |
Observer Control.
move right (body coordinates) Observer right movement (along the positive body X-axis)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
Observer Control.
move right (body coordinates) Observer right movement (along the positive body X-axis)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
Observer Control.
move right (body coordinates) Observer right movement (along the positive body X-axis)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
move forward (body coordinates) Observer forward movement (along the positive body Y-axis)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
Observer Control.
move right (body coordinates) Observer right movement (along the positive body X-axis)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
Observer Control.
move right (body coordinates) Observer right movement (along the positive body X-axis)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
move up (body coordinates) Observer up movement (along the positive body Z-axis)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
move up (body coordinates) Observer up movement (along the positive body Z-axis)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
move up (body coordinates) Observer up movement (along the positive body Z-axis)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
move left (body coordinates) Observer left movement (along the negative body X-axis)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
move left (body coordinates) Observer left movement (along the negative body X-axis)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
move left (body coordinates) Observer left movement (along the negative body X-axis)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
move back (body coordinates) Observer back movement (along the negative body Y-axis)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
move back (body coordinates) Observer back movement (along the negative body Y-axis)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
move back (body coordinates) Observer back movement (along the negative body Y-axis)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
move down (body coordinates) Observer down movement (along the negative body Z-axis)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
move down (body coordinates) Observer down movement (along the negative body Z-axis)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
move down (body coordinates) Observer down movement (along the negative body Z-axis)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
move right ('gravity' coordinates) gravity right movement (to the right of the current heading vector, projected onto the plane normal to gravity)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
move right ('gravity' coordinates) gravity right movement (to the right of the current heading vector, projected onto the plane normal to gravity)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
move right ('gravity' coordinates) gravity right movement (to the right of the current heading vector, projected onto the plane normal to gravity)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
move forward ('gravity' coordinates) gravity forward movement (in the direction of the current heading vector, projected onto the plane normal to gravity)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
move forward ('gravity' coordinates) gravity forward movement (in the direction of the current heading vector, projected onto the plane normal to gravity)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
move forward ('gravity' coordinates) gravity forward movement (in the direction of the current heading vector, projected onto the plane normal to gravity)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
move up ('gravity' coordinates) gravity up movement (in the opposite direction of the gravity vector)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
move up ('gravity' coordinates) gravity up movement (in the opposite direction of the gravity vector)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
move up ('gravity' coordinates) gravity up movement (in the opposite direction of the gravity vector)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
move left ('gravity' coordinates) gravity left movement (to the left of the current heading vector, projected onto the plane normal to gravity)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
move left ('gravity' coordinates) gravity left movement (to the left of the current heading vector, projected onto the plane normal to gravity)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
move left ('gravity' coordinates) gravity left movement (to the left of the current heading vector, projected onto the plane normal to gravity)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
move back ('gravity' coordinates) gravity back movement (in the opposite direction of the current heading vector, projected onto the plane normal to gravity)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
move back ('gravity' coordinates) gravity back movement (in the opposite direction of the current heading vector, projected onto the plane normal to gravity)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
move back ('gravity' coordinates) gravity back movement (in the opposite direction of the current heading vector, projected onto the plane normal to gravity)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
move down ('gravity' coordinates) gravity down movement (in the direction of the gravity vector)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
move down ('gravity' coordinates) gravity down movement (in the direction of the gravity vector)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
move down ('gravity' coordinates) gravity down movement (in the direction of the gravity vector)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
move right (body coordinates) Attached right movement (along the positive body X-axis)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
move right (body coordinates) Attached right movement (along the positive body X-axis)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
move right (body coordinates) Attached right movement (along the positive body X-axis)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
move forward (body coordinates) Attached forward movement (along the positive body Y-axis)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
move right (body coordinates) Attached right movement (along the positive body X-axis)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
move right (body coordinates) Attached right movement (along the positive body X-axis)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
move up (body coordinates) Attached up movement (along the positive body Z-axis)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
move up (body coordinates) Attached up movement (along the positive body Z-axis)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
move up (body coordinates) Attached up movement (along the positive body Z-axis)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
move left (body coordinates) Attached left movement (along the negative body X-axis)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
move left (body coordinates) Attached left movement (along the negative body X-axis)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
move left (body coordinates) Attached left movement (along the negative body X-axis)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
move back (body coordinates) Attached back movement (along the negative body Y-axis)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
move back (body coordinates) Attached back movement (along the negative body Y-axis)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
move back (body coordinates) Attached back movement (along the negative body Y-axis)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
move down (body coordinates) Attached down movement (along the negative body Z-axis)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
move down (body coordinates) Attached down movement (along the negative body Z-axis)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
move down (body coordinates) Attached down movement (along the negative body Z-axis)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
move right ('gravity' coordinates) gravity right movement (to the right of the current heading vector, projected onto the plane normal to gravity)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
move right ('gravity' coordinates) gravity right movement (to the right of the current heading vector, projected onto the plane normal to gravity)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
move right ('gravity' coordinates) gravity right movement (to the right of the current heading vector, projected onto the plane normal to gravity)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
move forward ('gravity' coordinates) gravity forward movement (in the direction of the current heading vector, projected onto the plane normal to gravity)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
move forward ('gravity' coordinates) gravity forward movement (in the direction of the current heading vector, projected onto the plane normal to gravity)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
move forward ('gravity' coordinates) gravity forward movement (in the direction of the current heading vector, projected onto the plane normal to gravity)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
move up ('gravity' coordinates) gravity up movement (in the opposite direction of the gravity vector)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
move up ('gravity' coordinates) gravity up movement (in the opposite direction of the gravity vector)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
move up ('gravity' coordinates) gravity up movement (in the opposite direction of the gravity vector)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
move left ('gravity' coordinates) gravity left movement (to the left of the current heading vector, projected onto the plane normal to gravity)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
move left ('gravity' coordinates) gravity left movement (to the left of the current heading vector, projected onto the plane normal to gravity)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
move left ('gravity' coordinates) gravity left movement (to the left of the current heading vector, projected onto the plane normal to gravity)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
move back ('gravity' coordinates) gravity back movement (in the opposite direction of the current heading vector, projected onto the plane normal to gravity)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
move back ('gravity' coordinates) gravity back movement (in the opposite direction of the current heading vector, projected onto the plane normal to gravity)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
move back ('gravity' coordinates) gravity back movement (in the opposite direction of the current heading vector, projected onto the plane normal to gravity)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
move down ('gravity' coordinates) gravity down movement (in the direction of the gravity vector)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
move down ('gravity' coordinates) gravity down movement (in the direction of the gravity vector)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
move down ('gravity' coordinates) gravity down movement (in the direction of the gravity vector)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
move right ('attached' coordinates) attached right movement (depends on attach mode)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
move right ('attached' coordinates) attached right movement (depends on attach mode)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
move right ('attached' coordinates) attached right movement (depends on attach mode)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
move forward ('attached' coordinates) attached forward movement (depends on attach mode)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
move forward ('attached' coordinates) attached forward movement (depends on attach mode)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
move forward ('attached' coordinates) attached forward movement (depends on attach mode)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
move up ('attached' coordinates) attached up movement (depends on attach mode)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
move up ('attached' coordinates) attached up movement (depends on attach mode)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
move up ('attached' coordinates) attached up movement (depends on attach mode)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
move left ('attached' coordinates) attached left movement (depends on attach mode)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
move left ('attached' coordinates) attached left movement (depends on attach mode)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
move left ('attached' coordinates) attached left movement (depends on attach mode)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
move back ('attached' coordinates) attached back movement (depends on attach mode)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
move back ('attached' coordinates) attached back movement (depends on attach mode)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
move back ('attached' coordinates) attached back movement (depends on attach mode)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
move down (depends on attach mode)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
move down (depends on attach mode)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
move down (depends on attach mode)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
yaw left (observer coordinates) yaw left movement (rotate left about the observer-Z axis)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
yaw left (observer coordinates) yaw left movement (rotate left about the observer-Z axis)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
yaw left (observer coordinates) yaw left movement (rotate left about the observer-Z axis)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
yaw right (observer coordinates) yaw right movement (rotate right about the observer-Z axis) axis)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
yaw right (observer coordinates) yaw right movement (rotate right about the observer-Z axis) axis)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
yaw right (observer coordinates) yaw right movement (rotate right about the observer-Z axis) axis)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
pitch up (observer coordinates) pitch up movement (rotate up around the current observer X-axis)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
pitch up (observer coordinates) pitch up movement (rotate up around the current observer X-axis)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
pitch up (observer coordinates) pitch up movement (rotate up around the current observer X-axis)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
pitch up (observer coordinates) pitch up movement (rotate up around the current observer X-axis)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
pitch down (observer coordinates) pitch down movement (rotate down around the current observer X-axis)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
pitch down (observer coordinates) pitch down movement (rotate down around the current observer X-axis)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
pitch down (observer coordinates) pitch down movement (rotate down around the current observer X-axis)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
pitch down (observer coordinates) pitch down movement (rotate down around the current observer X-axis)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
roll left (observer coordinates) roll left movement (rotate left around the current observer Y-axis)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
roll left (observer coordinates) roll left movement (rotate left around the current observer Y-axis)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
roll left (observer coordinates) roll left movement (rotate left around the current observer Y-axis)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
roll right (observer coordinates) roll right movement (rotate right around the current observer Y-axis)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
roll right (observer coordinates) roll right movement (rotate right around the current observer Y-axis)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
roll right (observer coordinates) roll right movement (rotate right around the current observer Y-axis)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
yaw left (level observer coordinates) yaw left movement (rotate left about the level observer-Z axis)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
yaw left (level observer coordinates) yaw left movement (rotate left about the level observer-Z axis)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
yaw right (level observer coordinates) yaw right movement (rotate right about the level observer-Z axis) axis)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
yaw right (level observer coordinates) yaw right movement (rotate right about the level observer-Z axis) axis)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
pitch up (level observer coordinates) pitch up movement (rotate up around the current level observer X-axis)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
pitch up (level observer coordinates) pitch up movement (rotate up around the current level observer X-axis)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
pitch up (level observer coordinates) pitch up movement (rotate up around the current level observer X-axis)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
pitch down (level observer coordinates) pitch down movement (rotate down around the current level observer X-axis)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
pitch down (level observer coordinates) pitch down movement (rotate down around the current level observer X-axis)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
pitch down (level observer coordinates) pitch down movement (rotate down around the current level observer X-axis)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
roll left (level observer coordinates) roll left movement (rotate left around the current level observer Y-axis)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
roll left (level observer coordinates) roll left movement (rotate left around the current level observer Y-axis)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
roll left (level observer coordinates) roll left movement (rotate left around the current level observer Y-axis)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
roll right (level observer coordinates) roll right movement (rotate right around the current level observer Y-axis)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
roll right (level observer coordinates) roll right movement (rotate right around the current level observer Y-axis)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
roll right (level observer coordinates) roll right movement (rotate right around the current level observer Y-axis)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
yaw left (level observer coordinates) yaw left movement (rotate left about the level observer-Z axis)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
yaw right (level observer coordinates) yaw right movement (rotate right about the level observer-Z axis) axis)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
yaw left (observer coordinates) yaw left movement (rotate left about the observer-Z axis)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
yaw right (observer coordinates) yaw right movement (rotate right about the observer-Z axis) axis)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
Camera Control.
rotate camera left (observer coordinates) Look left, wrt the observer
Reimplemented from makVrv::DtObserverObject.
|
virtual |
Camera Control.
rotate camera left (observer coordinates) Look left, wrt the observer
Reimplemented from makVrv::DtObserverObject.
|
virtual |
Camera Control.
rotate camera left (observer coordinates) Look left, wrt the observer
Reimplemented from makVrv::DtObserverObject.
|
virtual |
rotate camera right (observer coordinates) Look right, wrt the observer
Reimplemented from makVrv::DtObserverObject.
|
virtual |
rotate camera right (observer coordinates) Look right, wrt the observer
Reimplemented from makVrv::DtObserverObject.
|
virtual |
rotate camera right (observer coordinates) Look right, wrt the observer
Reimplemented from makVrv::DtObserverObject.
|
virtual |
rotate camera up (observer coordinates) Look up, wrt the observer
Reimplemented from makVrv::DtObserverObject.
|
virtual |
rotate camera up (observer coordinates) Look up, wrt the observer
Reimplemented from makVrv::DtObserverObject.
|
virtual |
rotate camera up (observer coordinates) Look up, wrt the observer
Reimplemented from makVrv::DtObserverObject.
|
virtual |
rotate camera down (observer coordinates) Look down, wrt the observer
Reimplemented from makVrv::DtObserverObject.
|
virtual |
rotate camera down (observer coordinates) Look down, wrt the observer
Reimplemented from makVrv::DtObserverObject.
|
virtual |
rotate camera down (observer coordinates) Look down, wrt the observer
Reimplemented from makVrv::DtObserverObject.
|
virtual |
roll the camera right (observer coordinates) Roll look right, wrt the observer
Reimplemented from makVrv::DtObserverObject.
|
virtual |
roll the camera right (observer coordinates) Roll look right, wrt the observer
Reimplemented from makVrv::DtObserverObject.
|
virtual |
roll the camera right (observer coordinates) Roll look right, wrt the observer
Reimplemented from makVrv::DtObserverObject.
|
virtual |
roll the camera left (observer coordinates) Roll look left, wrt the observer
Reimplemented from makVrv::DtObserverObject.
|
virtual |
roll the camera left (observer coordinates) Roll look left, wrt the observer
Reimplemented from makVrv::DtObserverObject.
|
virtual |
roll the camera left (observer coordinates) Roll look left, wrt the observer
Reimplemented from makVrv::DtObserverObject.
|
virtual |
orbit around current target left (observer coordinates) Orbit left, wrt the current target
Reimplemented from makVrv::DtObserverObject.
|
virtual |
orbit around current target left (observer coordinates) Orbit left, wrt the current target
Reimplemented from makVrv::DtObserverObject.
|
virtual |
orbit around current target left (observer coordinates) Orbit left, wrt the current target
Reimplemented from makVrv::DtObserverObject.
|
virtual |
orbit around current target right (observer coordinates) Orbit right, wrt the current target
Reimplemented from makVrv::DtObserverObject.
|
virtual |
orbit around current target right (observer coordinates) Orbit right, wrt the current target
Reimplemented from makVrv::DtObserverObject.
|
virtual |
orbit around current target right (observer coordinates) Orbit right, wrt the current target
Reimplemented from makVrv::DtObserverObject.
|
virtual |
orbit around current target up (observer coordinates) Orbit up, wrt the current target
Reimplemented from makVrv::DtObserverObject.
|
virtual |
orbit around current target up (observer coordinates) Orbit up, wrt the current target
Reimplemented from makVrv::DtObserverObject.
|
virtual |
orbit around current target up (observer coordinates) Orbit up, wrt the current target
Reimplemented from makVrv::DtObserverObject.
|
virtual |
orbit around current target down (observer coordinates) Orbit down, wrt the current target
Reimplemented from makVrv::DtObserverObject.
|
virtual |
orbit around current target down (observer coordinates) Orbit down, wrt the current target
Reimplemented from makVrv::DtObserverObject.
|
virtual |
orbit around current target down (observer coordinates) Orbit down, wrt the current target
Reimplemented from makVrv::DtObserverObject.
jump to x, y, z
Reimplemented from makVrv::DtObserverObject.
|
overridevirtual |
jump to x, y, z in attached entity coords. In space attach mode, the location is interpreted as a direction since the observer is always at a fixed distance in space attach mode.
Implements makVrv::DtObserverObject.
|
overridevirtual |
Implements makVrv::DtObserverObject.
|
overridevirtual |
Implements makVrv::DtObserverObject.
|
overridevirtual |
Implements makVrv::DtObserverObject.
|
overridevirtual |
Implements makVrv::DtObserverObject.
|
virtual |
turn to psi, theta, phi
Reimplemented from makVrv::DtObserverObject.
|
virtual |
turn to psi, theta, phi in North-East-Down reference
Reimplemented from makVrv::DtObserverObject.
|
virtual |
turn to quat(x,y,z,w)
Reimplemented from makVrv::DtObserverObject.
|
overridevirtual |
turn to psi, theta, phi in attached entity coords
Implements makVrv::DtObserverObject.
|
overridevirtual |
Implements makVrv::DtObserverObject.
|
overridevirtual |
Implements makVrv::DtObserverObject.
|
overridevirtual |
Implements makVrv::DtObserverObject.
|
overridevirtual |
Implements makVrv::DtObserverObject.
|
virtual |
turn to quat(x,y,z,w) in attached entity coords
|
virtual |
Sets whether local model scaling is enabled for attached entities in space attach mode.
Reimplemented from makVrv::DtObserverObject.
|
virtual |
Sets the amount of local model scaling to apply to attached entities when in space attach mode.
Reimplemented from makVrv::DtObserverObject.
jump to x, y, z and then the observer is 'backed off' the location based on the distance of the jump.
Reimplemented from makVrv::DtObserverObject.
|
virtual |
jump to object specfied by ID
Reimplemented from makVrv::DtObserverObject.
Reimplemented from makVrv::DtObserverObject.
|
virtual |
drag the database point 'last' to the point 'curr'
Reimplemented from makVrv::DtObserverObject.
|
virtual |
Reimplemented from makVrv::DtObserverObject.
|
virtual |
Reimplemented from makVrv::DtObserverObject.
|
virtual |
Reimplemented from makVrv::DtObserverObject.
|
virtual |
Reimplemented from makVrv::DtObserverObject.
|
virtual |
Reimplemented from makVrv::DtObserverObject.
|
virtual |
Reimplemented from makVrv::DtObserverObject.
|
virtual |
Reimplemented from makVrv::DtObserverObject.
|
virtual |
Reimplemented from makVrv::DtObserverObject.
|
virtual |
Reimplemented from makVrv::DtObserverObject.
|
virtual |
Reimplemented from makVrv::DtObserverObject.
|
virtual |
Reimplemented from makVrv::DtObserverObject.
|
virtual |
Outer angle of flashlight cone.
|
virtual |
Zoom handling. Works in 2D view mode only.
Reimplemented from makVrv::DtObserverObject.
|
virtual |
Sets level of zoom (where 1 is default level, < 1 is zoom out > 1 is zoom in)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
Sets level of zoom (where 1 is default level, < 1 is zoom out > 1 is zoom in)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
Sets level of zoom (where 1 is default level, < 1 is zoom out > 1 is zoom in)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
Sets level of zoom (where 1 is default level, < 1 is zoom out > 1 is zoom in)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
Sets level of zoom (where 1 is default level, < 1 is zoom out > 1 is zoom in)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
Sets level of zoom (where 1 is default level, < 1 is zoom out > 1 is zoom in)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
Zoom factor. Used to scale terrain and objects.
Reimplemented from makVrv::DtObserverObject.
|
virtual |
Set the observer's current view magnification. Considered when calculating scaled speed and converting between 2D and 3D. THIS DOES NOT CREATE A VIEW MAGNIFICATION EFFECT; IT SIMPLY INFORMS THE OBSERVER OBJECT OF THE CURRENT EFFECT IN USE. Use DtObserver::setViewMagnification to magnify the view.
Implements makVrv::DtObserverObject.
|
virtual |
Get the observer's current view magnification.
Implements makVrv::DtObserverObject.
|
virtual |
Speed mutators.
Set the speed used for left/right orbiting
Reimplemented from makVrv::DtObserverObject.
|
virtual |
Set the speed used for forward/backleft/right/up/down movement (observer and camera)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
Set the speed used for rotation (observer and camera)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
Set the minimum linear speed (used for speed scaling)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
Set the maximum linear speed (used for speed scaling)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
Set the linear gain as a % of max gain (precision)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
Go to the terrain patch's center Go to the center of the specified terrain path, offset by the scene offsets specified in the observer's configuration. The retry flag indicates if the observer should retry this operation if it fails due to unfound terrain.
Reimplemented from makVrv::DtObserverObject.
|
virtual |
reset orientation and position offsets
Reimplemented from makVrv::DtObserverObject.
|
virtual |
Reset observer and camera orientation Set observer orientation to North and level, and set the camera aligned with the observer.
Reimplemented from makVrv::DtObserverObject.
|
virtual |
set camera to face the same direction as the observer
Reimplemented from makVrv::DtObserverObject.
|
virtual |
Make the observer level Set the observer's pitch and roll angles normal to the gravity vector.
Reimplemented from makVrv::DtObserverObject.
|
virtual |
Stop all current motion.
Reimplemented from makVrv::DtObserverObject.
|
virtual |
Reimplemented from makVrv::DtObserverObject.
|
virtual |
Reimplemented from makVrv::DtObserverObject.
|
virtual |
|
virtual |
Reimplemented from makVrv::DtObserverObject.
|
virtual |
Reimplemented from makVrv::DtObserverObject.
|
virtual |
Reimplemented from makVrv::DtObserverObject.
|
virtual |
Set the type of observer attachment.
Reimplemented from makVrv::DtObserverObject.
|
virtual |
Reimplemented from makVrv::DtObserverObject.
|
virtual |
Set whether or not the (attached) observer will use the bounding volume of the object it is attached when it attaches and when / if the bvol changes.
Implements makVrv::DtObserverObject.
|
virtual |
Get whether or not the (attached) observer will use the bounding volume of the object it is attached when it attaches and when / if the bvol changes.
Implements makVrv::DtObserverObject.
|
virtual |
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.
Reimplemented from makVrv::DtObserverObject.
|
virtual |
|
virtual |
Reimplemented from makVrv::DtObserverObject.
|
virtual |
Reimplemented from makVrv::DtObserverObject.
|
virtual |
Reimplemented from makVrv::DtObserverObject.
|
virtual |
constrain by terrain
Reimplemented from makVrv::DtObserverObject.
|
virtual |
Reimplemented from makVrv::DtObserverObject.
|
virtual |
if constrain to terrain is on, suppress or end suppress if constrain to terrain is not on, do nothing
Reimplemented from makVrv::DtObserverObject.
|
virtual |
scale speed based on distance from object of interest
Reimplemented from makVrv::DtObserverObject.
|
virtual |
Used for reset when there is no terrain.
Reimplemented from makVrv::DtObserverObject.
|
virtual |
Get the position/location of the observer platform.
Reimplemented from makVrv::DtObserverObject.
|
virtual |
Get the position/location of the observer platform.
|
virtual |
Get the position/location of the observer platform.
Reimplemented from makVrv::DtObserverObject.
|
virtual |
Get the position of the observer's camera, which may be offset from the observer platform.
Reimplemented from makVrv::DtObserverObject.
|
virtual |
Get orientation in euler angles in the current coordinate system.
Reimplemented from makVrv::DtObserverObject.
|
virtual |
Get the orientation of the camera rotated by the orientation of the observer (so, where the camera is actually looking)
Reimplemented from makVrv::DtObserverObject.
|
virtual |
Get orientation in euler angles in a North-East-Down (topographic) reference.
Reimplemented from makVrv::DtObserverObject.
|
virtual |
Reimplemented from makVrv::DtObserverObject.
|
virtual |
|
virtual |
Get a vector representation of the observer's front axis; this is before the camera orientation is applied.
Reimplemented from makVrv::DtObserverObject.
|
virtual |
Get a vector representation of the observer's up axis; this is before the camera orientation is applied.
Reimplemented from makVrv::DtObserverObject.
|
virtual |
Get a vector representation of the observer's right axis; this is before the camera orientation is applied.
Reimplemented from makVrv::DtObserverObject.
|
virtual |
Get a vector representation of the observer * camera front axis This is where the observer is actually looking.
Reimplemented from makVrv::DtObserverObject.
|
virtual |
Get a vector representation of the observer * camera up axis.
Reimplemented from makVrv::DtObserverObject.
|
virtual |
Get a vector representation of the observer * camera right axis.
Reimplemented from makVrv::DtObserverObject.
|
virtual |
Get a vector representation of the observer's camera's up axis.
Reimplemented from makVrv::DtObserverObject.
|
virtual |
Get a vector representation of the observer's camera's front axis.
Reimplemented from makVrv::DtObserverObject.
|
virtual |
Get a vector representation of the observer's camera's right axis.
Reimplemented from makVrv::DtObserverObject.
|
virtual |
Set the camera shake rotation.
Reimplemented from makVrv::DtObserverObject.
|
virtual |
Get the camera shake rotation.
Reimplemented from makVrv::DtObserverObject.
|
virtual |
For 2D display mode, calculates the altitude to use to set camera position in 2D mode.
calculate a height above terrain that will correspond, when in 3D, to the same perceived HAT when in 2D
|
virtual |
calculate an altitude that will correspond, when in 3D, to the same perceived altitude when in 2D. It does so by adding the current height of terrain under the observer to heightAboveTerrainFromCurrentZoom()
|
virtual |
calculate a zoom that will correspond, when in 2D, to the specified height above terrain.
Implements makVrv::DtObserverObject.
|
virtual |
calculate a zoom that will correspond, when in 2D, to the specified 3D altitude
|
virtual |
calculate a zoom that will correspond, when in 2D, to the same perceived altitude when in 3D if unattached (calls zoomFromAltitude) or a reasonable zoom value to use when attached
|
virtual |
Get the observer's topographic heading, regardless of coordinate system currently in use.
Reimplemented from makVrv::DtObserverObject.
|
virtual |
Get the observer's linear velocity.
Reimplemented from makVrv::DtObserverObject.
|
virtual |
Get the observer's rotational velocity.
Reimplemented from makVrv::DtObserverObject.
Override base class; since a mode setting may require attention during tick, this calls down to DtObserverObject::setModeSetting() and then sets myChanged to true.
Reimplemented from makVrv::DtObserverObject.
|
virtual |
Override base class; since a mode setting may require attention during tick, this calls down to DtObserverObject::setNorthType() and then sets myChanged to true.
Reimplemented from makVrv::DtObserverObject.
|
virtual |
Return a vector of element ids that this observer is currently attached to.
Implements makVrv::DtObserverObject.
|
virtual |
Return / get the tracked location when in TetherLocationTrack or MimicLocationTrack modes.
|
virtual |
Return / get the tracked location when in TetherLocationTrack or MimicLocationTrack modes.
Implements makVrv::DtObserverObject.
|
virtual |
Returns the current 3D attach type (if not attached, this is the attach type that will be used by default the next time the observer does attach.
|
virtual |
Returns the current 3D attach type (if not attached, this is the attach type that will be used by default the next time the observer does attach.
|
virtual |
Returns whether objects are hidden on attach.
|
virtual |
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.
|
virtual |
When attached, returns the vector from the observer to the (first) attached-to object. Undefined otherwise.
|
virtual |
When attached, returns the bounding volume radius plus any center offset of the (first) attached-to object for use in calculating the largest near clip distance that won't cut off the entity.
|
virtual |
Get the cached height above terrain.
Implements makVrv::DtObserverObject.
|
virtual |
Get the cached height of terrain.
|
virtual |
access the intersectors' container. const.
|
virtual |
access the intersectors' container. non-const.
|
protectedvirtual |
Test whether the observer should orient itself to face the center of a globe terrain.
|
protectedvirtual |
Adjust observer movement to the curvature of a globe terrain.
|
protectedvirtual |
True if the current terrain is a globe and observer movement should adjust to its curvature.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
for follow mode
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
for level observer in mimic mode
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
for follow mode
|
protectedvirtual |
for mimic mode
|
protectedvirtual |
processes observer and gravity advance and position vectors to create a single composite move. Used for Unattached, Tether, and track
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
Set the current observer orientation to face the target This sets pitch and heading roll is 0 when unattached or in tether or track mode. Roll is set via the attached to object's up vector in mimic attach. The math involved won't allow orientation to pass through 90 (or 270) degrees. If it attempts to, it won't change orientation at all and backs out the current position change.
Calls orientTo with current position as previousPosition. For use by jumpTo (where the constraint shouldn't be hit.
|
protectedvirtual |
Set the current camera orientation to face the target.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
Takes speed scaling into account.
Reimplemented from makVrv::DtObserverObject.
|
protectedvirtual |
Returns the gain used to scale speed scaling.
|
protectedvirtual |
|
protectedvirtual |
if attached to a single object, that objects position; otherwise, the centroid of all the attached objects' positions if attached to a single object, that objects orientation; otherwise, the current observer's orientation Returns false if at least one attached entity can't be found
|
protectedvirtual |
|
protectedvirtual |
Reimplemented from makVrv::DtObserverObject.
|
protectedvirtual |
Reimplemented from makVrv::DtObserverObject.
|
protectedvirtual |
These are the difference between the observer's camera and the object that the observer is attached to.
Reimplemented from makVrv::DtObserverObject.
|
protectedvirtual |
These are the difference between the observer's camera and the object that the observer is attached to.
Reimplemented from makVrv::DtObserverObject.
|
protectedvirtual |
Reimplemented from makVrv::DtObserverObject.
|
protectedvirtual |
Reimplemented from makVrv::DtObserverObject.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
Only called by master; indicates linear motion other than that caused by the movement of something we're attached to.
Reimplemented from makVrv::DtObserverObject.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
Find a scene object by it's unique element id.
|
protectedvirtual |
Find a terrain patch object by it's unique element id (was used by freeView).
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
Get the Position from a scene object.
|
protectedvirtual |
Get the Position from an observer object.
|
protectedvirtual |
Get the Part position from a scene object.
|
protectedvirtual |
After all items are calculated in tick, call this routine to effect the position or rotation given the visual display mode.
|
protectedvirtual |
Called when visual mode is set, will effect position or rotation due to mode change.
|
protectedvirtual |
Set if the observer is using 2D nav mode.
Reimplemented from makVrv::DtObserverObject.
|
protectedvirtual |
Calculate the altitude based on the observer's 3D position.
|
protectedvirtual |
Sets myAltitude using altitudeFromCurrentZoom() or calculate3DAltitude() depending on 2D/3D mode.
|
protectedvirtual |
Reimplemented from makVrv::DtObserverObject.
|
protectedvirtual |
Reimplemented from makVrv::DtObserverObject.
|
protectedvirtual |
Calculate the height above terrain (and also sets height of terrain). This method will only do the terrain intersection needed under a very specific set of circumstances in an effort to reduce intersection calls. It will only do an intersection if the the observer has moved AND the observer is using speed scaling AND if the observer is attached to an entity, only if suppress intersect on attach is false has not moved since the last check. It will not do the intersection if the observer is attached and the command line indicates that indicated that suppressHatIntersectOnAttach AND if allowed, no more than 10 per second. For use as a simulator view, you can eliminate this intersection call completely by turning off speed scaling (don't need it if your attached) and indicating that intersects should be suppressed on attach. N.B. The height is ALSO used by the channel to determine dynamic near and far clipping planes. So if you are suppressing this intersection, you should also switch to using fixed near and far clipping planes in your channel configuration.
|
protected |
Utility function that returns the list of channels whose observer is this observer.
|
protected |
Utility function that returns the list of channels whose observer is this observer.
|
protectedvirtual |
This method takes the viewport width or height in pixels (depending on the projection resize policy) and the frustum angle (again, left to right or bottom to top) and calculates the 'height' of the frustum if you were looking straight down. This can then be multiplied by the view resolution to approximate a height above terrain, when switching from 2D to 3D, that will match the apparent height of the 2D view. If the current height above terrain in 3D mode is divided by this value, it provides a view resolution that will cause a 2D view to appear to be the same height as the current 3D view. It is called by zoomFromHeightAboveTerrain() and heightAboveTerrainFromCurrentZoom().
|
protectedvirtual |
slot for when the coordinate system changes
|
protectedvirtual |
Cache observer offsets and rotations. Only called when observer dimension is 3D.
|
protectedvirtual |
Restore attached offsets that have been subsequently cached.
|
protectedvirtual |
Attached to the DtDeTimeManagerSignaler's signal_dateChanged signal. This is so we can adjust when aligned to magnetic north (which will change with the date)
|
protectedvirtual |
Find the bounding volume of an attached to object, and find it's max offset and extent based on that bvol (all returned through parameters). Returns false if the bounding volume was <0., 0., 0.> ; true otherwise.
|
protectedvirtual |
Calculates and sets the attachment offsets based on the attached-to objects bounding volume. Returns true if the attached orientation should be reset; false otherwise. Used for a first attach; after a reset; or when the bounding volume of the attached object changes after a reset.
|
protectedvirtual |
Set up attached offsets based on the previous attachement offsets and scale by the maxExtent (calculated from the attached object's bounding volume). Used for subsequent attachments; or when the bounding volume of the attached object changes after a a subsequent (non-reset) attachment.
|
protectedvirtual |
Attached to DtSceneObject::signal_boundingVolumeChanged after a non-reset attachment, this method makes the necessary changes after an attached object's bounding volume changes.
|
protectedvirtual |
Attached to DtSceneObject::signal_boundingVolumeChanged after a reset attachment, this method makes the necessary changes after an attached object's bounding volume changes.
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
— Observer
Current ENU position of observer, as an osg::Vec3d
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Current offset from an attachment, when attached.
|
protected |
Used for switching between track mode and other attached modes.
|
protected |
Change in observer position this frame.
|
protected |
Gravity change in observer position this frame.
|
protected |
|
protected |
|
protected |
Change in world position due to drag.
|
protected |
|
protected |
|
protected |
largest of the distances currently in play in a given frame. This is how far we'll advance. go. The other distances (in myObserverAdvance) will determine direction when normalized.
|
protected |
My Attached rotation offset.
|
protected |
This is our ENU observer orientation as a quaternion.
|
protected |
|
protected |
Flashlight orientation offset as a quaternion.
|
protected |
This is used for switching between track mode and other attach modes.
|
protected |
This is here so we can be in tether attach mode, detach, then attach to another entity and have a reasonable orientation wrt the observer offset vector that will be used.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
This variable is true when the bounding radius is too big The reset view will be from far away trying to see the whole terrain like the globe.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Need just these, for terrain scaling.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
-— Camera
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
This is the combined camera/observer orientation; this is what the DtOsgChannel uses to orient itself.
|
protected |
This is the combined camera/observer orientation; this is what the DtOsgChannel uses to orient itself.
|
protected |
This is the camera offset wrt to observer.
|
protected |
This is the camera (wrt the observer) as a quaternion.
|
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 |
suppress when jumping...
|
protected |
suppress when told to
|
protected |
This is an int rather than a bool because we increment/decrement it, much like a reference pointer. When the last thing that needs the constraint decrements it, it will be 0 (false). When one or more functions need the constraint, it will be > 0 (true)
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Whether or not the observer is using bounding volumes for attached offsets. This is all the time for most cases, like GUI attach or View Commands); the exception is when using setFromRecord (which is also used by bind observers) because the attached offsets are part of the attachment record. If this flag is true then the observer will listen for DtSceneObject::signal_boundingVolumeChanged, because due to multiple models and / or background loading the scene objects bounding volume may not be (fully) set when initializeAttachment is called.
|
protected |
|
protected |
|
protected |
|
mutableprotected |
|
mutableprotected |
|
protected |
|
protected |
|
protected |
|
protected |
for backing out if we hit a constraint
|
protected |
|
protected |
|
protected |
Currently for 2D only, these variables will be ignored if projecting in 3D mode.
|
protected |
|
protected |
|
protected |
Only used in 3D.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
local clone of the system wide coordinate system. for thread safety.