VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtObserverObject.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2022 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvCore/vrvCore.h>
13 #include <vrvCore/DtUniqueID.h>
14 
15 #include <string>
16 #include <vector>
17 #include <map>
18 
19 namespace makVrv
20 {
21 
22  class DtDe;
23  class DtInputDriver;
24  class DtSensor;
25 
30  {
31 
32  public:
33 
34  typedef std::map<int, bool> ModeSettingsMap;
35 
37  {
47  AttachTypeMimicLocationTrack
48  };
49 
51  {
53  SpeedScalingMsl
54  };
55 
56  enum NorthType
57  {
60  NorthTypeGridNorth
61  };
62 
64  DtObserverObject( DtDe& de, DtUniqueID id, const std::string& name="" );
65 
67  virtual ~DtObserverObject();
68 
70  virtual const std::string& name() const;
71 
73  virtual bool is2D() const;
74 
76  virtual void setIs2D( bool is2D );
77 
79  virtual bool displaySky() const;
80 
82  virtual void setDisplaySky( bool hasSky );
83 
85  virtual bool dynamicLights() const;
86 
88  virtual void setDynamicLights( bool enabled );
89 
91  virtual bool dynamicOcean() const;
92 
94  virtual void setDynamicOcean( bool enabled );
95 
98  virtual bool isScaling() const;
99 
101  virtual void setScaling(bool scale);
102 
104  virtual double scaleFactor() const;
105 
107  virtual void setScaleFactor( double scaleFactor );
108 
111  virtual void setMaxModelScaleFactor(double maxModelScaleFactor);
112 
114  virtual double maxModelScaleFactor() const;
115 
117  void setLodScaleCenterEnabled(bool enabled);
119  bool lodScaleCenterEnabled() const;
121 
123  void setLodScaleCenterMagMinLimit(double limit);
125  double lodScaleCenterMagMinLimit() const;
127 
129  virtual DtObserverObject::NorthType northType() const;
130 
132  virtual void setNorthType(DtObserverObject::NorthType northType);
133 
135  virtual const std::string& scaleType() const;
136 
138  virtual void setScaleType(const std::string& scaleType);
139 
141  virtual int modelSet() const;
142 
144  virtual void setModelSet( int modelSet );
145 
147  virtual void setSpeedScalingMode( SpeedScalingMode mode );
148 
150  virtual SpeedScalingMode speedScalingMode() const;
151 
153  virtual void setSpeedScalingMslModeOffset( double offset );
154 
156  virtual double speedScalingMslModeOffset() const;
157 
160  void setScalingIntersectionTerrainSkinOnly(bool enabled);
162  bool scalingIntersectionTerrainSkinOnly() const;
163 
167  virtual void clearModeSettings();
168 
171  virtual void setModeSetting( int setting, bool value );
172 
175  virtual bool modeSetting( int setting ) const;
176 
177  virtual const ModeSettingsMap& modeSettings() const;
178 
182  virtual void setNameAndRegister( const std::string& name );
183 
189  virtual void tick( double ) {}
190 
192  virtual void setTerrainIsGlobal(bool global);
193 
195  virtual double altitude() const = 0;
196 
198  virtual double heightAboveTerrain() const = 0;
199 
201  virtual double viewResolution() const { return 1.; };
202 
205  virtual double zoomFromHeightAboveTerrain(double hat, double magnification = 1) const = 0;
206 
207 
213  virtual void setCurrentViewMagnification( double mag ) = 0;
214 
216  virtual double currentViewMagnification() const = 0;
217 
218  //
219  //
221  //
222  //
223 
225  virtual void startMoveObserverRight() {}
228  virtual void stopMoveObserverRight() {}
229  virtual void moveObserverRight( double ) {}
230 
232  virtual void startMoveObserverForward() {}
235  virtual void stopMoveObserverForward() {}
236  virtual void moveObserverForward( double ) {}
238 
240  virtual void startMoveObserverUp() {}
243  virtual void stopMoveObserverUp() {}
244  virtual void moveObserverUp( double ) {}
246 
248  virtual void startMoveObserverLeft() {}
251  virtual void stopMoveObserverLeft() {}
252  virtual void moveObserverLeft( double ) {}
254 
256  virtual void startMoveObserverBack() {}
259  virtual void stopMoveObserverBack() {}
260  virtual void moveObserverBack( double ) {}
262 
264  virtual void startMoveObserverDown() {}
267  virtual void stopMoveObserverDown() {}
268  virtual void moveObserverDown( double ) {}
270 
272  virtual void startMoveLevelObserverRight() {}
276  virtual void stopMoveLevelObserverRight() {}
277  virtual void moveLevelObserverRight( double ) {}
279 
281  virtual void startMoveLevelObserverForward() {}
286  virtual void moveLevelObserverForward( double ) {}
288 
290  virtual void startMoveLevelObserverUp() {}
294  virtual void stopMoveLevelObserverUp() {}
295  virtual void moveLevelObserverUp( double ) {}
297 
299  virtual void startMoveLevelObserverLeft() {}
303  virtual void stopMoveLevelObserverLeft() {}
304  virtual void moveLevelObserverLeft( double ) {}
306 
308  virtual void startMoveLevelObserverBack() {}
312  virtual void stopMoveLevelObserverBack() {}
313  virtual void moveLevelObserverBack( double ) {}
315 
317  virtual void startMoveLevelObserverDown() {}
320  virtual void stopMoveLevelObserverDown() {}
321  virtual void moveLevelObserverDown( double ) {}
323 
325  virtual void startMoveAttachedRight() {}
328  virtual void stopMoveAttachedRight() {}
329  virtual void moveAttachedRight( double ) {}
330 
332  virtual void startMoveAttachedForward() {}
335  virtual void stopMoveAttachedForward() {}
336  virtual void moveAttachedForward( double ) {}
338 
340  virtual void startMoveAttachedUp() {}
343  virtual void stopMoveAttachedUp() {}
344  virtual void moveAttachedUp( double ) {}
346 
348  virtual void startMoveAttachedLeft() {}
351  virtual void stopMoveAttachedLeft() {}
352  virtual void moveAttachedLeft( double ) {}
354 
356  virtual void startMoveAttachedBack() {}
359  virtual void stopMoveAttachedBack() {}
360  virtual void moveAttachedBack( double ) {}
362 
364  virtual void startMoveAttachedDown() {}
367  virtual void stopMoveAttachedDown() {}
368  virtual void moveAttachedDown( double ) {}
370 
372  virtual void startMoveLevelAttachedRight() {}
376  virtual void stopMoveLevelAttachedRight() {}
377  virtual void moveLevelAttachedRight( double ) {}
379 
381  virtual void startMoveLevelAttachedForward() {}
386  virtual void moveLevelAttachedForward( double ) {}
388 
390  virtual void startMoveLevelAttachedUp() {}
394  virtual void stopMoveLevelAttachedUp() {}
395  virtual void moveLevelAttachedUp( double ) {}
397 
399  virtual void startMoveLevelAttachedLeft() {}
403  virtual void stopMoveLevelAttachedLeft() {}
404  virtual void moveLevelAttachedLeft( double ) {}
406 
408  virtual void startMoveLevelAttachedBack() {}
412  virtual void stopMoveLevelAttachedBack() {}
413  virtual void moveLevelAttachedBack( double ) {}
415 
417  virtual void startMoveLevelAttachedDown() {}
420  virtual void stopMoveLevelAttachedDown() {}
421  virtual void moveLevelAttachedDown( double ) {}
423 
425  virtual void startMoveAttachedContextRight() {}
429  virtual void moveAttachedContextRight( double ) {}
431 
433  virtual void startMoveAttachedContextForward() {}
437  virtual void moveAttachedContextForward( double ) {}
439 
441  virtual void startMoveAttachedContextUp() {}
444  virtual void stopMoveAttachedContextUp() {}
445  virtual void moveAttachedContextUp( double ) {}
447 
449  virtual void startMoveAttachedContextLeft() {}
452  virtual void stopMoveAttachedContextLeft() {}
453  virtual void moveAttachedContextLeft( double ) {}
455 
457  virtual void startMoveAttachedContextBack() {}
460  virtual void stopMoveAttachedContextBack() {}
461  virtual void moveAttachedContextBack( double ) {}
463 
465  virtual void startMoveAttachedContextDown() {}
467  virtual void stopMoveAttachedContextDown() {}
468  virtual void moveAttachedContextDown( double ) {}
470 
472  virtual void startYawLeft() {}
475  virtual void stopYawLeft() {}
476  virtual void rotateYawLeft( double rads ) {}
477  virtual void rotateFlashlightYawLeft( double rads ) {}
479 
481  virtual void startYawRight() {}
485  virtual void stopYawRight() {}
486  virtual void rotateYawRight( double rads ) {}
487  virtual void rotateFlashlightYawRight( double rads ) {}
489 
491  virtual void startPitchUp() {}
494  virtual void stopPitchUp() {}
495  virtual void rotatePitchUp( double rads ) {}
496  virtual void rotateFlashlightPitchUp( double rads ) {}
498 
500  virtual void startPitchDown() {}
503  virtual void stopPitchDown() {}
504  virtual void rotatePitchDown( double rads ) {}
505  virtual void rotateFlashlightPitchDown( double rads ) {}
507 
509  virtual void startRollLeft() {}
512  virtual void stopRollLeft() {}
513  virtual void rollLeft( double rads ) {}
515 
517  virtual void startRollRight() {}
520  virtual void stopRollRight() {}
521  virtual void rollRight( double rads ) {}
523 
525  virtual void startLevelYawLeft() {}
528  virtual void stopLevelYawLeft() {}
529  virtual void rotateLevelYawLeft( double rads ) {}
531 
533  virtual void startLevelYawRight() {}
537  virtual void stopLevelYawRight() {}
538  virtual void rotateLevelYawRight( double rads ) {}
540 
542  virtual void startLevelPitchUp() {}
545  virtual void stopLevelPitchUp() {}
546  virtual void rotateLevelPitchUp( double rads ) {}
548 
550  virtual void startLevelPitchDown() {}
553  virtual void stopLevelPitchDown() {}
554  virtual void rotateLevelPitchDown( double rads ) {}
556 
558  virtual void startLevelRollLeft() {}
561  virtual void stopLevelRollLeft() {}
562  virtual void rollLevelLeft( double rads ) {}
564 
566  virtual void startLevelRollRight() {}
569  virtual void stopLevelRollRight() {}
570  virtual void rollLevelRight( double rads ) {}
572 
574  virtual void startOrbitingLeft() {}
577  virtual void stopOrbitingLeft() {}
578  virtual void orbitLeft( double rads ) {}
580 
582  virtual void startOrbitingRight() {}
585  virtual void stopOrbitingRight() {}
586  virtual void orbitRight( double rads ) {}
588 
590  virtual void startOrbitingUp( ) {}
593  virtual void stopOrbitingUp() {}
594  virtual void orbitUp( double rads ) {}
596 
598  virtual void startOrbitingDown() {}
601  virtual void stopOrbitingDown() {}
602  virtual void orbitDown( double rads ) {}
604 
608  virtual void level() {}
609 
611  virtual void setLocation( double x, double y, double z ) {}
612 
615  virtual void jumpTo( double x, double y, double z ) {}
616 
619  virtual void jumpTo( DtUniqueID id ) {}
620 
621  virtual void orientTo( double x, double y, double z ) {} // = 0;
622 
624  virtual void dragTerrain( double lastX, double lastY, double lastZ,
625  double currX, double currY, double currZ ) {}
626 
627  virtual void dragTerrain2( double myStartDragX, double myStartDragY,
628  double myStartDragZ, int deltaMouseX, int deltaMouseY ) {}
629 
630  virtual void dragGravityUp( double windowUnits ) {}
631  virtual void dragGravityDown( double windowUnits ) {}
632  virtual void dragGravityLeft( double windowUnits ) {}
633  virtual void dragGravityRight( double windowUnits ) {}
634  virtual void scrollObserverForward( int wheelUnits ) {}
635  virtual void scrollObserverBack( int wheelUnits ) {}
636  virtual void scrollLevelObserverForward( int wheelUnits ) {}
637  virtual void scrollLevelObserverBack( int wheelUnits ) {}
638 
639  virtual void scrollFlashlightWider( int wheelUnits ) {}
640  virtual void scrollFlashlightNarrower( int wheelUnits ) {}
641 
642  //
643  //
645  //
646  //
647 
649  virtual void startLookLeft() {}
652  virtual void stopLookLeft() {}
653  virtual void lookLeft( double rads ) {}
655 
657  virtual void startLookRight() {}
660  virtual void stopLookRight() {}
661  virtual void lookRight( double rads ) {}
663 
665  virtual void startLookUp( ) {}
668  virtual void stopLookUp() {}
669  virtual void lookUp( double rads ) {}
671 
673  virtual void startLookDown() {}
676  virtual void stopLookDown() {}
677  virtual void lookDown( double rads ) {}
679 
681  virtual void startLookTiltRight() {}
684  virtual void stopLookTiltRight() {}
685  virtual void lookTiltRight( double rads ) {}
687 
689  virtual void startLookTiltLeft() {}
692  virtual void stopLookTiltLeft() {}
693  virtual void lookTiltLeft( double rads ) {}
695 
697  virtual void resetCamera() {}
698 
699  //
700  //
702  //
703  //
704 
706  virtual void setOrbitSpeed( double speed ) {}
707 
709  virtual void setSpeedScaledSpeed( double speed ) {}
710 
712  virtual void setLinearSpeed( double speed ) {}
713 
715  virtual void setRotationSpeed( double speed ) {}
716 
718  virtual void setMaxLinearSpeed( double maxSpeed ) {}
719 
721  virtual void setMinLinearSpeed( double minSpeed ) {}
722 
724  virtual void setLinearScaledSpeedGain( double gain ) {}
725 
729  virtual void resetOrientation() {}
730 
734  virtual void gotoTerrainCenter( DtUniqueID terrainPatch, bool retry ) {}
735 
737  virtual void resetAttachment() {}
738 
739 
741  virtual void stopAll() {}
742 
743  virtual void attachToObjects( const std::vector<DtUniqueID>& ids ) {}
744  virtual void setSecondaryAttachment( const std::vector<DtUniqueID>& ids ) {}
745  virtual void setLocationTrackAttachment( double x, double y, double z ) {}
746 
748  virtual std::vector<DtUniqueID> currentAttachments() const = 0;
749 
752  virtual void getLocationTrackAttachment( double& x, double& y, double& z )
753  const = 0;
754 
755  virtual void attachToPart( int partId) {}
756  virtual void detach() {}
757 
759  virtual void setSpeedScaling( bool trueFalse ) {}
760 
762  virtual void setConstrainToTerrain( bool trueFalse ) {}
763  virtual void setConstrainToCenter( bool trueFalse ) {}
764 
766  virtual void increaseViewResolution() {}
770  virtual void decreaseViewResolution() {}
773  virtual void setViewResolution( double resolution ) {}
775 
778  virtual void suppressConstrainToTerrain( bool trueFalse ) {}
782  virtual DtObserverObject::AttachType attachType();
783 
784  virtual void setHideModelOnAttach( bool hide ) {}
785 
788  virtual void setUsesBoundingVolumeForAttachedOffsets(bool useBoundingVolume) = 0;
791  virtual bool usesBoundingVolumeForAttachedOffsets() const = 0;
792 
796  virtual void setAttachmentHas3DCockpit( bool cockpit ) {}
797 
798  virtual void setOrientToTargetConstraint( bool orient ) {}
799  virtual void setOrbiting( bool orient ) {}
800  virtual void setOrientCameraToTargetConstraint( bool orient ) {}
801 
803  virtual void setFlashlightEnabled(bool enabled);
804 
806  virtual void setCameraShakeRotation(double x, double y, double z, double w);
807 
809  virtual void getCameraShakeRotation(double& x, double& y, double& z, double& w);
810 
812  virtual bool flashlightOn() const;
813 
815  virtual void getLocation(double &x, double &y, double& z) const
816  {
817  x = y = z = 0.;
818  }
819 
820  virtual void getEffectiveLocation(double &x, double &y, double& z) const
821  {
822  x = y = z = 0.;
823  }
824 
826  virtual void getObserverCameraPosition(double& x, double& y, double& z) const
827  {
828  x = y = z = 0;
829  }
830 
831  virtual void getOrientation( double& psi, double& theta, double& phi ) const
832  {
833  psi = theta = phi = 0.;
834  }
835 
837  virtual void getTopographicOrientation( double& psi, double& theta, double& phi ) const
838  {
839  psi = theta = phi = 0.;
840  }
841 
843  virtual void getLinearVelocity( double &x, double &y, double &z ) const
844  {
845  x = y = z = 0;
846  }
847 
849  virtual void getRotationalVelocity( double& x, double& y, double& z) const
850  {
851  x = y = z = 0.;
852  }
853 
854  virtual void getObserverOffsetVector( double& x, double& y, double& z ) const
855  {
856  x = y = z = 0.;
857  }
858 
861  virtual void getCameraFromParentOffsetVector( double& x, double& y, double& z ) const
862  {
863  x = y = z = 0.;
864  }
867  virtual void getCameraFromParentRotationOffset( double& x, double& y, double& z, double& w ) const
868  {
869  x = y = z = w =0.;
870  }
871 
874  virtual double linearSpeed()
875  {
876  return 0.;
877  }
878 
880  virtual void setAttachedLocation( double x, double y, double z ) = 0;
881  virtual void setAttachedX( double x ) = 0;
882  virtual void setAttachedY( double y ) = 0;
883  virtual void setAttachedZ( double z ) = 0;
884  virtual void getAttachedPosition(double& x, double& y, double& z ) const = 0;
885 
887  virtual void setOrientation( double psi, double theta, double phi ) {}
888 
890  virtual void setTopographicOrientation( double psi, double theta, double phi ) {}
891 
893  virtual void setOrientation( double x, double y, double z, double w ) {}
894 
896  virtual void setAttachedOrientation(double psi, double theta, double phi) = 0;
897  virtual void setAttachedYaw(double psi) = 0;
898  virtual void setAttachedPitch(double theta) = 0;
899  virtual void setAttachedRoll(double phi) = 0;
900  virtual void getAttachedOrientation(double& psi, double& theta, double& phi) const = 0;
901 
902  virtual void setLocalModelScalingEnabled( bool enabled ) {}
903 
904  virtual void setLocalModelScalingAmount( float amount ) {}
905 
906  virtual void setObserverOffsetVector( double x, double y, double z ) {}
907 
908  virtual void getAttachedRotationOffset( double& x, double& y, double& z, double& w ) const
909  {
910  x = y = z = 0.;
911  w = 1.;
912  }
913 
914  virtual void getOrientation( double& x, double& y, double& z, double& w ) const
915  {
916  x = y = z = 0.;
917  w = 1.;
918  }
919 
920  // Get the orientation of the camera rotated by the orientation of the observer
922  virtual void getObserverCameraOrientation(double& psi, double& theta, double& phi, bool includeShake = true) const
923  {
924  psi = theta = phi = 0.;
925  }
926 
927  virtual void setAttachedRotationOffset( double x, double y, double z,
928  double w ) {}
929 
932  virtual void getObserverPlatformFront(double& x, double& y, double& z) const
933  {
934  x = y = z = 0.;
935  }
936 
939  virtual void getObserverPlatformUp(double& x, double& y, double& z) const
940  {
941  x = y = z = 0.;
942  }
943 
946  virtual void getObserverPlatformRight(double& x, double& y, double& z) const
947  {
948  x = y = z = 0.;
949  }
950 
953  virtual void getObserverCameraFront(double& x, double& y, double& z, bool includeShake=true) const
954  {
955  x = y = z = 0.;
956  }
957 
959  virtual void getObserverCameraUp(double& x, double& y, double& z, bool includeShake = true) const
960  {
961  x = y = z = 0.;
962  }
963 
965  virtual void getObserverCameraRight(double& x, double& y, double& z, bool includeShake = true) const
966  {
967  x = y = z = 0.;
968  }
969 
971  virtual void getCameraUp(double& x, double& y, double& z)
972  {
973  x = y = z = 0.;
974  }
975 
977  virtual void getCameraFront(double& x, double& y, double& z)
978  {
979  x = y = z = 0.;
980  }
981 
982 
984  virtual void getCameraRight(double& x, double& y, double& z)
985  {
986  x = y = z = 0.;
987  }
988 
991  virtual bool isMoving() const { return false; }
992 
993  virtual double topographicHeading() const
994  {
995  return 0.0;
996  }
997 
999  bool isGlobalTerrain() const
1000  {
1001  return myTerrainIsGlobalFlag;
1002  }
1003 
1004  // Sends the location of the observer on the master to all others; only used
1005  // if different
1006  virtual void synchronizeLocation( double x, double y, double z ) {}
1007 
1008  // Sends the orientation of the observer on the master to all others; only used
1009  // if different
1010  virtual void synchronizeOrientation( double x, double y, double z, double w ) {}
1011 
1013  virtual void setSensor(const std::string& sensorName);
1014 
1016  virtual DtSensor* findSensor() const;
1017 
1019  virtual void disableSensor();
1020 
1024  virtual void setLodScale(float lodScale);
1025 
1027  virtual float lodScale();
1028 
1029  private:
1030 
1033 
1035  DtObserverObject& operator=( const DtObserverObject& );
1036 
1037  protected:
1038 
1040  std::string myName;
1041  bool myIs2D;
1044  std::string myScaleType;
1058  float myLodScale;
1059  };
1060 }
virtual void gotoTerrainCenter(DtUniqueID terrainPatch, bool retry)
Go to the terrain patch&#39;s center Go to the center of the specified terrain path, offset by the scene ...
Definition: DtObserverObject.h:734
Definition: DtObserverObject.h:52
virtual void stopLevelPitchDown()
pitch down (level observer coordinates) pitch down movement (rotate down around the current level obs...
Definition: DtObserverObject.h:553
virtual void stopRollLeft()
roll left (observer coordinates) roll left movement (rotate left around the current observer Y-axis) ...
Definition: DtObserverObject.h:512
virtual void stopAll()
Stop all current motion.
Definition: DtObserverObject.h:741
virtual void dragGravityRight(double windowUnits)
Definition: DtObserverObject.h:633
virtual void stopMoveLevelObserverLeft()
move left (&#39;gravity&#39; coordinates) gravity left movement (to the left of the current heading vector...
Definition: DtObserverObject.h:303
virtual void stopMoveLevelAttachedLeft()
move left (&#39;gravity&#39; coordinates) gravity left movement (to the left of the current heading vector...
Definition: DtObserverObject.h:403
virtual void stopMoveLevelObserverUp()
move up (&#39;gravity&#39; coordinates) gravity up movement (in the opposite direction of the gravity vector)...
Definition: DtObserverObject.h:294
virtual void stopYawRight()
yaw right (observer coordinates) yaw right movement (rotate right about the observer-Z axis) axis) ...
Definition: DtObserverObject.h:485
virtual double topographicHeading() const
Definition: DtObserverObject.h:993
virtual void stopMoveAttachedBack()
move back (body coordinates) Attached back movement (along the negative body Y-axis) ...
Definition: DtObserverObject.h:359
virtual void moveAttachedContextForward(double)
move forward (&#39;attached&#39; coordinates) attached forward movement (depends on attach mode) ...
Definition: DtObserverObject.h:437
virtual void stopPitchUp()
pitch up (observer coordinates) pitch up movement (rotate up around the current observer X-axis) ...
Definition: DtObserverObject.h:494
virtual void rotateYawLeft(double rads)
yaw left (observer coordinates) yaw left movement (rotate left about the observer-Z axis) ...
Definition: DtObserverObject.h:476
DtUniqueID myUniqueId
Definition: DtObserverObject.h:1052
virtual void moveAttachedContextBack(double)
move back (&#39;attached&#39; coordinates) attached back movement (depends on attach mode) ...
Definition: DtObserverObject.h:461
virtual void moveObserverDown(double)
move down (body coordinates) Observer down movement (along the negative body Z-axis) ...
Definition: DtObserverObject.h:268
DtObserverObject::AttachType myAttachType
Definition: DtObserverObject.h:1057
virtual void getRotationalVelocity(double &x, double &y, double &z) const
Get the observer&#39;s rotational velocity.
Definition: DtObserverObject.h:849
virtual void dragTerrain2(double myStartDragX, double myStartDragY, double myStartDragZ, int deltaMouseX, int deltaMouseY)
Definition: DtObserverObject.h:627
virtual void moveAttachedUp(double)
move up (body coordinates) Attached up movement (along the positive body Z-axis)
Definition: DtObserverObject.h:344
virtual void setHideModelOnAttach(bool hide)
Definition: DtObserverObject.h:784
virtual void stopMoveAttachedDown()
move down (body coordinates) Attached down movement (along the negative body Z-axis) ...
Definition: DtObserverObject.h:367
virtual void setTopographicOrientation(double psi, double theta, double phi)
turn to psi, theta, phi
Definition: DtObserverObject.h:890
virtual void stopMoveAttachedContextDown()
move down (depends on attach mode)
Definition: DtObserverObject.h:467
virtual void rollLevelRight(double rads)
roll right (level observer coordinates) roll right movement (rotate right around the current level ob...
Definition: DtObserverObject.h:570
virtual void getOrientation(double &x, double &y, double &z, double &w) const
Definition: DtObserverObject.h:914
virtual void getLinearVelocity(double &x, double &y, double &z) const
Get the observer&#39;s linear velocity.
Definition: DtObserverObject.h:843
virtual void stopMoveObserverLeft()
move left (body coordinates) Observer left movement (along the negative body X-axis) ...
Definition: DtObserverObject.h:251
virtual void orbitUp(double rads)
orbit around current target up (observer coordinates) Orbit up, wrt the current target ...
Definition: DtObserverObject.h:594
virtual void lookTiltRight(double rads)
roll the camera right (observer coordinates) Roll look right, wrt the observer
Definition: DtObserverObject.h:685
virtual void rotateLevelPitchDown(double rads)
pitch down (level observer coordinates) pitch down movement (rotate down around the current level obs...
Definition: DtObserverObject.h:554
virtual void resetOrientation()
Reset observer and camera orientation Set observer orientation to North and level, and set the camera aligned with the observer.
Definition: DtObserverObject.h:729
virtual void getObserverCameraRight(double &x, double &y, double &z, bool includeShake=true) const
Get a vector representation of the observer * camera right axis.
Definition: DtObserverObject.h:965
Definition: DtObserverObject.h:43
virtual void setAttachedRotationOffset(double x, double y, double z, double w)
Definition: DtObserverObject.h:927
virtual void getEffectiveLocation(double &x, double &y, double &z) const
Definition: DtObserverObject.h:820
virtual void stopLevelYawLeft()
yaw left (level observer coordinates) yaw left movement (rotate left about the level observer-Z axis)...
Definition: DtObserverObject.h:528
virtual void orientTo(double x, double y, double z)
Definition: DtObserverObject.h:621
virtual void stopOrbitingRight()
orbit around current target right (observer coordinates) Orbit right, wrt the current target ...
Definition: DtObserverObject.h:585
Definition: DtObserverObject.h:45
virtual void setLocationTrackAttachment(double x, double y, double z)
Definition: DtObserverObject.h:745
virtual void rotateLevelPitchUp(double rads)
pitch up (level observer coordinates) pitch up movement (rotate up around the current level observer ...
Definition: DtObserverObject.h:546
virtual void orbitRight(double rads)
orbit around current target right (observer coordinates) Orbit right, wrt the current target ...
Definition: DtObserverObject.h:586
virtual void stopYawLeft()
yaw left (observer coordinates) yaw left movement (rotate left about the observer-Z axis) ...
Definition: DtObserverObject.h:475
virtual void stopMoveAttachedContextForward()
move forward (&#39;attached&#39; coordinates) attached forward movement (depends on attach mode) ...
Definition: DtObserverObject.h:436
virtual void getTopographicOrientation(double &psi, double &theta, double &phi) const
Get orientation in euler angles in a North-East-Down (topographic) reference.
Definition: DtObserverObject.h:837
virtual void stopMoveAttachedLeft()
move left (body coordinates) Attached left movement (along the negative body X-axis) ...
Definition: DtObserverObject.h:351
Definition: DtObserverObject.h:59
virtual void setAttachmentHas3DCockpit(bool cockpit)
The GL Studio driver uses this to tell the observer that it&#39;s going to render a 3D cockpit so the obs...
Definition: DtObserverObject.h:796
virtual void setOrientation(double x, double y, double z, double w)
turn to quat(x,y,z,w)
Definition: DtObserverObject.h:893
virtual void level()
Make the observer level Set the observer&#39;s pitch and roll angles normal to the gravity vector...
Definition: DtObserverObject.h:608
virtual void startIncreasingViewResolution()
Sets level of zoom (where 1 is default level, &lt; 1 is zoom out &gt; 1 is zoom in)
Definition: DtObserverObject.h:768
virtual void stopMoveLevelAttachedRight()
move right (&#39;gravity&#39; coordinates) gravity right movement (to the right of the current heading vector...
Definition: DtObserverObject.h:376
virtual void setSpeedScaling(bool trueFalse)
scale speed based on distance from object of interest
Definition: DtObserverObject.h:759
std::string myScaleType
Definition: DtObserverObject.h:1044
DtSensor * mySensor
Definition: DtObserverObject.h:1048
virtual void dragGravityLeft(double windowUnits)
Definition: DtObserverObject.h:632
virtual bool isMoving() const
Only called by master; indicates linear motion other than that caused by the movement of something we...
Definition: DtObserverObject.h:991
virtual void moveAttachedBack(double)
move back (body coordinates) Attached back movement (along the negative body Y-axis) ...
Definition: DtObserverObject.h:360
virtual void stopLookRight()
rotate camera right (observer coordinates) Look right, wrt the observer
Definition: DtObserverObject.h:660
virtual void stopDecreasingViewResolution()
Sets level of zoom (where 1 is default level, &lt; 1 is zoom out &gt; 1 is zoom in)
Definition: DtObserverObject.h:772
virtual void getCameraFromParentRotationOffset(double &x, double &y, double &z, double &w) const
The difference between the observer&#39;s camera and the object that the observer is attached to...
Definition: DtObserverObject.h:867
virtual void tick(double)
Do renderer post-update processing Each observer is &#39;tick&#39;ed after the renderer has done it&#39;s update...
Definition: DtObserverObject.h:189
virtual void stopMoveObserverDown()
move down (body coordinates) Observer down movement (along the negative body Z-axis) ...
Definition: DtObserverObject.h:267
float myLodScale
Definition: DtObserverObject.h:1058
virtual void rotateLevelYawLeft(double rads)
yaw left (level observer coordinates) yaw left movement (rotate left about the level observer-Z axis)...
Definition: DtObserverObject.h:529
virtual void getOrientation(double &psi, double &theta, double &phi) const
Definition: DtObserverObject.h:831
virtual void moveLevelObserverForward(double)
move forward (&#39;gravity&#39; coordinates) gravity forward movement (in the direction of the current headin...
Definition: DtObserverObject.h:286
int myModelSet
Definition: DtObserverObject.h:1043
virtual void stopMoveAttachedUp()
move up (body coordinates) Attached up movement (along the positive body Z-axis)
Definition: DtObserverObject.h:343
virtual void stopPitchDown()
pitch down (observer coordinates) pitch down movement (rotate down around the current observer X-axis...
Definition: DtObserverObject.h:503
virtual void getLocation(double &x, double &y, double &z) const
Get the position/location of the observer platform.
Definition: DtObserverObject.h:815
virtual void stopMoveLevelAttachedUp()
move up (&#39;gravity&#39; coordinates) gravity up movement (in the opposite direction of the gravity vector)...
Definition: DtObserverObject.h:394
virtual void scrollFlashlightWider(int wheelUnits)
Definition: DtObserverObject.h:639
virtual void stopMoveLevelObserverRight()
move right (&#39;gravity&#39; coordinates) gravity right movement (to the right of the current heading vector...
Definition: DtObserverObject.h:276
virtual void moveLevelAttachedLeft(double)
move left (&#39;gravity&#39; coordinates) gravity left movement (to the left of the current heading vector...
Definition: DtObserverObject.h:404
virtual void setMinLinearSpeed(double minSpeed)
Set the minimum linear speed (used for speed scaling)
Definition: DtObserverObject.h:721
virtual void dragGravityUp(double windowUnits)
Definition: DtObserverObject.h:630
virtual void moveObserverLeft(double)
move left (body coordinates) Observer left movement (along the negative body X-axis) ...
Definition: DtObserverObject.h:252
double myMaxModelScaleFactor
Definition: DtObserverObject.h:1053
virtual void stopMoveObserverRight()
Observer Control.
Definition: DtObserverObject.h:228
virtual void stopMoveLevelAttachedDown()
move down (&#39;gravity&#39; coordinates) gravity down movement (in the direction of the gravity vector) ...
Definition: DtObserverObject.h:420
virtual void getCameraFromParentOffsetVector(double &x, double &y, double &z) const
The difference between the observer&#39;s camera and the object that the observer is attached to...
Definition: DtObserverObject.h:861
virtual void stopMoveLevelAttachedBack()
move back (&#39;gravity&#39; coordinates) gravity back movement (in the opposite direction of the current hea...
Definition: DtObserverObject.h:412
bool myTerrainIsGlobalFlag
Definition: DtObserverObject.h:1045
virtual void getObserverOffsetVector(double &x, double &y, double &z) const
Definition: DtObserverObject.h:854
virtual void stopLookLeft()
Camera Control.
Definition: DtObserverObject.h:652
virtual void moveLevelObserverLeft(double)
move left (&#39;gravity&#39; coordinates) gravity left movement (to the left of the current heading vector...
Definition: DtObserverObject.h:304
virtual void setAttachType(DtObserverObject::AttachType type)
Set the type of observer attachment.
Definition: DtObserverObject.h:780
Definition: DtObserverObject.h:58
virtual void startDecreasingViewResolution()
Sets level of zoom (where 1 is default level, &lt; 1 is zoom out &gt; 1 is zoom in)
Definition: DtObserverObject.h:771
virtual void lookDown(double rads)
rotate camera down (observer coordinates) Look down, wrt the observer
Definition: DtObserverObject.h:677
virtual void setConstrainToCenter(bool trueFalse)
Definition: DtObserverObject.h:763
virtual void suppressConstrainToTerrain(bool trueFalse)
if constrain to terrain is on, suppress or end suppress if constrain to terrain is not on...
Definition: DtObserverObject.h:778
virtual void resetCamera()
Align the camera with the observer.
Definition: DtObserverObject.h:697
virtual void rotatePitchUp(double rads)
pitch up (observer coordinates) pitch up movement (rotate up around the current observer X-axis) ...
Definition: DtObserverObject.h:495
virtual void setOrientToTargetConstraint(bool orient)
Definition: DtObserverObject.h:798
virtual void stopLevelRollLeft()
roll left (level observer coordinates) roll left movement (rotate left around the current level obser...
Definition: DtObserverObject.h:561
virtual void setSecondaryAttachment(const std::vector< DtUniqueID > &ids)
Definition: DtObserverObject.h:744
virtual void moveAttachedContextLeft(double)
move left (&#39;attached&#39; coordinates) attached left movement (depends on attach mode) ...
Definition: DtObserverObject.h:453
virtual void lookTiltLeft(double rads)
roll the camera left (observer coordinates) Roll look left, wrt the observer
Definition: DtObserverObject.h:693
virtual void setOrbitSpeed(double speed)
Commands affecting Observer and Camera.
Definition: DtObserverObject.h:706
virtual void setMaxLinearSpeed(double maxSpeed)
Set the msximum linear speed (used for speed scaling)
Definition: DtObserverObject.h:718
virtual void moveLevelAttachedRight(double)
move right (&#39;gravity&#39; coordinates) gravity right movement (to the right of the current heading vector...
Definition: DtObserverObject.h:377
virtual void rollLevelLeft(double rads)
roll left (level observer coordinates) roll left movement (rotate left around the current level obser...
Definition: DtObserverObject.h:562
virtual void synchronizeOrientation(double x, double y, double z, double w)
Definition: DtObserverObject.h:1010
double myLodScaleCenterMagMinLimit
Definition: DtObserverObject.h:1055
Definition: DtObserverObject.h:44
virtual void stopLevelRollRight()
roll right (level observer coordinates) roll right movement (rotate right around the current level ob...
Definition: DtObserverObject.h:569
virtual void rotateLevelYawRight(double rads)
yaw right (level observer coordinates) yaw right movement (rotate right about the level observer-Z ax...
Definition: DtObserverObject.h:538
SpeedScalingMode
Definition: DtObserverObject.h:50
virtual void moveAttachedForward(double)
move right (body coordinates) Attached right movement (along the positive body X-axis) ...
Definition: DtObserverObject.h:336
virtual void scrollObserverBack(int wheelUnits)
Definition: DtObserverObject.h:635
virtual void dragTerrain(double lastX, double lastY, double lastZ, double currX, double currY, double currZ)
drag the database point &#39;last&#39; to the point &#39;curr&#39;
Definition: DtObserverObject.h:624
virtual void moveLevelObserverUp(double)
move up (&#39;gravity&#39; coordinates) gravity up movement (in the opposite direction of the gravity vector)...
Definition: DtObserverObject.h:295
std::map< int, bool > ModeSettingsMap
Definition: DtObserverObject.h:34
virtual void setOrientation(double psi, double theta, double phi)
turn to psi, theta, phi
Definition: DtObserverObject.h:887
virtual void setConstrainToTerrain(bool trueFalse)
constrain by terrain
Definition: DtObserverObject.h:762
bool myLodScaleCenterEnabled
Definition: DtObserverObject.h:1054
virtual void getObserverCameraUp(double &x, double &y, double &z, bool includeShake=true) const
Get a vector representation of the observer * camera up axis.
Definition: DtObserverObject.h:959
bool myScalingIntersectionTerrainSkinOnly
Definition: DtObserverObject.h:1051
virtual void stopMoveLevelAttachedForward()
move forward (&#39;gravity&#39; coordinates) gravity forward movement (in the direction of the current headin...
Definition: DtObserverObject.h:385
virtual void stopLevelYawRight()
yaw right (level observer coordinates) yaw right movement (rotate right about the level observer-Z ax...
Definition: DtObserverObject.h:537
virtual void stopMoveAttachedContextLeft()
move left (&#39;attached&#39; coordinates) attached left movement (depends on attach mode) ...
Definition: DtObserverObject.h:452
virtual void stopOrbitingDown()
orbit around current target down (observer coordinates) Orbit down, wrt the current target ...
Definition: DtObserverObject.h:601
virtual void lookRight(double rads)
rotate camera right (observer coordinates) Look right, wrt the observer
Definition: DtObserverObject.h:661
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
virtual void moveLevelAttachedBack(double)
move back (&#39;gravity&#39; coordinates) gravity back movement (in the opposite direction of the current hea...
Definition: DtObserverObject.h:413
virtual void attachToPart(int partId)
Definition: DtObserverObject.h:755
virtual void stopMoveLevelObserverDown()
move down (&#39;gravity&#39; coordinates) gravity down movement (in the direction of the gravity vector) ...
Definition: DtObserverObject.h:320
virtual void rollLeft(double rads)
roll left (observer coordinates) roll left movement (rotate left around the current observer Y-axis) ...
Definition: DtObserverObject.h:513
virtual void stopLookUp()
rotate camera up (observer coordinates) Look up, wrt the observer
Definition: DtObserverObject.h:668
This abstract base class defines the interface for OS-specific keyboard and mouse event listeners...
Definition: DtObserverObject.h:29
virtual void moveLevelObserverRight(double)
move right (&#39;gravity&#39; coordinates) gravity right movement (to the right of the current heading vector...
Definition: DtObserverObject.h:277
bool myFlashlightOn
Definition: DtObserverObject.h:1047
virtual void moveObserverForward(double)
Observer Control.
Definition: DtObserverObject.h:236
virtual void rotateFlashlightYawLeft(double rads)
yaw left (observer coordinates) yaw left movement (rotate left about the observer-Z axis) ...
Definition: DtObserverObject.h:477
virtual void detach()
Definition: DtObserverObject.h:756
virtual void setLocalModelScalingEnabled(bool enabled)
Definition: DtObserverObject.h:902
virtual void setLinearSpeed(double speed)
Set the speed used for forward/backleft/right/up/down movement (observer and camera) ...
Definition: DtObserverObject.h:712
virtual void dragGravityDown(double windowUnits)
Definition: DtObserverObject.h:631
virtual void stopMoveObserverForward()
Observer Control.
Definition: DtObserverObject.h:235
virtual void orbitDown(double rads)
orbit around current target down (observer coordinates) Orbit down, wrt the current target ...
Definition: DtObserverObject.h:602
double mySpeedScalingMslModeOffset
Definition: DtObserverObject.h:1050
virtual void stopLevelPitchUp()
pitch up (level observer coordinates) pitch up movement (rotate up around the current level observer ...
Definition: DtObserverObject.h:545
virtual void stopOrbitingLeft()
orbit around current target left (observer coordinates) Orbit left, wrt the current target ...
Definition: DtObserverObject.h:577
virtual void setViewResolution(double resolution)
Sets level of zoom (where 1 is default level, &lt; 1 is zoom out &gt; 1 is zoom in)
Definition: DtObserverObject.h:773
virtual void setLocalModelScalingAmount(float amount)
Definition: DtObserverObject.h:904
NorthType
Definition: DtObserverObject.h:56
Definition of a sensor.
Definition: DtSensor.h:30
SpeedScalingMode mySpeedScalingMode
Definition: DtObserverObject.h:1049
virtual void getObserverCameraOrientation(double &psi, double &theta, double &phi, bool includeShake=true) const
(so, where the camera is actually looking)
Definition: DtObserverObject.h:922
virtual void rotateFlashlightPitchUp(double rads)
pitch up (observer coordinates) pitch up movement (rotate up around the current observer X-axis) ...
Definition: DtObserverObject.h:496
virtual void stopRollRight()
roll right (observer coordinates) roll right movement (rotate right around the current observer Y-axi...
Definition: DtObserverObject.h:520
virtual void moveLevelObserverBack(double)
move back (&#39;gravity&#39; coordinates) gravity back movement (in the opposite direction of the current hea...
Definition: DtObserverObject.h:313
virtual void setLocation(double x, double y, double z)
jump to x, y, z
Definition: DtObserverObject.h:611
virtual void scrollLevelObserverBack(int wheelUnits)
Definition: DtObserverObject.h:637
virtual void moveLevelAttachedDown(double)
move down (&#39;gravity&#39; coordinates) gravity down movement (in the direction of the gravity vector) ...
Definition: DtObserverObject.h:421
virtual void setOrbiting(bool orient)
Definition: DtObserverObject.h:799
std::string myName
Definition: DtObserverObject.h:1040
virtual void scrollLevelObserverForward(int wheelUnits)
Definition: DtObserverObject.h:636
virtual void stopMoveAttachedContextRight()
move right (&#39;attached&#39; coordinates) attached right movement (depends on attach mode) ...
Definition: DtObserverObject.h:428
virtual void scrollObserverForward(int wheelUnits)
Definition: DtObserverObject.h:634
virtual void stopMoveAttachedContextUp()
move up (&#39;attached&#39; coordinates) attached up movement (depends on attach mode)
Definition: DtObserverObject.h:444
virtual void moveAttachedDown(double)
move down (body coordinates) Attached down movement (along the negative body Z-axis) ...
Definition: DtObserverObject.h:368
virtual double linearSpeed()
Get the observer object&#39;s calculated speed (includes speed scaling in the deriving class) ...
Definition: DtObserverObject.h:874
virtual void moveObserverBack(double)
move back (body coordinates) Observer back movement (along the negative body Y-axis) ...
Definition: DtObserverObject.h:260
virtual void stopMoveLevelObserverForward()
move forward (&#39;gravity&#39; coordinates) gravity forward movement (in the direction of the current headin...
Definition: DtObserverObject.h:285
Definition: DtObserverObject.h:38
virtual void stopOrbitingUp()
orbit around current target up (observer coordinates) Orbit up, wrt the current target ...
Definition: DtObserverObject.h:593
virtual void stopMoveAttachedContextBack()
move back (&#39;attached&#39; coordinates) attached back movement (depends on attach mode) ...
Definition: DtObserverObject.h:460
virtual void stopMoveAttachedForward()
move right (body coordinates) Attached right movement (along the positive body X-axis) ...
Definition: DtObserverObject.h:335
virtual void stopLookTiltLeft()
roll the camera left (observer coordinates) Roll look left, wrt the observer
Definition: DtObserverObject.h:692
virtual void setObserverOffsetVector(double x, double y, double z)
Definition: DtObserverObject.h:906
virtual void moveLevelAttachedForward(double)
move forward (&#39;gravity&#39; coordinates) gravity forward movement (in the direction of the current headin...
Definition: DtObserverObject.h:386
virtual void jumpTo(double x, double y, double z)
jump to x, y, z and then the observer is &#39;backed off&#39; the location based on the distance of the jump...
Definition: DtObserverObject.h:615
virtual void moveAttachedRight(double)
move right (body coordinates) Attached right movement (along the positive body X-axis) ...
Definition: DtObserverObject.h:329
virtual void moveAttachedContextDown(double)
move down (depends on attach mode)
Definition: DtObserverObject.h:468
virtual void moveLevelAttachedUp(double)
move up (&#39;gravity&#39; coordinates) gravity up movement (in the opposite direction of the gravity vector)...
Definition: DtObserverObject.h:395
virtual double viewResolution() const
Zoom factor. Used to scale terrain and objects.
Definition: DtObserverObject.h:201
virtual void lookUp(double rads)
rotate camera up (observer coordinates) Look up, wrt the observer
Definition: DtObserverObject.h:669
DT_DLL_vrfutil double mag(double x[3])
virtual void moveAttachedContextRight(double)
move right (&#39;attached&#39; coordinates) attached right movement (depends on attach mode) ...
Definition: DtObserverObject.h:429
const char int mode
Definition: ioapi.h:38
virtual void setSpeedScaledSpeed(double speed)
Used for reset when there is no terrain.
Definition: DtObserverObject.h:709
virtual void jumpTo(DtUniqueID id)
jump to object specfied by ID. The observer is &#39;backed off&#39; from the location of the object based on ...
Definition: DtObserverObject.h:619
virtual void rotatePitchDown(double rads)
pitch down (observer coordinates) pitch down movement (rotate down around the current observer X-axis...
Definition: DtObserverObject.h:504
virtual void setRotationSpeed(double speed)
Set the speed used for rotation (observer and camera)
Definition: DtObserverObject.h:715
virtual void getObserverPlatformFront(double &x, double &y, double &z) const
Get a vector representation of the observer&#39;s front axis; this is before the camera orientation is ap...
Definition: DtObserverObject.h:932
Contains makVrv::DtUniqueID type.
virtual void orbitLeft(double rads)
orbit around current target left (observer coordinates) Orbit left, wrt the current target ...
Definition: DtObserverObject.h:578
virtual void stopLookTiltRight()
roll the camera right (observer coordinates) Roll look right, wrt the observer
Definition: DtObserverObject.h:684
virtual void stopMoveObserverUp()
move up (body coordinates) Observer up movement (along the positive body Z-axis)
Definition: DtObserverObject.h:243
virtual void decreaseViewResolution()
Sets level of zoom (where 1 is default level, &lt; 1 is zoom out &gt; 1 is zoom in)
Definition: DtObserverObject.h:770
double myScaleFactor
Definition: DtObserverObject.h:1042
virtual void getCameraUp(double &x, double &y, double &z)
Get a vector representation of the observer&#39;s camera&#39;s up axis.
Definition: DtObserverObject.h:971
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:70
DtObserverObject::NorthType myNorthType
Definition: DtObserverObject.h:1056
bool isGlobalTerrain() const
Are we on a global terrain.
Definition: DtObserverObject.h:999
virtual void moveObserverRight(double)
Observer Control.
Definition: DtObserverObject.h:229
virtual void getObserverPlatformUp(double &x, double &y, double &z) const
Get a vector representation of the observer&#39;s up axis; this is before the camera orientation is appli...
Definition: DtObserverObject.h:939
virtual void stopLookDown()
rotate camera down (observer coordinates) Look down, wrt the observer
Definition: DtObserverObject.h:676
virtual void stopMoveAttachedRight()
move right (body coordinates) Attached right movement (along the positive body X-axis) ...
Definition: DtObserverObject.h:328
voidpf uLong offset
Definition: ioapi.h:42
virtual void rollRight(double rads)
roll right (observer coordinates) roll right movement (rotate right around the current observer Y-axi...
Definition: DtObserverObject.h:521
virtual void moveObserverUp(double)
move up (body coordinates) Observer up movement (along the positive body Z-axis)
Definition: DtObserverObject.h:244
Definition: DtObserverObject.h:41
virtual void stopMoveObserverBack()
move back (body coordinates) Observer back movement (along the negative body Y-axis) ...
Definition: DtObserverObject.h:259
virtual void getCameraRight(double &x, double &y, double &z)
Get a vector representation of the observer&#39;s camera&#39;s right axis.
Definition: DtObserverObject.h:984
virtual void scrollFlashlightNarrower(int wheelUnits)
Definition: DtObserverObject.h:640
virtual void getObserverCameraFront(double &x, double &y, double &z, bool includeShake=true) const
Get a vector representation of the observer * camera front axis This is where the observer is actuall...
Definition: DtObserverObject.h:953
virtual void attachToObjects(const std::vector< DtUniqueID > &ids)
Definition: DtObserverObject.h:743
ModeSettingsMap myModeSettingsMap
Definition: DtObserverObject.h:1046
virtual void moveAttachedLeft(double)
move left (body coordinates) Attached left movement (along the negative body X-axis) ...
Definition: DtObserverObject.h:352
virtual void rotateFlashlightPitchDown(double rads)
pitch down (observer coordinates) pitch down movement (rotate down around the current observer X-axis...
Definition: DtObserverObject.h:505
DtDe & myDe
Definition: DtObserverObject.h:1039
virtual void moveLevelObserverDown(double)
move down (&#39;gravity&#39; coordinates) gravity down movement (in the direction of the gravity vector) ...
Definition: DtObserverObject.h:321
virtual void getObserverPlatformRight(double &x, double &y, double &z) const
Get a vector representation of the observer&#39;s right axis; this is before the camera orientation is ap...
Definition: DtObserverObject.h:946
virtual void stopIncreasingViewResolution()
Sets level of zoom (where 1 is default level, &lt; 1 is zoom out &gt; 1 is zoom in)
Definition: DtObserverObject.h:769
virtual void setOrientCameraToTargetConstraint(bool orient)
Definition: DtObserverObject.h:800
virtual void getAttachedRotationOffset(double &x, double &y, double &z, double &w) const
Definition: DtObserverObject.h:908
virtual void lookLeft(double rads)
Camera Control.
Definition: DtObserverObject.h:653
virtual void rotateYawRight(double rads)
yaw right (observer coordinates) yaw right movement (rotate right about the observer-Z axis) axis) ...
Definition: DtObserverObject.h:486
virtual void moveAttachedContextUp(double)
move up (&#39;attached&#39; coordinates) attached up movement (depends on attach mode)
Definition: DtObserverObject.h:445
virtual void stopMoveLevelObserverBack()
move back (&#39;gravity&#39; coordinates) gravity back movement (in the opposite direction of the current hea...
Definition: DtObserverObject.h:312
Definition: DtObserverObject.h:42
Definition: DtObserverObject.h:40
bool myIs2D
Definition: DtObserverObject.h:1041
virtual void getCameraFront(double &x, double &y, double &z)
Get a vector representation of the observer&#39;s camera&#39;s front axis.
Definition: DtObserverObject.h:977
Definition: DtObserverObject.h:39
virtual void synchronizeLocation(double x, double y, double z)
Definition: DtObserverObject.h:1006
virtual void setLinearScaledSpeedGain(double gain)
Set the linear gain as a % of max gain (precision)
Definition: DtObserverObject.h:724
virtual void getObserverCameraPosition(double &x, double &y, double &z) const
Get the position of the observer&#39;s camera, which may be offset from the observer platform.
Definition: DtObserverObject.h:826
virtual void rotateFlashlightYawRight(double rads)
yaw right (observer coordinates) yaw right movement (rotate right about the observer-Z axis) axis) ...
Definition: DtObserverObject.h:487
AttachType
Definition: DtObserverObject.h:36
Contains DLL export macros.
virtual void resetAttachment()
reset orientation and position offsets
Definition: DtObserverObject.h:737

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)