|
| | 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. More...
|
| |
| | DtOsgObserverObject (DtDe &de, DtUniqueID id, const std::string &name="") |
| | CTOR. More...
|
| |
| virtual | ~DtOsgObserverObject () |
| | DTOR. More...
|
| |
| virtual void | tickAttachment () |
| | Update the observer per its attachments. More...
|
| |
| virtual void | setModelSet (int modelSet) |
| | Set the model set for this observer. More...
|
| |
| virtual double | altitude () const |
| | Get the observer's altitude. More...
|
| |
| 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. More...
|
| |
| virtual void | setCameraPositionAndOrientation (const osg::Vec3d &position, const osg::Quat &rotation) |
| | Used to set the camera offset and orientation from the observer's position and orientation. More...
|
| |
| virtual void | getCameraPositionAndOrientation (osg::Vec3d &position, osg::Quat &rotation) const |
| |
| virtual void | rotateLevelYawLeft (double rads) |
| |
| virtual void | rotateLevelYawRight (double rads) |
| |
| virtual void | rotateFlashlightYawLeft (double rads) |
| |
| virtual void | rotateFlashlightYawRight (double rads) |
| |
| virtual void | startLookLeft () |
| | Camera Control. More...
|
| |
| virtual void | stopLookLeft () |
| |
| virtual void | lookLeft (double rads) |
| |
| virtual void | startLookRight () |
| | rotate camera right (observer coordinates) Look right, wrt the observer More...
|
| |
| virtual void | stopLookRight () |
| |
| virtual void | lookRight (double rads) |
| |
| virtual void | startLookUp () |
| | rotate camera up (observer coordinates) Look up, wrt the observer More...
|
| |
| virtual void | stopLookUp () |
| |
| virtual void | lookUp (double rads) |
| |
| virtual void | startLookDown () |
| | rotate camera down (observer coordinates) Look down, wrt the observer More...
|
| |
| virtual void | stopLookDown () |
| |
| virtual void | lookDown (double rads) |
| |
| virtual void | startLookTiltRight () |
| | roll the camera right (observer coordinates) Roll look right, wrt the observer More...
|
| |
| virtual void | stopLookTiltRight () |
| |
| virtual void | lookTiltRight (double rads) |
| |
| virtual void | startLookTiltLeft () |
| | roll the camera left (observer coordinates) Roll look left, wrt the observer More...
|
| |
| virtual void | stopLookTiltLeft () |
| |
| virtual void | lookTiltLeft (double rads) |
| |
| virtual void | setLocation (double x, double y, double z) |
| | jump to x, y, z More...
|
| |
| virtual void | setAttachedLocation (double x, double y, double z) |
| | jump to x, y, z in attached entity coords. More...
|
| |
| virtual void | setOrientation (double psi, double theta, double phi) |
| | turn to psi, theta, phi More...
|
| |
| virtual void | setTopographicOrientation (double psi, double theta, double phi) |
| | turn to psi, theta, phi in North-East-Down reference More...
|
| |
| virtual void | setOrientation (double x, double y, double z, double w) |
| | turn to quat(x,y,z,w) More...
|
| |
| virtual void | setAttachedOrientation (double psi, double theta, double phi) |
| | turn to psi, theta, phi in attached entity coords More...
|
| |
| virtual void | setAttachedOrientation (double x, double y, double z, double w) |
| | turn to quat(x,y,z,w) in attached entity coords More...
|
| |
| void | setLocalModelScalingEnabled (bool enabled) |
| | Sets whether local model scaling is enabled for attached entities in space attach mode. More...
|
| |
| void | setLocalModelScalingAmount (float amount) |
| | Sets the amount of local model scaling to apply to attached entities when in space attach mode. More...
|
| |
| virtual void | jumpTo (double x, double y, double z) |
| | jump to x, y, z and then the observer is 'backed off' the location More...
|
| |
| virtual void | jumpTo (DtUniqueID elementID) |
| | jump to object specfied by ID More...
|
| |
| 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' More...
|
| |
| 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. More...
|
| |
| virtual void | startIncreasingViewResolution () |
| | Zoom handling. Works in 2D view mode only. More...
|
| |
| virtual void | stopIncreasingViewResolution () |
| |
| virtual void | increaseViewResolution () |
| | Sets level of zoom (where 1 is default level, < 1 is zoom out > 1 is zoom in) More...
|
| |
| virtual void | startDecreasingViewResolution () |
| |
| virtual void | stopDecreasingViewResolution () |
| |
| virtual void | decreaseViewResolution () |
| |
| virtual void | setViewResolution (double resolution) |
| |
| virtual double | viewResolution () const |
| | Zoom factor. Used to scale terrain and objects. More...
|
| |
| virtual void | setCurrentViewMagnification (double mag) |
| | Set the observer's current view magnification. More...
|
| |
| virtual double | currentViewMagnification () const |
| | Get the observer's current view magnification. More...
|
| |
| virtual void | setOrbitSpeed (double speed) |
| | Speed mutators. More...
|
| |
| virtual void | setLinearSpeed (double speed) |
| | Set the speed used for forward/backleft/right/up/down movement (observer and camera) More...
|
| |
| virtual void | setRotationSpeed (double speed) |
| | Set the speed used for rotation (observer and camera) More...
|
| |
| virtual void | setMinLinearSpeed (double minSpeed) |
| | Set the minimum linear speed (used for speed scaling) More...
|
| |
| virtual void | setMaxLinearSpeed (double maxSpeed) |
| | Set the maximum linear speed (used for speed scaling) More...
|
| |
| virtual void | setLinearScaledSpeedGain (double gain) |
| | Set the linear gain as a % of max gain (precision) More...
|
| |
| 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. More...
|
| |
| virtual void | resetAttachment () |
| | reset orientation and position offsets More...
|
| |
| virtual void | resetOrientation () |
| | Reset observer and camera orientation Set observer orientation to North and level, and set the camera aligned with the observer. More...
|
| |
| virtual void | resetCamera () |
| | set camera to face the same direction as the observer More...
|
| |
| virtual void | level () |
| | Make the observer level Set the observer's pitch and roll angles normal to the gravity vector. More...
|
| |
| virtual void | stopAll () |
| | Stop all current motion. More...
|
| |
| 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) |
| | Set the type of observer attachment. More...
|
| |
| 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. More...
|
| |
| 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 More...
|
| |
| 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 More...
|
| |
| virtual void | setSpeedScaling (bool trueFalse) |
| | scale speed based on distance from object of interest More...
|
| |
| virtual void | setSpeedScaledSpeed (double speed) |
| | Used for reset when there is no terrain. More...
|
| |
| virtual void | getObserverCameraPosition (double &x, double &y, double &z) const |
| | Get the position of the observer's camera, which may be offset from the observer platform. More...
|
| |
| virtual void | getOrientation (double &psi, double &theta, double &phi) const |
| | Get orientation in euler angles in the current coordinate system. More...
|
| |
| virtual void | getObserverCameraOrientation (double &psi, double &theta, double &phi, bool includeShake) const |
| | Get the orientation of the camera rotated by the orientation of the observer (so, where the camera is actually looking) More...
|
| |
| virtual void | getTopographicOrientation (double &psi, double &theta, double &phi) const |
| | Get orientation in euler angles in a North-East-Down (topographic) reference. More...
|
| |
| 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 | getObserverPlatformFront (double &x, double &y, double &z) const |
| | Get a vector representation of the observer's front axis; this is before the camera orientation is applied. More...
|
| |
| virtual void | getObserverPlatformUp (double &x, double &y, double &z) const |
| | Get a vector representation of the observer's up axis; this is before the camera orientation is applied. More...
|
| |
| virtual void | getObserverPlatformRight (double &x, double &y, double &z) const |
| | Get a vector representation of the observer's right axis; this is before the camera orientation is applied. More...
|
| |
| virtual void | getObserverCameraFront (double &x, double &y, double &z, bool includeShake) const |
| | Get a vector representation of the observer * camera front axis This is where the observer is actually looking. More...
|
| |
| virtual void | getObserverCameraUp (double &x, double &y, double &z, bool includeShake) const |
| | Get a vector representation of the observer * camera up axis. More...
|
| |
| virtual void | getObserverCameraRight (double &x, double &y, double &z, bool includeShake) const |
| | Get a vector representation of the observer * camera right axis. More...
|
| |
| virtual void | getCameraUp (double &x, double &y, double &z) |
| | Get a vector representation of the observer's camera's up axis. More...
|
| |
| virtual void | getCameraFront (double &x, double &y, double &z) |
| | Get a vector representation of the observer's camera's front axis. More...
|
| |
| virtual void | getCameraRight (double &x, double &y, double &z) |
| | Get a vector representation of the observer's camera's right axis. More...
|
| |
| virtual void | setCameraShakeRotation (double x, double y, double z, double w) |
| | Set the camera shake rotation. More...
|
| |
| virtual void | getCameraShakeRotation (double &x, double &y, double &z, double &w) |
| | Get the camera shake rotation. More...
|
| |
| virtual double | heightAboveTerrainFromCurrentZoom (double magnification=1.) const |
| | For 2D display mode, calculates the altitude to use to set camera position in 2D mode. More...
|
| |
| virtual double | altitudeFromCurrentZoom (double magnification=1.) const |
| | calculate an altitude that will correspond, when in 3D, to the same perceived altitude when in 2D. More...
|
| |
| virtual double | zoomFromHeightAboveTerrain (double hat, double magnification=1) const |
| | calculate a zoom that will correspond, when in 2D, to the specified height above terrain. More...
|
| |
| virtual double | zoomFromAltitude (double altitude, double magnification=1.) const |
| | calculate a zoom that will correspond, when in 2D, to the specified 3D altitude More...
|
| |
| virtual double | zoomFromCurrentAltitude () const |
| | 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 More...
|
| |
| virtual double | topographicHeading () const |
| | Get the observer's topographic heading, regardless of coordinate system currently in use. More...
|
| |
| virtual void | getLinearVelocity (double &x, double &y, double &z) const |
| | Get the observer's linear velocity. More...
|
| |
| virtual void | getRotationalVelocity (double &x, double &y, double &z) const |
| | Get the observer's rotational velocity. More...
|
| |
| 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. More...
|
| |
| virtual std::vector< DtUniqueID > | currentAttachments () const |
| | Return a vector of element ids that this observer is currently attached to. More...
|
| |
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. More...
|
| |
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. More...
|
| |
| virtual bool | attachedObjectHidden () const |
| | Returns whether objects are hidden on attach. More...
|
| |
| 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. More...
|
| |
| virtual osg::Vec3d | attachedOffsetVector () const |
| | When attached, returns the vector from the observer to the (first) attached-to object. More...
|
| |
| 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. More...
|
| |
| virtual double | heightAboveTerrain () const |
| | Get the cached height above terrain. More...
|
| |
| virtual double | heightOfTerrain () const |
| | Get the cached height of terrain. More...
|
| |
| virtual void | startMoveObserverRight () |
| | Observer Control. More...
|
| |
| virtual void | stopMoveObserverRight () |
| |
| virtual void | moveObserverRight (double meters) |
| |
| virtual void | startMoveObserverForward () |
| | move forward (body coordinates) Observer forward movement (along the positive body Y-axis) More...
|
| |
| virtual void | stopMoveObserverForward () |
| |
| virtual void | moveObserverForward (double meters) |
| |
| virtual void | startMoveObserverUp () |
| | move up (body coordinates) Observer up movement (along the positive body Z-axis) More...
|
| |
| virtual void | stopMoveObserverUp () |
| |
| virtual void | moveObserverUp (double meters) |
| |
| virtual void | startMoveObserverLeft () |
| | move left (body coordinates) Observer left movement (along the negative body X-axis) More...
|
| |
| virtual void | stopMoveObserverLeft () |
| |
| virtual void | moveObserverLeft (double meters) |
| |
| virtual void | startMoveObserverBack () |
| | move back (body coordinates) Observer back movement (along the negative body Y-axis) More...
|
| |
| virtual void | stopMoveObserverBack () |
| |
| virtual void | moveObserverBack (double meters) |
| |
| virtual void | startMoveObserverDown () |
| | move down (body coordinates) Observer down movement (along the negative body Z-axis) More...
|
| |
| virtual void | stopMoveObserverDown () |
| |
| virtual void | moveObserverDown (double meters) |
| |
| 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) More...
|
| |
| virtual void | stopMoveLevelObserverRight () |
| |
| virtual void | moveLevelObserverRight (double meters) |
| |
| 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) More...
|
| |
| virtual void | stopMoveLevelObserverForward () |
| |
| virtual void | moveLevelObserverForward (double meters) |
| |
| virtual void | startMoveLevelObserverUp () |
| | move up ('gravity' coordinates) gravity up movement (in the opposite direction of the gravity vector) More...
|
| |
| virtual void | stopMoveLevelObserverUp () |
| |
| virtual void | moveLevelObserverUp (double meters) |
| |
| 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) More...
|
| |
| virtual void | stopMoveLevelObserverLeft () |
| |
| virtual void | moveLevelObserverLeft (double meters) |
| |
| 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) More...
|
| |
| virtual void | stopMoveLevelObserverBack () |
| |
| virtual void | moveLevelObserverBack (double meters) |
| |
| virtual void | startMoveLevelObserverDown () |
| | move down ('gravity' coordinates) gravity down movement (in the direction of the gravity vector) More...
|
| |
| virtual void | stopMoveLevelObserverDown () |
| |
| virtual void | moveLevelObserverDown (double meters) |
| |
| virtual void | startMoveAttachedRight () |
| | move right (body coordinates) Attached right movement (along the positive body X-axis) More...
|
| |
| virtual void | stopMoveAttachedRight () |
| |
| virtual void | moveAttachedRight (double meters) |
| |
| virtual void | startMoveAttachedForward () |
| | move forward (body coordinates) Attached forward movement (along the positive body Y-axis) More...
|
| |
| virtual void | stopMoveAttachedForward () |
| |
| virtual void | moveAttachedForward (double meters) |
| |
| virtual void | startMoveAttachedUp () |
| | move up (body coordinates) Attached up movement (along the positive body Z-axis) More...
|
| |
| virtual void | stopMoveAttachedUp () |
| |
| virtual void | moveAttachedUp (double meters) |
| |
| virtual void | startMoveAttachedLeft () |
| | move left (body coordinates) Attached left movement (along the negative body X-axis) More...
|
| |
| virtual void | stopMoveAttachedLeft () |
| |
| virtual void | moveAttachedLeft (double meters) |
| |
| virtual void | startMoveAttachedBack () |
| | move back (body coordinates) Attached back movement (along the negative body Y-axis) More...
|
| |
| virtual void | stopMoveAttachedBack () |
| |
| virtual void | moveAttachedBack (double meters) |
| |
| virtual void | startMoveAttachedDown () |
| | move down (body coordinates) Attached down movement (along the negative body Z-axis) More...
|
| |
| virtual void | stopMoveAttachedDown () |
| |
| virtual void | moveAttachedDown (double meters) |
| |
| 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) More...
|
| |
| virtual void | stopMoveLevelAttachedRight () |
| |
| virtual void | moveLevelAttachedRight (double meters) |
| |
| 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) More...
|
| |
| virtual void | stopMoveLevelAttachedForward () |
| |
| virtual void | moveLevelAttachedForward (double meters) |
| |
| virtual void | startMoveLevelAttachedUp () |
| | move up ('gravity' coordinates) gravity up movement (in the opposite direction of the gravity vector) More...
|
| |
| virtual void | stopMoveLevelAttachedUp () |
| |
| virtual void | moveLevelAttachedUp (double meters) |
| |
| 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) More...
|
| |
| virtual void | stopMoveLevelAttachedLeft () |
| |
| virtual void | moveLevelAttachedLeft (double meters) |
| |
| 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) More...
|
| |
| virtual void | stopMoveLevelAttachedBack () |
| |
| virtual void | moveLevelAttachedBack (double meters) |
| |
| virtual void | startMoveLevelAttachedDown () |
| | move down ('gravity' coordinates) gravity down movement (in the direction of the gravity vector) More...
|
| |
| virtual void | stopMoveLevelAttachedDown () |
| |
| virtual void | moveLevelAttachedDown (double meters) |
| |
| virtual void | startMoveAttachedContextRight () |
| | move right ('attached' coordinates) attached right movement (depends on attach mode) More...
|
| |
| virtual void | stopMoveAttachedContextRight () |
| |
| virtual void | moveAttachedContextRight (double meters) |
| |
| virtual void | startMoveAttachedContextForward () |
| | move forward ('attached' coordinates) attached forward movement (depends on attach mode) More...
|
| |
| virtual void | stopMoveAttachedContextForward () |
| |
| virtual void | moveAttachedContextForward (double meters) |
| |
| virtual void | startMoveAttachedContextUp () |
| | move up ('attached' coordinates) attached up movement (depends on attach mode) More...
|
| |
| virtual void | stopMoveAttachedContextUp () |
| |
| virtual void | moveAttachedContextUp (double meters) |
| |
| virtual void | startMoveAttachedContextLeft () |
| | move left ('attached' coordinates) attached left movement (depends on attach mode) More...
|
| |
| virtual void | stopMoveAttachedContextLeft () |
| |
| virtual void | moveAttachedContextLeft (double meters) |
| |
| virtual void | startMoveAttachedContextBack () |
| | move back ('attached' coordinates) attached back movement (depends on attach mode) More...
|
| |
| virtual void | stopMoveAttachedContextBack () |
| |
| virtual void | moveAttachedContextBack (double meters) |
| |
| virtual void | startMoveAttachedContextDown () |
| | move down (depends on attach mode) More...
|
| |
| virtual void | stopMoveAttachedContextDown () |
| |
| virtual void | moveAttachedContextDown (double meters) |
| |
| virtual void | startYawLeft () |
| | yaw left (observer coordinates) yaw left movement (rotate left about the observer-Z axis) More...
|
| |
| virtual void | stopYawLeft () |
| |
| virtual void | rotateYawLeft (double rads) |
| |
| virtual void | startYawRight () |
| | yaw right (observer coordinates) yaw right movement (rotate right about the observer-Z axis) axis) More...
|
| |
| virtual void | stopYawRight () |
| |
| virtual void | rotateYawRight (double rads) |
| |
| virtual void | startPitchUp () |
| | pitch up (observer coordinates) pitch up movement (rotate up around the current observer X-axis) More...
|
| |
| virtual void | stopPitchUp () |
| |
| virtual void | rotatePitchUp (double rads) |
| |
| virtual void | rotateFlashlightPitchUp (double rads) |
| |
| virtual void | startPitchDown () |
| | pitch down (observer coordinates) pitch down movement (rotate down around the current observer X-axis) More...
|
| |
| virtual void | stopPitchDown () |
| |
| virtual void | rotatePitchDown (double rads) |
| |
| virtual void | rotateFlashlightPitchDown (double rads) |
| |
| virtual void | startRollLeft () |
| | roll left (observer coordinates) roll left movement (rotate left around the current observer Y-axis) More...
|
| |
| virtual void | stopRollLeft () |
| |
| virtual void | rollLeft (double rads) |
| |
| virtual void | startRollRight () |
| | roll right (observer coordinates) roll right movement (rotate right around the current observer Y-axis) More...
|
| |
| virtual void | stopRollRight () |
| |
| virtual void | rollRight (double rads) |
| |
| virtual void | startLevelYawLeft () |
| | yaw left (level observer coordinates) yaw left movement (rotate left about the level observer-Z axis) More...
|
| |
| virtual void | stopLevelYawLeft () |
| |
| virtual void | startLevelYawRight () |
| | yaw right (level observer coordinates) yaw right movement (rotate right about the level observer-Z axis) axis) More...
|
| |
| virtual void | stopLevelYawRight () |
| |
| virtual void | startLevelPitchUp () |
| | pitch up (level observer coordinates) pitch up movement (rotate up around the current level observer X-axis) More...
|
| |
| virtual void | stopLevelPitchUp () |
| |
| virtual void | rotateLevelPitchUp (double rads) |
| |
| virtual void | startLevelPitchDown () |
| | pitch down (level observer coordinates) pitch down movement (rotate down around the current level observer X-axis) More...
|
| |
| virtual void | stopLevelPitchDown () |
| |
| virtual void | rotateLevelPitchDown (double rads) |
| |
| virtual void | startLevelRollLeft () |
| | roll left (level observer coordinates) roll left movement (rotate left around the current level observer Y-axis) More...
|
| |
| virtual void | stopLevelRollLeft () |
| |
| virtual void | rollLevelLeft (double rads) |
| |
| virtual void | startLevelRollRight () |
| | roll right (level observer coordinates) roll right movement (rotate right around the current level observer Y-axis) More...
|
| |
| virtual void | stopLevelRollRight () |
| |
| virtual void | rollLevelRight (double rads) |
| |
| virtual void | startOrbitingLeft () |
| | orbit around current target left (observer coordinates) Orbit left, wrt the current target More...
|
| |
| virtual void | stopOrbitingLeft () |
| |
| virtual void | orbitLeft (double rads) |
| |
| virtual void | startOrbitingRight () |
| | orbit around current target right (observer coordinates) Orbit right, wrt the current target More...
|
| |
| virtual void | stopOrbitingRight () |
| |
| virtual void | orbitRight (double rads) |
| |
| virtual void | startOrbitingUp () |
| | orbit around current target up (observer coordinates) Orbit up, wrt the current target More...
|
| |
| virtual void | stopOrbitingUp () |
| |
| virtual void | orbitUp (double rads) |
| |
| virtual void | startOrbitingDown () |
| | orbit around current target down (observer coordinates) Orbit down, wrt the current target More...
|
| |
| virtual void | stopOrbitingDown () |
| |
| virtual void | orbitDown (double rads) |
| |
| virtual void | getLocation (double &x, double &y, double &z) const |
| | Get the position/location of the observer platform. More...
|
| |
| virtual void | getObserverPosition (double &x, double &y, double &z) const |
| |
| virtual void | getEffectiveLocation (double &x, double &y, double &z) const |
| |
| virtual const osg::Vec3d & | locationTrackAttachmentVec3d () const |
| | Return / get the tracked location when in TetherLocationTrack or MimicLocationTrack modes. More...
|
| |
| virtual void | getLocationTrackAttachment (double &x, double &y, double &z) const |
| | Return the location track point (undefined if not in MimicLocationTrack or TetherLocationTrack mode. More...
|
| |
| | DtObserverObject (DtDe &de, DtUniqueID id, const std::string &name="") |
| | CTOR. More...
|
| |
| virtual | ~DtObserverObject () |
| | DTOR. More...
|
| |
| virtual const std::string & | name () const |
| | Get the observer object name. More...
|
| |
| virtual bool | is2D () const |
| | Get if the observer is using 2D nav mode. More...
|
| |
| virtual bool | displaySky () const |
| | Check if the observer draws the sky. More...
|
| |
| virtual void | setDisplaySky (bool hasSky) |
| | Set whether the observer draws the sky. More...
|
| |
| virtual bool | dynamicLights () const |
| | Check if the observer renders dynamic lights. More...
|
| |
| virtual void | setDynamicLights (bool enabled) |
| | Set whether the observer renders dynamic lights. More...
|
| |
| virtual bool | dynamicOcean () const |
| | Check if the observer renders dynamic lights. More...
|
| |
| virtual void | setDynamicOcean (bool enabled) |
| | Set whether the observer renders dynamic lights. More...
|
| |
| virtual bool | isScaling () const |
| | Get if the observer is scaling; convenience wrapper for modeSetting( DtObserverSettingsManager::EnableModelScaling ) More...
|
| |
| virtual void | setScaling (bool scale) |
| | Set if the observer is scaling. More...
|
| |
| virtual double | scaleFactor () const |
| | Get the observer scale factor. More...
|
| |
| virtual void | setScaleFactor (double scaleFactor) |
| | Set the observer scale factor. More...
|
| |
| virtual void | setMaxModelScaleFactor (double maxModelScaleFactor) |
| | Set the maximum scale factor allowed This is passed to the observer object so it can be retrieved by the channel. More...
|
| |
| virtual double | maxModelScaleFactor () const |
| | Get the maximum scale factor allowed. More...
|
| |
| virtual const std::string & | scaleType () const |
| | Get the type of model scaling done (if any) More...
|
| |
| virtual void | setScaleType (const std::string &scaleType) |
| | Set the type of model scaling to do. More...
|
| |
| virtual int | modelSet () const |
| | Get the model set for this observer. More...
|
| |
| virtual void | setSpeedScalingMode (SpeedScalingMode mode) |
| | Set the speed scaling mode for this observer. More...
|
| |
| virtual SpeedScalingMode | speedScalingMode () const |
| | Get the speed scaling mode for this observer. More...
|
| |
| virtual void | setSpeedScalingMslModeOffset (double offset) |
| | Set the speed scaling Msl mode offset for this observer. More...
|
| |
| virtual double | speedScalingMslModeOffset () const |
| | Get the speed scaling Msl mode offset for this observer. More...
|
| |
| 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 More...
|
| |
| virtual bool | modeSetting (int setting) const |
| | returns the value of the specified setting. More...
|
| |
| virtual const ModeSettingsMap & | modeSettings () const |
| |
| virtual void | setTerrainIsGlobal (bool global) |
| | Set whether the terrain the observer object is in is global. More...
|
| |
virtual
DtObserverObject::AttachType | attachType () |
| | Get the type of observer attachment. More...
|
| |
| virtual void | setFlashlightEnabled (bool enabled) |
| | Toggle the flashlight effect on or off. More...
|
| |
| virtual bool | flashlightOn () const |
| | Whether the flashlight is on or off. More...
|
| |
| bool | isGlobalTerrain () const |
| | Are we on a global terrain. More...
|
| |
| virtual void | setSensor (const std::string &sensorName) |
| | Set the sensor to use on channels rendering with this observer. More...
|
| |
| virtual DtSensor * | findSensor () const |
| | Get the current sensor; returns 0 if there is none. More...
|
| |
| virtual void | disableSensor () |
| | Sets current sensor to 0. More...
|
| |
| void | setLodScaleCenterEnabled (bool enabled) |
| | Get and set the lod scale center enabled. More...
|
| |
| bool | lodScaleCenterEnabled () const |
| |
| void | setLodScaleCenterMagMinLimit (double limit) |
| | Get and set the lod scale view magnification minimum limit. More...
|
| |
| double | lodScaleCenterMagMinLimit () const |
| |
|
| virtual void | slot_backendRemoved (const DtVrfBackendState &be) |
| |
| virtual void | slot_selectedBackendChanged (const DtSimulationAddress &, const DtSimulationAddress &addr) |
| |
| virtual bool | shouldOrientToGlobeCenter () |
| | Test whether the observer should orient itself to face the center of a globe terrain. More...
|
| |
| virtual void | adjustToGlobeCurvature () |
| | Adjust observer movement to the curvature of a globe terrain. More...
|
| |
| virtual bool | shouldRotateGlobe () |
| | True if the current terrain is a globe and observer movement should adjust to its curvature. More...
|
| |
| 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 () |
| | for follow mode More...
|
| |
| virtual osg::Vec3d & | levelAttachedFront () |
| |
| virtual osg::Vec3d & | levelAttachedRight () |
| |
| virtual osg::Vec3d & | levelObserverMimicUp () |
| | for level observer in mimic mode More...
|
| |
| 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 () |
| | for follow mode More...
|
| |
| virtual void | makeLevelObserverMimicMatrix () |
| | for mimic mode More...
|
| |
| virtual osg::Vec3d | calcWorldPositionChange () |
| | processes observer and gravity advance and position vectors to create a single composite move. More...
|
| |
| 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) |
| | 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. More...
|
| |
| virtual void | orientCameraTo (const osg::Vec3d &target) |
| | Set the current camera orientation to face the target. More...
|
| |
| 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 () |
| | Takes speed scaling into account. More...
|
| |
| virtual double | speedScalingGain () const |
| | Returns the gain used to scale speed scaling. More...
|
| |
| virtual void | calcTerrainConstraint (const osg::Vec3d &prev) |
| |
| virtual bool | updateAttachPositionAndOrientation () |
| | 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 More...
|
| |
| 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 |
| | Only called by master; indicates linear motion other than that caused by the movement of something we're attached to. More...
|
| |
| 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 |
| |
| virtual DtSceneObject * | findSceneObjectFromElement (const DtElementID &id) |
| | Find a scene object by it's unique element id. More...
|
| |
| virtual DtTerrainPatchObject * | findTerrainPatchObjectFromElement (DtElementID id) |
| | Find a terrain patch object by it's unique element id (was used by freeView). More...
|
| |
| 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 |
| | Get the Position from a scene object. More...
|
| |
| virtual void | getPositionFromObserverObject (DtOsgObserverObject &observerObject, osg::Vec3d &position) const |
| | Get the Position from an observer object. More...
|
| |
| virtual bool | getPartPositionOriFromSceneObject (DtSceneObject &sceneObject, int partId, osg::Vec3d &position, osg::Quat &ori) const |
| | Get the Part position from a scene object. More...
|
| |
| virtual void | force2D () |
| | After all items are calculated in tick, call this routine to effect the position or rotation given the visual display mode. More...
|
| |
| virtual void | dimensionChanged (bool is2D) |
| | Called when visual mode is set, will effect position or rotation due to mode change. More...
|
| |
| virtual void | setIs2D (bool is2D) |
| | Set if the observer is using 2D nav mode. More...
|
| |
| virtual double | calculate3DAltitude () const |
| | Calculate the altitude based on the observer's 3D position. More...
|
| |
| virtual void | calculateAltitude () |
| | Sets myAltitude using altitudeFromCurrentZoom() or calculate3DAltitude() depending on 2D/3D mode. More...
|
| |
| 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) |
| | Calculate the height above terrain (and also sets height of terrain). More...
|
| |
| double | frustumPixelHeight () const |
| | 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. More...
|
| |
| virtual void | getCameraFromParentOffsetVector (double &x, double &y, double &z) const |
| | These are the difference between the observer's camera and the object that the observer is attached to. More...
|
| |
| virtual void | getCameraFromParentRotationOffset (double &x, double &y, double &z, double &w) const |
| | The difference between the observer's camera and the object that the observer is attached to. More...
|
| |
| std::list< DtChannel * > | findChannels () |
| | Utility function that returns the list of channels whose observer is this observer. More...
|
| |
| std::list< const DtChannel * > | findChannels () const |
| |