Public Member Functions |
| | DtVrfOsgObserverObject (makVrv::DtDe &de, makVrv::DtUniqueID id, const std::string &name="") |
| virtual | ~DtVrfOsgObserverObject () |
| virtual void | tick (double simTime) |
| | Update the observer object, calculates position of by sim Time.
|
| | DtOsgObserverObject (DtDe &de, DtUniqueID id, const std::string &name="") |
| | CTOR.
|
| virtual | ~DtOsgObserverObject () |
| | DTOR.
|
| virtual void | tickAttachment () |
| | Update the observer per its attachments.
|
| virtual void | setModelSet (int modelSet) |
| | Set the model set for this observer.
|
| virtual double | altitude () const |
| | Get the observer's altitude.
|
| virtual void | setNameAndRegister (const std::string &name) |
| | Set the observer object name Set the observer object name, and register this observer object with the observer object manager.
|
| virtual void | getCameraPositionAndOrientation (osg::Vec3d &position, osg::Quat &rotation) const |
| virtual void | rotateLevelYawLeft (double rads) |
| | yaw left (level observer coordinates) yaw left movement (rotate left about the level observer-Z axis)
|
| virtual void | rotateLevelYawRight (double rads) |
| | yaw right (level observer coordinates) yaw right movement (rotate right about the level observer-Z axis) axis)
|
| virtual void | rotateFlashlightYawLeft (double rads) |
| | yaw left (observer coordinates) yaw left movement (rotate left about the observer-Z axis)
|
| virtual void | rotateFlashlightYawRight (double rads) |
| | yaw right (observer coordinates) yaw right movement (rotate right about the observer-Z axis) axis)
|
| virtual void | startLookLeft () |
| | Camera Control.
|
| virtual void | stopLookLeft () |
| | Camera Control.
|
| virtual void | lookLeft (double rads) |
| | Camera Control.
|
| virtual void | startLookRight () |
| | rotate camera right (observer coordinates) Look right, wrt the observer
|
| virtual void | stopLookRight () |
| | rotate camera right (observer coordinates) Look right, wrt the observer
|
| virtual void | lookRight (double rads) |
| | rotate camera right (observer coordinates) Look right, wrt the observer
|
| virtual void | startLookUp () |
| | rotate camera up (observer coordinates) Look up, wrt the observer
|
| virtual void | stopLookUp () |
| | rotate camera up (observer coordinates) Look up, wrt the observer
|
| virtual void | lookUp (double rads) |
| | rotate camera up (observer coordinates) Look up, wrt the observer
|
| virtual void | startLookDown () |
| | rotate camera down (observer coordinates) Look down, wrt the observer
|
| virtual void | stopLookDown () |
| | rotate camera down (observer coordinates) Look down, wrt the observer
|
| virtual void | lookDown (double rads) |
| | rotate camera down (observer coordinates) Look down, wrt the observer
|
| virtual void | startLookTiltRight () |
| | roll the camera right (observer coordinates) Roll look right, wrt the observer
|
| virtual void | stopLookTiltRight () |
| | roll the camera right (observer coordinates) Roll look right, wrt the observer
|
| virtual void | lookTiltRight (double rads) |
| | roll the camera right (observer coordinates) Roll look right, wrt the observer
|
| virtual void | startLookTiltLeft () |
| | roll the camera left (observer coordinates) Roll look left, wrt the observer
|
| virtual void | stopLookTiltLeft () |
| | roll the camera left (observer coordinates) Roll look left, wrt the observer
|
| virtual void | lookTiltLeft (double rads) |
| | roll the camera left (observer coordinates) Roll look left, wrt the observer
|
| virtual void | setLocation (double x, double y, double z) |
| | jump to x, y, z
|
| virtual void | setAttachedLocation (double x, double y, double z) |
| | jump to x, y, z in attached entity coords.
|
| virtual void | setOrientation (double psi, double theta, double phi) |
| | turn to psi, theta, phi
|
| virtual void | setTopographicOrientation (double psi, double theta, double phi) |
| | turn to psi, theta, phi in North-East-Down reference
|
| virtual void | setOrientation (double x, double y, double z, double w) |
| | turn to quat(x,y,z,w)
|
| virtual void | setAttachedOrientation (double psi, double theta, double phi) |
| | turn to psi, theta, phi in attached entity coords
|
| virtual void | setAttachedOrientation (double x, double y, double z, double w) |
| | turn to quat(x,y,z,w) in attached entity coords
|
| void | setLocalModelScalingEnabled (bool enabled) |
| | Sets whether local model scaling is enabled for attached entities in space attach mode.
|
| void | setLocalModelScalingAmount (float amount) |
| | Sets the amount of local model scaling to apply to attached entities when in space attach mode.
|
| virtual void | jumpTo (double x, double y, double z) |
| | jump to x, y, z and then the observer is 'backed off' the location
|
| virtual void | jumpTo (DtUniqueID elementID) |
| | jump to object specfied by ID
|
| virtual void | orientTo (double x, double y, double z) |
| virtual void | dragTerrain (double lastX, double lastY, double lastZ, double currX, double currY, double currZ) |
| | drag the database point 'last' to the point 'curr'
|
| virtual void | dragTerrain2 (double myStartDragX, double myStartDragY, double myStartDragZ, int deltaMouseX, int deltaMouseY) |
| virtual void | dragGravityUp (double windowUnits) |
| virtual void | dragGravityDown (double windowUnits) |
| virtual void | dragGravityLeft (double windowUnits) |
| virtual void | dragGravityRight (double windowUnits) |
| virtual void | scrollObserverForward (int wheelUnits) |
| virtual void | scrollObserverBack (int wheelUnits) |
| virtual void | scrollLevelObserverForward (int wheelUnits) |
| virtual void | scrollLevelObserverBack (int wheelUnits) |
| virtual void | scrollFlashlightWider (int wheelUnits) |
| virtual void | scrollFlashlightNarrower (int wheelUnits) |
| virtual float | flashlightAngle () |
| | Outer angle of flashlight cone.
|
| virtual void | startIncreasingViewResolution () |
| | Zoom handling. Works in 2D view mode only.
|
| virtual void | stopIncreasingViewResolution () |
| | Sets level of zoom (where 1 is default level, < 1 is zoom out > 1 is zoom in)
|
| virtual void | increaseViewResolution () |
| | Sets level of zoom (where 1 is default level, < 1 is zoom out > 1 is zoom in)
|
| virtual void | startDecreasingViewResolution () |
| | Sets level of zoom (where 1 is default level, < 1 is zoom out > 1 is zoom in)
|
| virtual void | stopDecreasingViewResolution () |
| | Sets level of zoom (where 1 is default level, < 1 is zoom out > 1 is zoom in)
|
| virtual void | decreaseViewResolution () |
| | Sets level of zoom (where 1 is default level, < 1 is zoom out > 1 is zoom in)
|
| virtual void | setViewResolution (double resolution) |
| | Sets level of zoom (where 1 is default level, < 1 is zoom out > 1 is zoom in)
|
| virtual double | viewResolution () const |
| | Zoom factor. Used to scale terrain and objects.
|
| virtual void | setCurrentViewMagnification (double mag) |
| | Set the observer's current view magnification.
|
| virtual double | currentViewMagnification () const |
| | Get the observer's current view magnification.
|
| virtual void | setOrbitSpeed (double speed) |
| | Speed mutators.
|
| virtual void | setLinearSpeed (double speed) |
| | Set the speed used for forward/backleft/right/up/down movement (observer and camera)
|
| virtual void | setRotationSpeed (double speed) |
| | Set the speed used for rotation (observer and camera)
|
| virtual void | setMinLinearSpeed (double minSpeed) |
| | Set the minimum linear speed (used for speed scaling)
|
| virtual void | setMaxLinearSpeed (double maxSpeed) |
| | Set the maximum linear speed (used for speed scaling)
|
| virtual void | setLinearScaledSpeedGain (double gain) |
| | Set the linear gain as a % of max gain (precision)
|
| virtual void | gotoTerrainCenter (DtUniqueID terrainPatch, bool retry) |
| | 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.
|
| virtual void | resetAttachment () |
| | reset orientation and position offsets
|
| virtual void | resetOrientation () |
| | Reset observer and camera orientation Set observer orientation to North and level, and set the camera aligned with the observer.
|
| virtual void | resetCamera () |
| | set camera to face the same direction as the observer
|
| virtual void | level () |
| | Make the observer level Set the observer's pitch and roll angles normal to the gravity vector.
|
| virtual void | stopAll () |
| | Stop all current motion.
|
| virtual void | attachToObjects (const std::vector< DtUniqueID > &elementIds) |
| virtual void | setSecondaryAttachment (const std::vector< DtUniqueID > &elementIds) |
| virtual void | setLocationTrackAttachment (const osg::Vec3d &location) |
| virtual void | setLocationTrackAttachment (double x, double y, double z) |
| virtual void | attachToPart (int partId) |
| virtual void | detach () |
| virtual void | setAttachType (DtObserverObject::AttachType type) |
| virtual void | setHideModelOnAttach (bool hide) |
| virtual void | 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.
|
| virtual void | scaleCurrentAttachments (bool scaled) |
| virtual void | setOrientToTargetConstraint (bool orient) |
| virtual void | setOrbiting (bool orbit) |
| virtual void | setOrientCameraToTargetConstraint (bool orient) |
| virtual void | setConstrainToTerrain (bool trueFalse) |
| | constrain by terrain
|
| virtual void | setConstrainToCenter (bool trueFalse) |
| virtual void | suppressConstrainToTerrain (bool trueFalse) |
| | if constrain to terrain is on, suppress or end suppress if constrain to terrain is not on, do nothing
|
| virtual void | setSpeedScaling (bool trueFalse) |
| | scale speed based on distance from object of interest
|
| virtual void | setSpeedScaledSpeed (double speed) |
| | Used for reset when there is no terrain.
|
| virtual void | getLocation (double &x, double &y, double &z) const |
| virtual void | getOrientation (double &psi, double &theta, double &phi) const |
| | Get orientation in euler angles in the current coordinate system.
|
| virtual void | getTopographicOrientation (double &psi, double &theta, double &phi) const |
| | Get orientation in euler angles in a North-East-Down (topographic) reference.
|
| virtual void | getOrientation (double &x, double &y, double &z, double &w) const |
| virtual void | getFlashlightOrientation (double &x, double &y, double &z, double &w) const |
| virtual void | getCameraUp (double &x, double &y, double &z) |
| virtual void | getCameraFront (double &x, double &y, double &z) |
| virtual void | getCameraRight (double &x, double &y, double &z) |
| virtual void | setCameraShakeRotation (double x, double y, double z, double w) |
| | Set the camera shake rotation.
|
| virtual void | getCameraShakeRotation (double &x, double &y, double &z, double &w) |
| | Get the camera shake rotation.
|
| virtual double | fixed2DAltitude () |
| | For 2D display mode, calculates the altitude to use to set camera position Note that if the terrain is global, this is the distance from 0,0,0, so the earth radius needs to be subtracted from it.
|
| virtual double | heightAboveTerrainFromCurrentZoom () |
| | calculate an (approximate) height above terrain that will correspond, when in 3D, to the same perceived HAT when in 2D
|
| virtual double | topographicHeading () const |
| | Get the observer's topographic heading, regardless of coordinate system currently in use.
|
| virtual void | getLinearVelocity (double &x, double &y, double &z) const |
| | Get the observer's linear velocity.
|
| virtual void | getRotationalVelocity (double &x, double &y, double &z) const |
| | Get the observer's rotational velocity.
|
| virtual void | setModeSetting (int setting, bool value) |
| | Override base class; since a mode setting may require attention during tick, this calls down to DtObserverObject::setModeSetting() and then sets myChanged to true.
|
| virtual std::vector< DtUniqueID > | currentAttachments () const |
| | Return a vector of element ids that this observer is currently attached to.
|
virtual
DtObserverObject::AttachType | attachType3D () const |
| | 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
DtObserverObject::AttachType | attachType2D () const |
| | 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 bool | attachedObjectHidden () const |
| | Returns whether objects are hidden on attach.
|
| virtual bool | 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.
|
| virtual osg::Vec3d | attachedOffsetVector () const |
| | When attached, returns the vector from the observer to the (first) attached-to object.
|
| virtual double | attachedNearClipOffset () const |
| | 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 double | heightAboveTerrain () const |
| | Get the cached height above terrain.
|
| virtual void | startMoveObserverRight () |
| | Observer Control.
|
| virtual void | stopMoveObserverRight () |
| | Observer Control.
|
| virtual void | moveObserverRight (double meters) |
| | Observer Control.
|
| virtual void | startMoveObserverForward () |
| | move forward (body coordinates) Observer forward movement (along the positive body Y-axis)
|
| virtual void | stopMoveObserverForward () |
| | Observer Control.
|
| virtual void | moveObserverForward (double meters) |
| | Observer Control.
|
| virtual void | startMoveObserverUp () |
| | move up (body coordinates) Observer up movement (along the positive body Z-axis)
|
| virtual void | stopMoveObserverUp () |
| | move up (body coordinates) Observer up movement (along the positive body Z-axis)
|
| virtual void | moveObserverUp (double meters) |
| | move up (body coordinates) Observer up movement (along the positive body Z-axis)
|
| virtual void | startMoveObserverLeft () |
| | move left (body coordinates) Observer left movement (along the negative body X-axis)
|
| virtual void | stopMoveObserverLeft () |
| | move left (body coordinates) Observer left movement (along the negative body X-axis)
|
| virtual void | moveObserverLeft (double meters) |
| | move left (body coordinates) Observer left movement (along the negative body X-axis)
|
| virtual void | startMoveObserverBack () |
| | move back (body coordinates) Observer back movement (along the negative body Y-axis)
|
| virtual void | stopMoveObserverBack () |
| | move back (body coordinates) Observer back movement (along the negative body Y-axis)
|
| virtual void | moveObserverBack (double meters) |
| | move back (body coordinates) Observer back movement (along the negative body Y-axis)
|
| virtual void | startMoveObserverDown () |
| | move down (body coordinates) Observer down movement (along the negative body Z-axis)
|
| virtual void | stopMoveObserverDown () |
| | move down (body coordinates) Observer down movement (along the negative body Z-axis)
|
| virtual void | moveObserverDown (double meters) |
| | move down (body coordinates) Observer down movement (along the negative body Z-axis)
|
| virtual void | startMoveLevelObserverRight () |
| | move right ('gravity' coordinates) gravity right movement (to the right of the current heading vector, projected onto the plane normal to gravity)
|
| virtual void | stopMoveLevelObserverRight () |
| | move right ('gravity' coordinates) gravity right movement (to the right of the current heading vector, projected onto the plane normal to gravity)
|
| virtual void | moveLevelObserverRight (double meters) |
| | move right ('gravity' coordinates) gravity right movement (to the right of the current heading vector, projected onto the plane normal to gravity)
|
| virtual void | startMoveLevelObserverForward () |
| | move forward ('gravity' coordinates) gravity forward movement (in the direction of the current heading vector, projected onto the plane normal to gravity)
|
| virtual void | stopMoveLevelObserverForward () |
| | move forward ('gravity' coordinates) gravity forward movement (in the direction of the current heading vector, projected onto the plane normal to gravity)
|
| virtual void | moveLevelObserverForward (double meters) |
| | move forward ('gravity' coordinates) gravity forward movement (in the direction of the current heading vector, projected onto the plane normal to gravity)
|
| virtual void | startMoveLevelObserverUp () |
| | move up ('gravity' coordinates) gravity up movement (in the opposite direction of the gravity vector)
|
| virtual void | stopMoveLevelObserverUp () |
| | move up ('gravity' coordinates) gravity up movement (in the opposite direction of the gravity vector)
|
| virtual void | moveLevelObserverUp (double meters) |
| | move up ('gravity' coordinates) gravity up movement (in the opposite direction of the gravity vector)
|
| virtual void | startMoveLevelObserverLeft () |
| | move left ('gravity' coordinates) gravity left movement (to the left of the current heading vector, projected onto the plane normal to gravity)
|
| virtual void | stopMoveLevelObserverLeft () |
| | move left ('gravity' coordinates) gravity left movement (to the left of the current heading vector, projected onto the plane normal to gravity)
|
| virtual void | moveLevelObserverLeft (double meters) |
| | move left ('gravity' coordinates) gravity left movement (to the left of the current heading vector, projected onto the plane normal to gravity)
|
| virtual void | startMoveLevelObserverBack () |
| | move back ('gravity' coordinates) gravity back movement (in the opposite direction of the current heading vector, projected onto the plane normal to gravity)
|
| virtual void | stopMoveLevelObserverBack () |
| | move back ('gravity' coordinates) gravity back movement (in the opposite direction of the current heading vector, projected onto the plane normal to gravity)
|
| virtual void | moveLevelObserverBack (double meters) |
| | move back ('gravity' coordinates) gravity back movement (in the opposite direction of the current heading vector, projected onto the plane normal to gravity)
|
| virtual void | startMoveLevelObserverDown () |
| | move down ('gravity' coordinates) gravity down movement (in the direction of the gravity vector)
|
| virtual void | stopMoveLevelObserverDown () |
| | move down ('gravity' coordinates) gravity down movement (in the direction of the gravity vector)
|
| virtual void | moveLevelObserverDown (double meters) |
| | move down ('gravity' coordinates) gravity down movement (in the direction of the gravity vector)
|
| virtual void | startMoveAttachedRight () |
| | move right (body coordinates) Attached right movement (along the positive body X-axis)
|
| virtual void | stopMoveAttachedRight () |
| | move right (body coordinates) Attached right movement (along the positive body X-axis)
|
| virtual void | moveAttachedRight (double meters) |
| | move right (body coordinates) Attached right movement (along the positive body X-axis)
|
| virtual void | startMoveAttachedForward () |
| | move forward (body coordinates) Attached forward movement (along the positive body Y-axis)
|
| virtual void | stopMoveAttachedForward () |
| | move right (body coordinates) Attached right movement (along the positive body X-axis)
|
| virtual void | moveAttachedForward (double meters) |
| | move right (body coordinates) Attached right movement (along the positive body X-axis)
|
| virtual void | startMoveAttachedUp () |
| | move up (body coordinates) Attached up movement (along the positive body Z-axis)
|
| virtual void | stopMoveAttachedUp () |
| | move up (body coordinates) Attached up movement (along the positive body Z-axis)
|
| virtual void | moveAttachedUp (double meters) |
| | move up (body coordinates) Attached up movement (along the positive body Z-axis)
|
| virtual void | startMoveAttachedLeft () |
| | move left (body coordinates) Attached left movement (along the negative body X-axis)
|
| virtual void | stopMoveAttachedLeft () |
| | move left (body coordinates) Attached left movement (along the negative body X-axis)
|
| virtual void | moveAttachedLeft (double meters) |
| | move left (body coordinates) Attached left movement (along the negative body X-axis)
|
| virtual void | startMoveAttachedBack () |
| | move back (body coordinates) Attached back movement (along the negative body Y-axis)
|
| virtual void | stopMoveAttachedBack () |
| | move back (body coordinates) Attached back movement (along the negative body Y-axis)
|
| virtual void | moveAttachedBack (double meters) |
| | move back (body coordinates) Attached back movement (along the negative body Y-axis)
|
| virtual void | startMoveAttachedDown () |
| | move down (body coordinates) Attached down movement (along the negative body Z-axis)
|
| virtual void | stopMoveAttachedDown () |
| | move down (body coordinates) Attached down movement (along the negative body Z-axis)
|
| virtual void | moveAttachedDown (double meters) |
| | move down (body coordinates) Attached down movement (along the negative body Z-axis)
|
| virtual void | startMoveLevelAttachedRight () |
| | move right ('gravity' coordinates) gravity right movement (to the right of the current heading vector, projected onto the plane normal to gravity)
|
| virtual void | stopMoveLevelAttachedRight () |
| | move right ('gravity' coordinates) gravity right movement (to the right of the current heading vector, projected onto the plane normal to gravity)
|
| virtual void | moveLevelAttachedRight (double meters) |
| | move right ('gravity' coordinates) gravity right movement (to the right of the current heading vector, projected onto the plane normal to gravity)
|
| virtual void | startMoveLevelAttachedForward () |
| | move forward ('gravity' coordinates) gravity forward movement (in the direction of the current heading vector, projected onto the plane normal to gravity)
|
| virtual void | stopMoveLevelAttachedForward () |
| | move forward ('gravity' coordinates) gravity forward movement (in the direction of the current heading vector, projected onto the plane normal to gravity)
|
| virtual void | moveLevelAttachedForward (double meters) |
| | move forward ('gravity' coordinates) gravity forward movement (in the direction of the current heading vector, projected onto the plane normal to gravity)
|
| virtual void | startMoveLevelAttachedUp () |
| | move up ('gravity' coordinates) gravity up movement (in the opposite direction of the gravity vector)
|
| virtual void | stopMoveLevelAttachedUp () |
| | move up ('gravity' coordinates) gravity up movement (in the opposite direction of the gravity vector)
|
| virtual void | moveLevelAttachedUp (double meters) |
| | move up ('gravity' coordinates) gravity up movement (in the opposite direction of the gravity vector)
|
| virtual void | startMoveLevelAttachedLeft () |
| | move left ('gravity' coordinates) gravity left movement (to the left of the current heading vector, projected onto the plane normal to gravity)
|
| virtual void | stopMoveLevelAttachedLeft () |
| | move left ('gravity' coordinates) gravity left movement (to the left of the current heading vector, projected onto the plane normal to gravity)
|
| virtual void | moveLevelAttachedLeft (double meters) |
| | move left ('gravity' coordinates) gravity left movement (to the left of the current heading vector, projected onto the plane normal to gravity)
|
| virtual void | startMoveLevelAttachedBack () |
| | move back ('gravity' coordinates) gravity back movement (in the opposite direction of the current heading vector, projected onto the plane normal to gravity)
|
| virtual void | stopMoveLevelAttachedBack () |
| | move back ('gravity' coordinates) gravity back movement (in the opposite direction of the current heading vector, projected onto the plane normal to gravity)
|
| virtual void | moveLevelAttachedBack (double meters) |
| | move back ('gravity' coordinates) gravity back movement (in the opposite direction of the current heading vector, projected onto the plane normal to gravity)
|
| virtual void | startMoveLevelAttachedDown () |
| | move down ('gravity' coordinates) gravity down movement (in the direction of the gravity vector)
|
| virtual void | stopMoveLevelAttachedDown () |
| | move down ('gravity' coordinates) gravity down movement (in the direction of the gravity vector)
|
| virtual void | moveLevelAttachedDown (double meters) |
| | move down ('gravity' coordinates) gravity down movement (in the direction of the gravity vector)
|
| virtual void | startMoveAttachedContextRight () |
| | move right ('attached' coordinates) attached right movement (depends on attach mode)
|
| virtual void | stopMoveAttachedContextRight () |
| | move right ('attached' coordinates) attached right movement (depends on attach mode)
|
| virtual void | moveAttachedContextRight (double meters) |
| | move right ('attached' coordinates) attached right movement (depends on attach mode)
|
| virtual void | startMoveAttachedContextForward () |
| | move forward ('attached' coordinates) attached forward movement (depends on attach mode)
|
| virtual void | stopMoveAttachedContextForward () |
| | move forward ('attached' coordinates) attached forward movement (depends on attach mode)
|
| virtual void | moveAttachedContextForward (double meters) |
| | move forward ('attached' coordinates) attached forward movement (depends on attach mode)
|
| virtual void | startMoveAttachedContextUp () |
| | move up ('attached' coordinates) attached up movement (depends on attach mode)
|
| virtual void | stopMoveAttachedContextUp () |
| | move up ('attached' coordinates) attached up movement (depends on attach mode)
|
| virtual void | moveAttachedContextUp (double meters) |
| | move up ('attached' coordinates) attached up movement (depends on attach mode)
|
| virtual void | startMoveAttachedContextLeft () |
| | move left ('attached' coordinates) attached left movement (depends on attach mode)
|
| virtual void | stopMoveAttachedContextLeft () |
| | move left ('attached' coordinates) attached left movement (depends on attach mode)
|
| virtual void | moveAttachedContextLeft (double meters) |
| | move left ('attached' coordinates) attached left movement (depends on attach mode)
|
| virtual void | startMoveAttachedContextBack () |
| | move back ('attached' coordinates) attached back movement (depends on attach mode)
|
| virtual void | stopMoveAttachedContextBack () |
| | move back ('attached' coordinates) attached back movement (depends on attach mode)
|
| virtual void | moveAttachedContextBack (double meters) |
| | move back ('attached' coordinates) attached back movement (depends on attach mode)
|
| virtual void | startMoveAttachedContextDown () |
| | move down (depends on attach mode)
|
| virtual void | stopMoveAttachedContextDown () |
| | move down (depends on attach mode)
|
| virtual void | moveAttachedContextDown (double meters) |
| | move down (depends on attach mode)
|
| virtual void | startYawLeft () |
| | yaw left (observer coordinates) yaw left movement (rotate left about the observer-Z axis)
|
| virtual void | stopYawLeft () |
| | yaw left (observer coordinates) yaw left movement (rotate left about the observer-Z axis)
|
| virtual void | startYawRight () |
| | yaw right (observer coordinates) yaw right movement (rotate right about the observer-Z axis) axis)
|
| virtual void | stopYawRight () |
| | yaw right (observer coordinates) yaw right movement (rotate right about the observer-Z axis) axis)
|
| virtual void | startPitchUp () |
| | pitch up (observer coordinates) pitch up movement (rotate up around the current observer X-axis)
|
| virtual void | stopPitchUp () |
| | pitch up (observer coordinates) pitch up movement (rotate up around the current observer X-axis)
|
| virtual void | rotatePitchUp (double rads) |
| | pitch up (observer coordinates) pitch up movement (rotate up around the current observer X-axis)
|
| virtual void | rotateFlashlightPitchUp (double rads) |
| | pitch up (observer coordinates) pitch up movement (rotate up around the current observer X-axis)
|
| virtual void | startPitchDown () |
| | pitch down (observer coordinates) pitch down movement (rotate down around the current observer X-axis)
|
| virtual void | stopPitchDown () |
| | pitch down (observer coordinates) pitch down movement (rotate down around the current observer X-axis)
|
| virtual void | rotatePitchDown (double rads) |
| | pitch down (observer coordinates) pitch down movement (rotate down around the current observer X-axis)
|
| virtual void | rotateFlashlightPitchDown (double rads) |
| | pitch down (observer coordinates) pitch down movement (rotate down around the current observer X-axis)
|
| virtual void | startRollLeft () |
| | roll left (observer coordinates) roll left movement (rotate left around the current observer Y-axis)
|
| virtual void | stopRollLeft () |
| | roll left (observer coordinates) roll left movement (rotate left around the current observer Y-axis)
|
| virtual void | startRollRight () |
| | roll right (observer coordinates) roll right movement (rotate right around the current observer Y-axis)
|
| virtual void | stopRollRight () |
| | roll right (observer coordinates) roll right movement (rotate right around the current observer Y-axis)
|
| virtual void | startLevelYawLeft () |
| | yaw left (level observer coordinates) yaw left movement (rotate left about the level observer-Z axis)
|
| virtual void | stopLevelYawLeft () |
| | yaw left (level observer coordinates) yaw left movement (rotate left about the level observer-Z axis)
|
| virtual void | startLevelYawRight () |
| | yaw right (level observer coordinates) yaw right movement (rotate right about the level observer-Z axis) axis)
|
| virtual void | stopLevelYawRight () |
| | yaw right (level observer coordinates) yaw right movement (rotate right about the level observer-Z axis) axis)
|
| virtual void | startLevelPitchUp () |
| | pitch up (level observer coordinates) pitch up movement (rotate up around the current level observer X-axis)
|
| virtual void | stopLevelPitchUp () |
| | pitch up (level observer coordinates) pitch up movement (rotate up around the current level observer X-axis)
|
| virtual void | startLevelPitchDown () |
| | pitch down (level observer coordinates) pitch down movement (rotate down around the current level observer X-axis)
|
| virtual void | stopLevelPitchDown () |
| | pitch down (level observer coordinates) pitch down movement (rotate down around the current level observer X-axis)
|
| virtual void | startLevelRollLeft () |
| | roll left (level observer coordinates) roll left movement (rotate left around the current level observer Y-axis)
|
| virtual void | stopLevelRollLeft () |
| | roll left (level observer coordinates) roll left movement (rotate left around the current level observer Y-axis)
|
| virtual void | startLevelRollRight () |
| | roll right (level observer coordinates) roll right movement (rotate right around the current level observer Y-axis)
|
| virtual void | stopLevelRollRight () |
| | roll right (level observer coordinates) roll right movement (rotate right around the current level observer Y-axis)
|
| virtual void | startOrbitingLeft () |
| | orbit around current target left (observer coordinates) Orbit left, wrt the current target
|
| virtual void | stopOrbitingLeft () |
| | orbit around current target left (observer coordinates) Orbit left, wrt the current target
|
| virtual void | orbitLeft (double rads) |
| | orbit around current target left (observer coordinates) Orbit left, wrt the current target
|
| virtual void | startOrbitingRight () |
| | orbit around current target right (observer coordinates) Orbit right, wrt the current target
|
| virtual void | stopOrbitingRight () |
| | orbit around current target right (observer coordinates) Orbit right, wrt the current target
|
| virtual void | orbitRight (double rads) |
| | orbit around current target right (observer coordinates) Orbit right, wrt the current target
|
| virtual void | startOrbitingUp () |
| | orbit around current target up (observer coordinates) Orbit up, wrt the current target
|
| virtual void | stopOrbitingUp () |
| | orbit around current target up (observer coordinates) Orbit up, wrt the current target
|
| virtual void | orbitUp (double rads) |
| | orbit around current target up (observer coordinates) Orbit up, wrt the current target
|
| virtual void | startOrbitingDown () |
| | orbit around current target down (observer coordinates) Orbit down, wrt the current target
|
| virtual void | stopOrbitingDown () |
| | orbit around current target down (observer coordinates) Orbit down, wrt the current target
|
| virtual void | orbitDown (double rads) |
| | orbit around current target down (observer coordinates) Orbit down, wrt the current target
|
| virtual const osg::Vec3d & | locationTrackAttachmentVec3d () const |
| | Return / get the tracked location when in TetherLocationTrack or MimicLocationTrack modes.
|
| virtual void | getLocationTrackAttachment (double &x, double &y, double &z) const |
| | Return / get the tracked location when in TetherLocationTrack or MimicLocationTrack modes.
|
| | DtObserverObject (DtDe &de, DtUniqueID id, const std::string &name="") |
| | CTOR.
|
| virtual | ~DtObserverObject () |
| | DTOR.
|
| virtual const std::string & | name () const |
| | Get the observer object name.
|
| virtual bool | is2D () const |
| | Get if the observer is using 2D nav mode.
|
| virtual bool | displaySky () const |
| | Check if the observer draws the sky.
|
| virtual void | setDisplaySky (bool hasSky) |
| | Set whether the observer draws the sky.
|
| virtual bool | dynamicLights () const |
| | Check if the observer renders dynamic lights.
|
| virtual void | setDynamicLights (bool enabled) |
| | Set whether the observer renders dynamic lights.
|
| virtual bool | dynamicOcean () const |
| | Check if the observer renders dynamic lights.
|
| virtual void | setDynamicOcean (bool enabled) |
| | Set whether the observer renders dynamic lights.
|
| virtual bool | isScaling () const |
| | Get if the observer is scaling; convenience wrapper for modeSetting( DtObserverSettingsManager::EnableModelScaling )
|
| virtual void | setScaling (bool scale) |
| | Set if the observer is scaling.
|
| virtual double | scaleFactor () const |
| | Get the observer scale factor.
|
| virtual void | setScaleFactor (double scaleFactor) |
| | Set the observer scale factor.
|
| virtual DtObserverObject::ScaleType | scaleType () const |
| | Get the type of model scaling done (if any)
|
| virtual void | setScaleType (DtObserverObject::ScaleType scaleType) |
| | Set the type of model scaling to do.
|
| virtual int | modelSet () const |
| | Get the model set for this observer.
|
| virtual void | setSpeedScalingMode (SpeedScalingMode mode) |
| | Set the speed scaling mode for this observer.
|
| virtual SpeedScalingMode | speedScalingMode () const |
| | Get the speed scaling mode for this observer.
|
| virtual void | setSpeedScalingMslModeOffset (double offset) |
| | Set the speed scaling Msl mode offset for this observer.
|
| virtual double | speedScalingMslModeOffset () const |
| | Get the speed scaling Msl mode offset for this observer.
|
| virtual void | clearModeSettings () |
| | clear the current mode settings map; typically, this is called when the osberver's observer mode changes in preparation for the settings for that mode
|
| virtual bool | modeSetting (int setting) const |
| | returns the value of the specified setting.
|
| virtual const ModeSettingsMap & | modeSettings () const |
| virtual void | setTerrainIsGlobal (bool global) |
| | Set whether the terrain the observer object is in is global.
|
| virtual void | setFlashlightEnabled (bool enabled) |
| | Toggle the flashlight effect on or off.
|
| virtual bool | flashlightOn () const |
| | Whether the flashlight is on or off.
|
| bool | isGlobalTerrain () const |
| | Are we on a global terrain.
|
| virtual void | setSensor (const std::string &sensorName) |
| | Set the sensor to use on channels rendering with this observer.
|
| virtual DtSensor * | findSensor () const |
| | Get the current sensor; returns 0 if there is none.
|
| virtual void | disableSensor () |
| | Sets current sensor to 0.
|
| virtual void | rotateYawLeft (double rads) |
| | yaw left (observer coordinates) yaw left movement (rotate left about the observer-Z axis)
|
| virtual void | rotateYawRight (double rads) |
| | yaw right (observer coordinates) yaw right movement (rotate right about the observer-Z axis) axis)
|
| virtual void | rollLeft (double rads) |
| | roll left (observer coordinates) roll left movement (rotate left around the current observer Y-axis)
|
| virtual void | rollRight (double rads) |
| | roll right (observer coordinates) roll right movement (rotate right around the current observer Y-axis)
|
| virtual void | rotateLevelPitchUp (double rads) |
| | pitch up (level observer coordinates) pitch up movement (rotate up around the current level observer X-axis)
|
| virtual void | rotateLevelPitchDown (double rads) |
| | pitch down (level observer coordinates) pitch down movement (rotate down around the current level observer X-axis)
|
| virtual void | rollLevelLeft (double rads) |
| | roll left (level observer coordinates) roll left movement (rotate left around the current level observer Y-axis)
|
| virtual void | rollLevelRight (double rads) |
| | roll right (level observer coordinates) roll right movement (rotate right around the current level observer Y-axis)
|