VR-Forces 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) 2023 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 <vrvUtil/DtQuat.h>
16 
17 #include <string>
18 #include <vector>
19 #include <map>
20 
21 namespace makVrv
22 {
23 
24  class DtDe;
25  class DtInputDriver;
26  class DtSensor;
27  enum class DtModelSetId;
28 
33  {
34 
35  public:
36 
37  typedef std::map<int, bool> ModeSettingsMap;
38 
40  {
50  AttachTypeMimicLocationTrack
51  };
52 
54  {
56  SpeedScalingMsl
57  };
58 
59  enum NorthType
60  {
63  NorthTypeGridNorth
64  };
65 
67  DtObserverObject( DtDe& de, DtUniqueID id, const std::string& name="" );
68 
70  virtual ~DtObserverObject();
71 
73  virtual const std::string& name() const;
74 
76  virtual bool is2D() const;
77 
79  virtual void setIs2D( bool is2D );
80 
82  virtual bool displaySky() const;
83 
85  virtual void setDisplaySky( bool hasSky );
86 
88  virtual bool dynamicLights() const;
89 
91  virtual void setDynamicLights( bool enabled );
92 
94  virtual bool dynamicOcean() const;
95 
97  virtual void setDynamicOcean( bool enabled );
98 
101  virtual bool isScaling() const;
102 
104  virtual void setScaling(bool scale);
105 
107  virtual double scaleFactor() const;
108 
110  virtual void setScaleFactor( double scaleFactor );
111 
114  virtual void setMaxModelScaleFactor(double maxModelScaleFactor);
115 
117  virtual double maxModelScaleFactor() const;
118 
120  void setLodScaleCenterEnabled(bool enabled);
122  bool lodScaleCenterEnabled() const;
124 
126  void setLodScaleCenterMagMinLimit(double limit);
128  double lodScaleCenterMagMinLimit() const;
130 
132  virtual DtObserverObject::NorthType northType() const;
133 
135  virtual void setNorthType(DtObserverObject::NorthType northType);
136 
140  virtual void setColorControlEnabled(bool enabled);
141 
143  virtual bool colorControlEnabled() const;
144 
148  virtual void setColorControlInvert(bool enabled);
149 
151  virtual bool colorControlInvert() const;
152 
156  virtual void setColorControlContrast(double value);
157 
159  virtual double colorControlContrast() const;
160 
164  virtual void setColorControlBrightness(double value);
165 
167  virtual double colorControlBrightness() const;
168 
172  virtual void setColorControlColorMix(double value);
173 
175  virtual double colorControlColorMix() const;
176 
178  virtual const std::string& scaleType() const;
179 
181  virtual void setScaleType(const std::string& scaleType);
182 
184  virtual DtModelSetId modelSet() const;
185 
187  virtual void setModelSet( DtModelSetId modelSet );
188 
190  virtual void setSpeedScalingMode( SpeedScalingMode mode );
191 
193  virtual SpeedScalingMode speedScalingMode() const;
194 
196  virtual void setSpeedScalingMslModeOffset( double offset );
197 
199  virtual double speedScalingMslModeOffset() const;
200 
203  void setScalingIntersectionTerrainSkinOnly(bool enabled);
205  bool scalingIntersectionTerrainSkinOnly() const;
206 
210  virtual void clearModeSettings();
211 
214  virtual void setModeSetting( int setting, bool value );
215 
218  virtual bool modeSetting( int setting ) const;
219 
220  virtual const ModeSettingsMap& modeSettings() const;
221 
225  virtual void setNameAndRegister( const std::string& name );
226 
232  virtual void tick( double ) {}
233 
235  virtual void setTerrainIsGlobal(bool global);
236 
238  virtual double altitude() const = 0;
239 
241  virtual double heightAboveTerrain() const = 0;
242 
244  virtual double viewResolution() const { return 1.; };
245 
248  virtual double zoomFromHeightAboveTerrain(double hat, double magnification = 1) const = 0;
249 
250 
256  virtual void setCurrentViewMagnification( double mag ) = 0;
257 
259  virtual double currentViewMagnification() const = 0;
260 
261  //
262  //
264  //
265  //
266 
268  virtual void startMoveObserverRight() {}
271  virtual void stopMoveObserverRight() {}
272  virtual void moveObserverRight( double ) {}
273 
275  virtual void startMoveObserverForward() {}
278  virtual void stopMoveObserverForward() {}
279  virtual void moveObserverForward( double ) {}
281 
283  virtual void startMoveObserverUp() {}
286  virtual void stopMoveObserverUp() {}
287  virtual void moveObserverUp( double ) {}
289 
291  virtual void startMoveObserverLeft() {}
294  virtual void stopMoveObserverLeft() {}
295  virtual void moveObserverLeft( double ) {}
297 
299  virtual void startMoveObserverBack() {}
302  virtual void stopMoveObserverBack() {}
303  virtual void moveObserverBack( double ) {}
305 
307  virtual void startMoveObserverDown() {}
310  virtual void stopMoveObserverDown() {}
311  virtual void moveObserverDown( double ) {}
313 
315  virtual void startMoveLevelObserverRight() {}
319  virtual void stopMoveLevelObserverRight() {}
320  virtual void moveLevelObserverRight( double ) {}
322 
324  virtual void startMoveLevelObserverForward() {}
329  virtual void moveLevelObserverForward( double ) {}
331 
333  virtual void startMoveLevelObserverUp() {}
337  virtual void stopMoveLevelObserverUp() {}
338  virtual void moveLevelObserverUp( double ) {}
340 
342  virtual void startMoveLevelObserverLeft() {}
346  virtual void stopMoveLevelObserverLeft() {}
347  virtual void moveLevelObserverLeft( double ) {}
349 
351  virtual void startMoveLevelObserverBack() {}
355  virtual void stopMoveLevelObserverBack() {}
356  virtual void moveLevelObserverBack( double ) {}
358 
360  virtual void startMoveLevelObserverDown() {}
363  virtual void stopMoveLevelObserverDown() {}
364  virtual void moveLevelObserverDown( double ) {}
366 
368  virtual void startMoveAttachedRight() {}
371  virtual void stopMoveAttachedRight() {}
372  virtual void moveAttachedRight( double ) {}
373 
375  virtual void startMoveAttachedForward() {}
378  virtual void stopMoveAttachedForward() {}
379  virtual void moveAttachedForward( double ) {}
381 
383  virtual void startMoveAttachedUp() {}
386  virtual void stopMoveAttachedUp() {}
387  virtual void moveAttachedUp( double ) {}
389 
391  virtual void startMoveAttachedLeft() {}
394  virtual void stopMoveAttachedLeft() {}
395  virtual void moveAttachedLeft( double ) {}
397 
399  virtual void startMoveAttachedBack() {}
402  virtual void stopMoveAttachedBack() {}
403  virtual void moveAttachedBack( double ) {}
405 
407  virtual void startMoveAttachedDown() {}
410  virtual void stopMoveAttachedDown() {}
411  virtual void moveAttachedDown( double ) {}
413 
415  virtual void startMoveLevelAttachedRight() {}
419  virtual void stopMoveLevelAttachedRight() {}
420  virtual void moveLevelAttachedRight( double ) {}
422 
424  virtual void startMoveLevelAttachedForward() {}
429  virtual void moveLevelAttachedForward( double ) {}
431 
433  virtual void startMoveLevelAttachedUp() {}
437  virtual void stopMoveLevelAttachedUp() {}
438  virtual void moveLevelAttachedUp( double ) {}
440 
442  virtual void startMoveLevelAttachedLeft() {}
446  virtual void stopMoveLevelAttachedLeft() {}
447  virtual void moveLevelAttachedLeft( double ) {}
449 
451  virtual void startMoveLevelAttachedBack() {}
455  virtual void stopMoveLevelAttachedBack() {}
456  virtual void moveLevelAttachedBack( double ) {}
458 
460  virtual void startMoveLevelAttachedDown() {}
463  virtual void stopMoveLevelAttachedDown() {}
464  virtual void moveLevelAttachedDown( double ) {}
466 
468  virtual void startMoveAttachedContextRight() {}
472  virtual void moveAttachedContextRight( double ) {}
474 
476  virtual void startMoveAttachedContextForward() {}
480  virtual void moveAttachedContextForward( double ) {}
482 
484  virtual void startMoveAttachedContextUp() {}
487  virtual void stopMoveAttachedContextUp() {}
488  virtual void moveAttachedContextUp( double ) {}
490 
492  virtual void startMoveAttachedContextLeft() {}
495  virtual void stopMoveAttachedContextLeft() {}
496  virtual void moveAttachedContextLeft( double ) {}
498 
500  virtual void startMoveAttachedContextBack() {}
503  virtual void stopMoveAttachedContextBack() {}
504  virtual void moveAttachedContextBack( double ) {}
506 
508  virtual void startMoveAttachedContextDown() {}
510  virtual void stopMoveAttachedContextDown() {}
511  virtual void moveAttachedContextDown( double ) {}
513 
515  virtual void startYawLeft() {}
518  virtual void stopYawLeft() {}
519  virtual void rotateYawLeft( double rads ) {}
520  virtual void rotateFlashlightYawLeft( double rads ) {}
522 
524  virtual void startYawRight() {}
528  virtual void stopYawRight() {}
529  virtual void rotateYawRight( double rads ) {}
530  virtual void rotateFlashlightYawRight( double rads ) {}
532 
534  virtual void startPitchUp() {}
537  virtual void stopPitchUp() {}
538  virtual void rotatePitchUp( double rads ) {}
539  virtual void rotateFlashlightPitchUp( double rads ) {}
541 
543  virtual void startPitchDown() {}
546  virtual void stopPitchDown() {}
547  virtual void rotatePitchDown( double rads ) {}
548  virtual void rotateFlashlightPitchDown( double rads ) {}
550 
552  virtual void startRollLeft() {}
555  virtual void stopRollLeft() {}
556  virtual void rollLeft( double rads ) {}
558 
560  virtual void startRollRight() {}
563  virtual void stopRollRight() {}
564  virtual void rollRight( double rads ) {}
566 
568  virtual void startLevelYawLeft() {}
571  virtual void stopLevelYawLeft() {}
572  virtual void rotateLevelYawLeft( double rads ) {}
574 
576  virtual void startLevelYawRight() {}
580  virtual void stopLevelYawRight() {}
581  virtual void rotateLevelYawRight( double rads ) {}
583 
585  virtual void startLevelPitchUp() {}
588  virtual void stopLevelPitchUp() {}
589  virtual void rotateLevelPitchUp( double rads ) {}
591 
593  virtual void startLevelPitchDown() {}
596  virtual void stopLevelPitchDown() {}
597  virtual void rotateLevelPitchDown( double rads ) {}
599 
601  virtual void startLevelRollLeft() {}
604  virtual void stopLevelRollLeft() {}
605  virtual void rollLevelLeft( double rads ) {}
607 
609  virtual void startLevelRollRight() {}
612  virtual void stopLevelRollRight() {}
613  virtual void rollLevelRight( double rads ) {}
615 
617  virtual void startOrbitingLeft() {}
620  virtual void stopOrbitingLeft() {}
621  virtual void orbitLeft( double rads ) {}
623 
625  virtual void startOrbitingRight() {}
628  virtual void stopOrbitingRight() {}
629  virtual void orbitRight( double rads ) {}
631 
633  virtual void startOrbitingUp( ) {}
636  virtual void stopOrbitingUp() {}
637  virtual void orbitUp( double rads ) {}
639 
641  virtual void startOrbitingDown() {}
644  virtual void stopOrbitingDown() {}
645  virtual void orbitDown( double rads ) {}
647 
651  virtual void level() {}
652 
654  virtual void setLocation( double x, double y, double z ) {}
655 
658  virtual void jumpTo( double x, double y, double z ) {}
659 
662  virtual void jumpTo( DtUniqueID id ) {}
663 
664  virtual void orientTo( double x, double y, double z ) {} // = 0;
665 
667  virtual void dragTerrain( double lastX, double lastY, double lastZ,
668  double currX, double currY, double currZ ) {}
669 
670  virtual void dragTerrain2( double myStartDragX, double myStartDragY,
671  double myStartDragZ, int deltaMouseX, int deltaMouseY ) {}
672 
673  virtual void dragGravityUp( double windowUnits ) {}
674  virtual void dragGravityDown( double windowUnits ) {}
675  virtual void dragGravityLeft( double windowUnits ) {}
676  virtual void dragGravityRight( double windowUnits ) {}
677  virtual void scrollObserverForward( int wheelUnits ) {}
678  virtual void scrollObserverBack( int wheelUnits ) {}
679  virtual void scrollLevelObserverForward( int wheelUnits ) {}
680  virtual void scrollLevelObserverBack( int wheelUnits ) {}
681 
682  virtual void scrollFlashlightWider( int wheelUnits ) {}
683  virtual void scrollFlashlightNarrower( int wheelUnits ) {}
684 
685  //
686  //
688  //
689  //
690 
692  virtual void startLookLeft() {}
695  virtual void stopLookLeft() {}
696  virtual void lookLeft( double rads ) {}
698 
700  virtual void startLookRight() {}
703  virtual void stopLookRight() {}
704  virtual void lookRight( double rads ) {}
706 
708  virtual void startLookUp( ) {}
711  virtual void stopLookUp() {}
712  virtual void lookUp( double rads ) {}
714 
716  virtual void startLookDown() {}
719  virtual void stopLookDown() {}
720  virtual void lookDown( double rads ) {}
722 
724  virtual void startLookTiltRight() {}
727  virtual void stopLookTiltRight() {}
728  virtual void lookTiltRight( double rads ) {}
730 
732  virtual void startLookTiltLeft() {}
735  virtual void stopLookTiltLeft() {}
736  virtual void lookTiltLeft( double rads ) {}
738 
740  virtual void resetCamera() {}
741 
742  //
743  //
745  //
746  //
747 
749  virtual void setOrbitSpeed( double speed ) {}
750 
752  virtual void setSpeedScaledSpeed( double speed ) {}
753 
755  virtual void setLinearSpeed( double speed ) {}
756 
758  virtual void setRotationSpeed( double speed ) {}
759 
761  virtual void setMaxLinearSpeed( double maxSpeed ) {}
762 
764  virtual void setMinLinearSpeed( double minSpeed ) {}
765 
767  virtual void setLinearScaledSpeedGain( double gain ) {}
768 
772  virtual void resetOrientation() {}
773 
777  virtual void gotoTerrainCenter( DtUniqueID terrainPatch, bool retry ) {}
778 
780  virtual void resetAttachment() {}
781 
782 
784  virtual void stopAll() {}
785 
786  virtual void attachToObjects( const std::vector<DtUniqueID>& ids ) {}
787  virtual void setSecondaryAttachment( const std::vector<DtUniqueID>& ids ) {}
788  virtual void setLocationTrackAttachment( double x, double y, double z ) {}
789 
791  virtual std::vector<DtUniqueID> currentAttachments() const = 0;
792 
795  virtual void getLocationTrackAttachment( double& x, double& y, double& z )
796  const = 0;
797 
798  virtual void attachToPart( int partId) {}
799  virtual void detach() {}
800 
802  virtual void setSpeedScaling( bool trueFalse ) {}
803 
805  virtual void setConstrainToTerrain( bool trueFalse ) {}
806  virtual void setConstrainToCenter( bool trueFalse ) {}
807 
809  virtual void increaseViewResolution() {}
813  virtual void decreaseViewResolution() {}
816  virtual void setViewResolution( double resolution ) {}
818 
821  virtual void suppressConstrainToTerrain( bool trueFalse ) {}
825  virtual DtObserverObject::AttachType attachType();
826 
827  virtual void setHideModelOnAttach( bool hide ) {}
828 
831  virtual void setUsesBoundingVolumeForAttachedOffsets(bool useBoundingVolume) = 0;
834  virtual bool usesBoundingVolumeForAttachedOffsets() const = 0;
835 
839  virtual void setAttachmentHas3DCockpit( bool cockpit ) {}
840 
841  virtual void setOrientToTargetConstraint( bool orient ) {}
842  virtual void setOrbiting( bool orient ) {}
843  virtual void setOrientCameraToTargetConstraint( bool orient ) {}
844 
846  virtual void setFlashlightEnabled(bool enabled);
847 
849  virtual void setCameraShakeRotation(double x, double y, double z, double w);
850 
852  virtual void getCameraShakeRotation(double& x, double& y, double& z, double& w);
853 
855  virtual bool flashlightOn() const;
856 
858  virtual void getLocation(double &x, double &y, double& z) const
859  {
860  x = y = z = 0.;
861  }
862 
863  virtual void getEffectiveLocation(double &x, double &y, double& z) const
864  {
865  x = y = z = 0.;
866  }
867 
869  virtual void getObserverCameraPosition(double& x, double& y, double& z) const
870  {
871  x = y = z = 0;
872  }
873 
874  virtual void getOrientation( double& psi, double& theta, double& phi ) const
875  {
876  psi = theta = phi = 0.;
877  }
878 
880  virtual void getTopographicOrientation( double& psi, double& theta, double& phi ) const
881  {
882  psi = theta = phi = 0.;
883  }
884 
886  virtual void getLinearVelocity( double &x, double &y, double &z ) const
887  {
888  x = y = z = 0;
889  }
890 
892  virtual void getRotationalVelocity( double& x, double& y, double& z) const
893  {
894  x = y = z = 0.;
895  }
896 
897  virtual void getObserverOffsetVector( double& x, double& y, double& z ) const
898  {
899  x = y = z = 0.;
900  }
901 
904  virtual void getCameraFromParentOffsetVector( double& x, double& y, double& z ) const
905  {
906  x = y = z = 0.;
907  }
910  virtual void getCameraFromParentRotationOffset( double& x, double& y, double& z, double& w ) const
911  {
912  x = y = z = w =0.;
913  }
914 
917  virtual double linearSpeed()
918  {
919  return 0.;
920  }
921 
923  virtual void setAttachedLocation( double x, double y, double z ) = 0;
924  virtual void setAttachedX( double x ) = 0;
925  virtual void setAttachedY( double y ) = 0;
926  virtual void setAttachedZ( double z ) = 0;
927  virtual void getAttachedPosition(double& x, double& y, double& z ) const = 0;
928 
930  virtual void setOrientation( double psi, double theta, double phi ) {}
931 
933  virtual void setTopographicOrientation( double psi, double theta, double phi ) {}
934 
936  virtual void setOrientation( double x, double y, double z, double w ) {}
937 
939  virtual void setAttachedOrientation(double psi, double theta, double phi) = 0;
940  virtual void setAttachedYaw(double psi) = 0;
941  virtual void setAttachedPitch(double theta) = 0;
942  virtual void setAttachedRoll(double phi) = 0;
943  virtual void getAttachedOrientation(double& psi, double& theta, double& phi) const = 0;
944 
945  virtual void setLocalModelScalingEnabled( bool enabled ) {}
946 
947  virtual void setLocalModelScalingAmount( float amount ) {}
948 
949  virtual void setObserverOffsetVector( double x, double y, double z ) {}
950 
951  virtual void getAttachedRotationOffset( double& x, double& y, double& z, double& w ) const
952  {
953  x = y = z = 0.;
954  w = 1.;
955  }
956 
957  virtual void getOrientation( double& x, double& y, double& z, double& w ) const
958  {
959  x = y = z = 0.;
960  w = 1.;
961  }
962 
963  // Get the orientation of the camera rotated by the orientation of the observer
965  virtual void getObserverCameraOrientation(double& psi, double& theta, double& phi, bool includeShake = true) const
966  {
967  psi = theta = phi = 0.;
968  }
969 
970  virtual void getCameraPositionAndOrientation(DtVector& position, DtQuat& rotation) const
971  {
972  // intentional noop
973  }
974 
975  virtual void setAttachedRotationOffset( double x, double y, double z,
976  double w ) {}
977 
980  virtual void getObserverPlatformFront(double& x, double& y, double& z) const
981  {
982  x = y = z = 0.;
983  }
984 
987  virtual void getObserverPlatformUp(double& x, double& y, double& z) const
988  {
989  x = y = z = 0.;
990  }
991 
994  virtual void getObserverPlatformRight(double& x, double& y, double& z) const
995  {
996  x = y = z = 0.;
997  }
998 
1001  virtual void getObserverCameraFront(double& x, double& y, double& z, bool includeShake=true) const
1002  {
1003  x = y = z = 0.;
1004  }
1005 
1007  virtual void getObserverCameraUp(double& x, double& y, double& z, bool includeShake = true) const
1008  {
1009  x = y = z = 0.;
1010  }
1011 
1013  virtual void getObserverCameraRight(double& x, double& y, double& z, bool includeShake = true) const
1014  {
1015  x = y = z = 0.;
1016  }
1017 
1019  virtual void getCameraUp(double& x, double& y, double& z)
1020  {
1021  x = y = z = 0.;
1022  }
1023 
1025  virtual void getCameraFront(double& x, double& y, double& z)
1026  {
1027  x = y = z = 0.;
1028  }
1029 
1030 
1032  virtual void getCameraRight(double& x, double& y, double& z)
1033  {
1034  x = y = z = 0.;
1035  }
1036 
1039  virtual bool isMoving() const { return false; }
1040 
1041  virtual double topographicHeading() const
1042  {
1043  return 0.0;
1044  }
1045 
1047  bool isGlobalTerrain() const
1048  {
1049  return myTerrainIsGlobalFlag;
1050  }
1051 
1052  // Sends the location of the observer on the master to all others; only used
1053  // if different
1054  virtual void synchronizeLocation( double x, double y, double z ) {}
1055 
1056  // Sends the orientation of the observer on the master to all others; only used
1057  // if different
1058  virtual void synchronizeOrientation( double x, double y, double z, double w ) {}
1059 
1061  virtual void setSensor(const std::string& sensorName);
1062 
1064  virtual DtSensor* findSensor() const;
1065 
1067  virtual void disableSensor();
1068 
1072  virtual void setLodScale(float lodScale);
1073 
1075  virtual float lodScale();
1076 
1077  private:
1078 
1081 
1083  DtObserverObject& operator=( const DtObserverObject& );
1084 
1085  protected:
1086 
1088  std::string myName;
1089  bool myIs2D;
1092  std::string myScaleType;
1111  float myLodScale;
1112  };
1113 }
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:777
Definition: DtObserverObject.h:55
virtual void stopLevelPitchDown()
pitch down (level observer coordinates) pitch down movement (rotate down around the current level obs...
Definition: DtObserverObject.h:596
virtual void stopRollLeft()
roll left (observer coordinates) roll left movement (rotate left around the current observer Y-axis) ...
Definition: DtObserverObject.h:555
virtual void stopAll()
Stop all current motion.
Definition: DtObserverObject.h:784
virtual void dragGravityRight(double windowUnits)
Definition: DtObserverObject.h:676
virtual void stopMoveLevelObserverLeft()
move left (&#39;gravity&#39; coordinates) gravity left movement (to the left of the current heading vector...
Definition: DtObserverObject.h:346
virtual void stopMoveLevelAttachedLeft()
move left (&#39;gravity&#39; coordinates) gravity left movement (to the left of the current heading vector...
Definition: DtObserverObject.h:446
virtual void stopMoveLevelObserverUp()
move up (&#39;gravity&#39; coordinates) gravity up movement (in the opposite direction of the gravity vector)...
Definition: DtObserverObject.h:337
virtual void stopYawRight()
yaw right (observer coordinates) yaw right movement (rotate right about the observer-Z axis) axis) ...
Definition: DtObserverObject.h:528
virtual double topographicHeading() const
Definition: DtObserverObject.h:1041
virtual void stopMoveAttachedBack()
move back (body coordinates) Attached back movement (along the negative body Y-axis) ...
Definition: DtObserverObject.h:402
virtual void moveAttachedContextForward(double)
move forward (&#39;attached&#39; coordinates) attached forward movement (depends on attach mode) ...
Definition: DtObserverObject.h:480
virtual void stopPitchUp()
pitch up (observer coordinates) pitch up movement (rotate up around the current observer X-axis) ...
Definition: DtObserverObject.h:537
virtual void rotateYawLeft(double rads)
yaw left (observer coordinates) yaw left movement (rotate left about the observer-Z axis) ...
Definition: DtObserverObject.h:519
DtUniqueID myUniqueId
Definition: DtObserverObject.h:1100
virtual void moveAttachedContextBack(double)
move back (&#39;attached&#39; coordinates) attached back movement (depends on attach mode) ...
Definition: DtObserverObject.h:504
virtual void moveObserverDown(double)
move down (body coordinates) Observer down movement (along the negative body Z-axis) ...
Definition: DtObserverObject.h:311
DtObserverObject::AttachType myAttachType
Definition: DtObserverObject.h:1105
virtual void getRotationalVelocity(double &x, double &y, double &z) const
Get the observer&#39;s rotational velocity.
Definition: DtObserverObject.h:892
virtual void dragTerrain2(double myStartDragX, double myStartDragY, double myStartDragZ, int deltaMouseX, int deltaMouseY)
Definition: DtObserverObject.h:670
virtual void moveAttachedUp(double)
move up (body coordinates) Attached up movement (along the positive body Z-axis)
Definition: DtObserverObject.h:387
virtual void setHideModelOnAttach(bool hide)
Definition: DtObserverObject.h:827
virtual void stopMoveAttachedDown()
move down (body coordinates) Attached down movement (along the negative body Z-axis) ...
Definition: DtObserverObject.h:410
virtual void setTopographicOrientation(double psi, double theta, double phi)
turn to psi, theta, phi
Definition: DtObserverObject.h:933
virtual void stopMoveAttachedContextDown()
move down (depends on attach mode)
Definition: DtObserverObject.h:510
virtual void rollLevelRight(double rads)
roll right (level observer coordinates) roll right movement (rotate right around the current level ob...
Definition: DtObserverObject.h:613
virtual void getOrientation(double &x, double &y, double &z, double &w) const
Definition: DtObserverObject.h:957
virtual void getLinearVelocity(double &x, double &y, double &z) const
Get the observer&#39;s linear velocity.
Definition: DtObserverObject.h:886
virtual void stopMoveObserverLeft()
move left (body coordinates) Observer left movement (along the negative body X-axis) ...
Definition: DtObserverObject.h:294
virtual void orbitUp(double rads)
orbit around current target up (observer coordinates) Orbit up, wrt the current target ...
Definition: DtObserverObject.h:637
virtual void lookTiltRight(double rads)
roll the camera right (observer coordinates) Roll look right, wrt the observer
Definition: DtObserverObject.h:728
virtual void rotateLevelPitchDown(double rads)
pitch down (level observer coordinates) pitch down movement (rotate down around the current level obs...
Definition: DtObserverObject.h:597
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:772
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:1013
Definition: DtObserverObject.h:46
virtual void setAttachedRotationOffset(double x, double y, double z, double w)
Definition: DtObserverObject.h:975
virtual void getEffectiveLocation(double &x, double &y, double &z) const
Definition: DtObserverObject.h:863
virtual void stopLevelYawLeft()
yaw left (level observer coordinates) yaw left movement (rotate left about the level observer-Z axis)...
Definition: DtObserverObject.h:571
virtual void orientTo(double x, double y, double z)
Definition: DtObserverObject.h:664
virtual void stopOrbitingRight()
orbit around current target right (observer coordinates) Orbit right, wrt the current target ...
Definition: DtObserverObject.h:628
Definition: DtObserverObject.h:48
virtual void setLocationTrackAttachment(double x, double y, double z)
Definition: DtObserverObject.h:788
virtual void rotateLevelPitchUp(double rads)
pitch up (level observer coordinates) pitch up movement (rotate up around the current level observer ...
Definition: DtObserverObject.h:589
virtual void orbitRight(double rads)
orbit around current target right (observer coordinates) Orbit right, wrt the current target ...
Definition: DtObserverObject.h:629
virtual void stopYawLeft()
yaw left (observer coordinates) yaw left movement (rotate left about the observer-Z axis) ...
Definition: DtObserverObject.h:518
virtual void stopMoveAttachedContextForward()
move forward (&#39;attached&#39; coordinates) attached forward movement (depends on attach mode) ...
Definition: DtObserverObject.h:479
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:880
virtual void stopMoveAttachedLeft()
move left (body coordinates) Attached left movement (along the negative body X-axis) ...
Definition: DtObserverObject.h:394
Definition: DtObserverObject.h:62
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:839
virtual void setOrientation(double x, double y, double z, double w)
turn to quat(x,y,z,w)
Definition: DtObserverObject.h:936
virtual void level()
Make the observer level Set the observer&#39;s pitch and roll angles normal to the gravity vector...
Definition: DtObserverObject.h:651
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:811
virtual void stopMoveLevelAttachedRight()
move right (&#39;gravity&#39; coordinates) gravity right movement (to the right of the current heading vector...
Definition: DtObserverObject.h:419
virtual void setSpeedScaling(bool trueFalse)
scale speed based on distance from object of interest
Definition: DtObserverObject.h:802
std::string myScaleType
Definition: DtObserverObject.h:1092
bool myColorControlEnabled
Definition: DtObserverObject.h:1106
DtSensor * mySensor
Definition: DtObserverObject.h:1096
virtual void dragGravityLeft(double windowUnits)
Definition: DtObserverObject.h:675
virtual bool isMoving() const
Only called by master; indicates linear motion other than that caused by the movement of something we...
Definition: DtObserverObject.h:1039
virtual void moveAttachedBack(double)
move back (body coordinates) Attached back movement (along the negative body Y-axis) ...
Definition: DtObserverObject.h:403
virtual void stopLookRight()
rotate camera right (observer coordinates) Look right, wrt the observer
Definition: DtObserverObject.h:703
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:815
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:910
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:232
virtual void stopMoveObserverDown()
move down (body coordinates) Observer down movement (along the negative body Z-axis) ...
Definition: DtObserverObject.h:310
float myLodScale
Definition: DtObserverObject.h:1111
virtual void getCameraPositionAndOrientation(DtVector &position, DtQuat &rotation) const
Definition: DtObserverObject.h:970
virtual void rotateLevelYawLeft(double rads)
yaw left (level observer coordinates) yaw left movement (rotate left about the level observer-Z axis)...
Definition: DtObserverObject.h:572
virtual void getOrientation(double &psi, double &theta, double &phi) const
Definition: DtObserverObject.h:874
virtual void moveLevelObserverForward(double)
move forward (&#39;gravity&#39; coordinates) gravity forward movement (in the direction of the current headin...
Definition: DtObserverObject.h:329
virtual void stopMoveAttachedUp()
move up (body coordinates) Attached up movement (along the positive body Z-axis)
Definition: DtObserverObject.h:386
virtual void stopPitchDown()
pitch down (observer coordinates) pitch down movement (rotate down around the current observer X-axis...
Definition: DtObserverObject.h:546
virtual void getLocation(double &x, double &y, double &z) const
Get the position/location of the observer platform.
Definition: DtObserverObject.h:858
virtual void stopMoveLevelAttachedUp()
move up (&#39;gravity&#39; coordinates) gravity up movement (in the opposite direction of the gravity vector)...
Definition: DtObserverObject.h:437
virtual void scrollFlashlightWider(int wheelUnits)
Definition: DtObserverObject.h:682
virtual void stopMoveLevelObserverRight()
move right (&#39;gravity&#39; coordinates) gravity right movement (to the right of the current heading vector...
Definition: DtObserverObject.h:319
virtual void moveLevelAttachedLeft(double)
move left (&#39;gravity&#39; coordinates) gravity left movement (to the left of the current heading vector...
Definition: DtObserverObject.h:447
virtual void setMinLinearSpeed(double minSpeed)
Set the minimum linear speed (used for speed scaling)
Definition: DtObserverObject.h:764
virtual void dragGravityUp(double windowUnits)
Definition: DtObserverObject.h:673
virtual void moveObserverLeft(double)
move left (body coordinates) Observer left movement (along the negative body X-axis) ...
Definition: DtObserverObject.h:295
double myMaxModelScaleFactor
Definition: DtObserverObject.h:1101
virtual void stopMoveObserverRight()
Observer Control.
Definition: DtObserverObject.h:271
virtual void stopMoveLevelAttachedDown()
move down (&#39;gravity&#39; coordinates) gravity down movement (in the direction of the gravity vector) ...
Definition: DtObserverObject.h:463
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:904
virtual void stopMoveLevelAttachedBack()
move back (&#39;gravity&#39; coordinates) gravity back movement (in the opposite direction of the current hea...
Definition: DtObserverObject.h:455
bool myTerrainIsGlobalFlag
Definition: DtObserverObject.h:1093
virtual void getObserverOffsetVector(double &x, double &y, double &z) const
Definition: DtObserverObject.h:897
virtual void stopLookLeft()
Camera Control.
Definition: DtObserverObject.h:695
float myColorControlBrightness
Definition: DtObserverObject.h:1109
virtual void moveLevelObserverLeft(double)
move left (&#39;gravity&#39; coordinates) gravity left movement (to the left of the current heading vector...
Definition: DtObserverObject.h:347
virtual void setAttachType(DtObserverObject::AttachType type)
Set the type of observer attachment.
Definition: DtObserverObject.h:823
Definition: DtObserverObject.h:61
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:814
virtual void lookDown(double rads)
rotate camera down (observer coordinates) Look down, wrt the observer
Definition: DtObserverObject.h:720
virtual void setConstrainToCenter(bool trueFalse)
Definition: DtObserverObject.h:806
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:821
virtual void resetCamera()
Align the camera with the observer.
Definition: DtObserverObject.h:740
virtual void rotatePitchUp(double rads)
pitch up (observer coordinates) pitch up movement (rotate up around the current observer X-axis) ...
Definition: DtObserverObject.h:538
virtual void setOrientToTargetConstraint(bool orient)
Definition: DtObserverObject.h:841
virtual void stopLevelRollLeft()
roll left (level observer coordinates) roll left movement (rotate left around the current level obser...
Definition: DtObserverObject.h:604
virtual void setSecondaryAttachment(const std::vector< DtUniqueID > &ids)
Definition: DtObserverObject.h:787
virtual void moveAttachedContextLeft(double)
move left (&#39;attached&#39; coordinates) attached left movement (depends on attach mode) ...
Definition: DtObserverObject.h:496
virtual void lookTiltLeft(double rads)
roll the camera left (observer coordinates) Roll look left, wrt the observer
Definition: DtObserverObject.h:736
virtual void setOrbitSpeed(double speed)
Commands affecting Observer and Camera.
Definition: DtObserverObject.h:749
virtual void setMaxLinearSpeed(double maxSpeed)
Set the msximum linear speed (used for speed scaling)
Definition: DtObserverObject.h:761
virtual void moveLevelAttachedRight(double)
move right (&#39;gravity&#39; coordinates) gravity right movement (to the right of the current heading vector...
Definition: DtObserverObject.h:420
virtual void rollLevelLeft(double rads)
roll left (level observer coordinates) roll left movement (rotate left around the current level obser...
Definition: DtObserverObject.h:605
virtual void synchronizeOrientation(double x, double y, double z, double w)
Definition: DtObserverObject.h:1058
double myLodScaleCenterMagMinLimit
Definition: DtObserverObject.h:1103
Definition: DtObserverObject.h:47
virtual void stopLevelRollRight()
roll right (level observer coordinates) roll right movement (rotate right around the current level ob...
Definition: DtObserverObject.h:612
virtual void rotateLevelYawRight(double rads)
yaw right (level observer coordinates) yaw right movement (rotate right about the level observer-Z ax...
Definition: DtObserverObject.h:581
SpeedScalingMode
Definition: DtObserverObject.h:53
virtual void moveAttachedForward(double)
move right (body coordinates) Attached right movement (along the positive body X-axis) ...
Definition: DtObserverObject.h:379
virtual void scrollObserverBack(int wheelUnits)
Definition: DtObserverObject.h:678
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:667
virtual void moveLevelObserverUp(double)
move up (&#39;gravity&#39; coordinates) gravity up movement (in the opposite direction of the gravity vector)...
Definition: DtObserverObject.h:338
std::map< int, bool > ModeSettingsMap
Definition: DtObserverObject.h:37
float myColorControlContrast
Definition: DtObserverObject.h:1108
virtual void setOrientation(double psi, double theta, double phi)
turn to psi, theta, phi
Definition: DtObserverObject.h:930
virtual void setConstrainToTerrain(bool trueFalse)
constrain by terrain
Definition: DtObserverObject.h:805
bool myLodScaleCenterEnabled
Definition: DtObserverObject.h:1102
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:1007
bool myScalingIntersectionTerrainSkinOnly
Definition: DtObserverObject.h:1099
virtual void stopMoveLevelAttachedForward()
move forward (&#39;gravity&#39; coordinates) gravity forward movement (in the direction of the current headin...
Definition: DtObserverObject.h:428
virtual void stopLevelYawRight()
yaw right (level observer coordinates) yaw right movement (rotate right about the level observer-Z ax...
Definition: DtObserverObject.h:580
virtual void stopMoveAttachedContextLeft()
move left (&#39;attached&#39; coordinates) attached left movement (depends on attach mode) ...
Definition: DtObserverObject.h:495
virtual void stopOrbitingDown()
orbit around current target down (observer coordinates) Orbit down, wrt the current target ...
Definition: DtObserverObject.h:644
virtual void lookRight(double rads)
rotate camera right (observer coordinates) Look right, wrt the observer
Definition: DtObserverObject.h:704
#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:456
virtual void attachToPart(int partId)
Definition: DtObserverObject.h:798
virtual void stopMoveLevelObserverDown()
move down (&#39;gravity&#39; coordinates) gravity down movement (in the direction of the gravity vector) ...
Definition: DtObserverObject.h:363
virtual void rollLeft(double rads)
roll left (observer coordinates) roll left movement (rotate left around the current observer Y-axis) ...
Definition: DtObserverObject.h:556
virtual void stopLookUp()
rotate camera up (observer coordinates) Look up, wrt the observer
Definition: DtObserverObject.h:711
This abstract base class defines the interface for OS-specific keyboard and mouse event listeners...
Definition: DtObserverObject.h:32
virtual void moveLevelObserverRight(double)
move right (&#39;gravity&#39; coordinates) gravity right movement (to the right of the current heading vector...
Definition: DtObserverObject.h:320
bool myFlashlightOn
Definition: DtObserverObject.h:1095
virtual void moveObserverForward(double)
Observer Control.
Definition: DtObserverObject.h:279
virtual void rotateFlashlightYawLeft(double rads)
yaw left (observer coordinates) yaw left movement (rotate left about the observer-Z axis) ...
Definition: DtObserverObject.h:520
virtual void detach()
Definition: DtObserverObject.h:799
virtual void setLocalModelScalingEnabled(bool enabled)
Definition: DtObserverObject.h:945
virtual void setLinearSpeed(double speed)
Set the speed used for forward/backleft/right/up/down movement (observer and camera) ...
Definition: DtObserverObject.h:755
virtual void dragGravityDown(double windowUnits)
Definition: DtObserverObject.h:674
virtual void stopMoveObserverForward()
Observer Control.
Definition: DtObserverObject.h:278
Contains makVrv::DtQuat class.
virtual void orbitDown(double rads)
orbit around current target down (observer coordinates) Orbit down, wrt the current target ...
Definition: DtObserverObject.h:645
double mySpeedScalingMslModeOffset
Definition: DtObserverObject.h:1098
virtual void stopLevelPitchUp()
pitch up (level observer coordinates) pitch up movement (rotate up around the current level observer ...
Definition: DtObserverObject.h:588
virtual void stopOrbitingLeft()
orbit around current target left (observer coordinates) Orbit left, wrt the current target ...
Definition: DtObserverObject.h:620
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:816
virtual void setLocalModelScalingAmount(float amount)
Definition: DtObserverObject.h:947
NorthType
Definition: DtObserverObject.h:59
Definition of a sensor.
Definition: DtSensor.h:30
SpeedScalingMode mySpeedScalingMode
Definition: DtObserverObject.h:1097
virtual void getObserverCameraOrientation(double &psi, double &theta, double &phi, bool includeShake=true) const
(so, where the camera is actually looking)
Definition: DtObserverObject.h:965
virtual void rotateFlashlightPitchUp(double rads)
pitch up (observer coordinates) pitch up movement (rotate up around the current observer X-axis) ...
Definition: DtObserverObject.h:539
virtual void stopRollRight()
roll right (observer coordinates) roll right movement (rotate right around the current observer Y-axi...
Definition: DtObserverObject.h:563
virtual void moveLevelObserverBack(double)
move back (&#39;gravity&#39; coordinates) gravity back movement (in the opposite direction of the current hea...
Definition: DtObserverObject.h:356
virtual void setLocation(double x, double y, double z)
jump to x, y, z
Definition: DtObserverObject.h:654
virtual void scrollLevelObserverBack(int wheelUnits)
Definition: DtObserverObject.h:680
virtual void moveLevelAttachedDown(double)
move down (&#39;gravity&#39; coordinates) gravity down movement (in the direction of the gravity vector) ...
Definition: DtObserverObject.h:464
virtual void setOrbiting(bool orient)
Definition: DtObserverObject.h:842
std::string myName
Definition: DtObserverObject.h:1088
virtual void scrollLevelObserverForward(int wheelUnits)
Definition: DtObserverObject.h:679
unsigned long long DtUniqueID
Definition: DtUniqueID.h:19
virtual void stopMoveAttachedContextRight()
move right (&#39;attached&#39; coordinates) attached right movement (depends on attach mode) ...
Definition: DtObserverObject.h:471
virtual void scrollObserverForward(int wheelUnits)
Definition: DtObserverObject.h:677
virtual void stopMoveAttachedContextUp()
move up (&#39;attached&#39; coordinates) attached up movement (depends on attach mode)
Definition: DtObserverObject.h:487
virtual void moveAttachedDown(double)
move down (body coordinates) Attached down movement (along the negative body Z-axis) ...
Definition: DtObserverObject.h:411
virtual double linearSpeed()
Get the observer object&#39;s calculated speed (includes speed scaling in the deriving class) ...
Definition: DtObserverObject.h:917
virtual void moveObserverBack(double)
move back (body coordinates) Observer back movement (along the negative body Y-axis) ...
Definition: DtObserverObject.h:303
virtual void stopMoveLevelObserverForward()
move forward (&#39;gravity&#39; coordinates) gravity forward movement (in the direction of the current headin...
Definition: DtObserverObject.h:328
Definition: DtObserverObject.h:41
virtual void stopOrbitingUp()
orbit around current target up (observer coordinates) Orbit up, wrt the current target ...
Definition: DtObserverObject.h:636
virtual void stopMoveAttachedContextBack()
move back (&#39;attached&#39; coordinates) attached back movement (depends on attach mode) ...
Definition: DtObserverObject.h:503
virtual void stopMoveAttachedForward()
move right (body coordinates) Attached right movement (along the positive body X-axis) ...
Definition: DtObserverObject.h:378
virtual void stopLookTiltLeft()
roll the camera left (observer coordinates) Roll look left, wrt the observer
Definition: DtObserverObject.h:735
virtual void setObserverOffsetVector(double x, double y, double z)
Definition: DtObserverObject.h:949
virtual void moveLevelAttachedForward(double)
move forward (&#39;gravity&#39; coordinates) gravity forward movement (in the direction of the current headin...
Definition: DtObserverObject.h:429
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:658
virtual void moveAttachedRight(double)
move right (body coordinates) Attached right movement (along the positive body X-axis) ...
Definition: DtObserverObject.h:372
virtual void moveAttachedContextDown(double)
move down (depends on attach mode)
Definition: DtObserverObject.h:511
virtual void moveLevelAttachedUp(double)
move up (&#39;gravity&#39; coordinates) gravity up movement (in the opposite direction of the gravity vector)...
Definition: DtObserverObject.h:438
virtual double viewResolution() const
Zoom factor. Used to scale terrain and objects.
Definition: DtObserverObject.h:244
virtual void lookUp(double rads)
rotate camera up (observer coordinates) Look up, wrt the observer
Definition: DtObserverObject.h:712
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:472
const char int mode
Definition: ioapi.h:38
virtual void setSpeedScaledSpeed(double speed)
Used for reset when there is no terrain.
Definition: DtObserverObject.h:752
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:662
virtual void rotatePitchDown(double rads)
pitch down (observer coordinates) pitch down movement (rotate down around the current observer X-axis...
Definition: DtObserverObject.h:547
virtual void setRotationSpeed(double speed)
Set the speed used for rotation (observer and camera)
Definition: DtObserverObject.h:758
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:980
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:621
virtual void stopLookTiltRight()
roll the camera right (observer coordinates) Roll look right, wrt the observer
Definition: DtObserverObject.h:727
float myColorControlColorMix
Definition: DtObserverObject.h:1110
virtual void stopMoveObserverUp()
move up (body coordinates) Observer up movement (along the positive body Z-axis)
Definition: DtObserverObject.h:286
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:813
double myScaleFactor
Definition: DtObserverObject.h:1090
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:1019
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:72
A utility Quaternion class.
Definition: DtQuat.h:19
DtObserverObject::NorthType myNorthType
Definition: DtObserverObject.h:1104
bool isGlobalTerrain() const
Are we on a global terrain.
Definition: DtObserverObject.h:1047
virtual void moveObserverRight(double)
Observer Control.
Definition: DtObserverObject.h:272
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:987
virtual void stopLookDown()
rotate camera down (observer coordinates) Look down, wrt the observer
Definition: DtObserverObject.h:719
DtModelSetId
Definition: DtModelSetEnums.h:19
virtual void stopMoveAttachedRight()
move right (body coordinates) Attached right movement (along the positive body X-axis) ...
Definition: DtObserverObject.h:371
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:564
virtual void moveObserverUp(double)
move up (body coordinates) Observer up movement (along the positive body Z-axis)
Definition: DtObserverObject.h:287
Definition: DtObserverObject.h:44
virtual void stopMoveObserverBack()
move back (body coordinates) Observer back movement (along the negative body Y-axis) ...
Definition: DtObserverObject.h:302
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:1032
virtual void scrollFlashlightNarrower(int wheelUnits)
Definition: DtObserverObject.h:683
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:1001
virtual void attachToObjects(const std::vector< DtUniqueID > &ids)
Definition: DtObserverObject.h:786
ModeSettingsMap myModeSettingsMap
Definition: DtObserverObject.h:1094
virtual void moveAttachedLeft(double)
move left (body coordinates) Attached left movement (along the negative body X-axis) ...
Definition: DtObserverObject.h:395
virtual void rotateFlashlightPitchDown(double rads)
pitch down (observer coordinates) pitch down movement (rotate down around the current observer X-axis...
Definition: DtObserverObject.h:548
DtDe & myDe
Definition: DtObserverObject.h:1087
DtModelSetId myModelSet
Definition: DtObserverObject.h:1091
virtual void moveLevelObserverDown(double)
move down (&#39;gravity&#39; coordinates) gravity down movement (in the direction of the gravity vector) ...
Definition: DtObserverObject.h:364
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:994
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:812
virtual void setOrientCameraToTargetConstraint(bool orient)
Definition: DtObserverObject.h:843
virtual void getAttachedRotationOffset(double &x, double &y, double &z, double &w) const
Definition: DtObserverObject.h:951
virtual void lookLeft(double rads)
Camera Control.
Definition: DtObserverObject.h:696
virtual void rotateYawRight(double rads)
yaw right (observer coordinates) yaw right movement (rotate right about the observer-Z axis) axis) ...
Definition: DtObserverObject.h:529
virtual void moveAttachedContextUp(double)
move up (&#39;attached&#39; coordinates) attached up movement (depends on attach mode)
Definition: DtObserverObject.h:488
virtual void stopMoveLevelObserverBack()
move back (&#39;gravity&#39; coordinates) gravity back movement (in the opposite direction of the current hea...
Definition: DtObserverObject.h:355
Definition: DtObserverObject.h:45
Definition: DtObserverObject.h:43
bool myColorControlInvert
Definition: DtObserverObject.h:1107
bool myIs2D
Definition: DtObserverObject.h:1089
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:1025
Definition: DtObserverObject.h:42
virtual void synchronizeLocation(double x, double y, double z)
Definition: DtObserverObject.h:1054
virtual void setLinearScaledSpeedGain(double gain)
Set the linear gain as a % of max gain (precision)
Definition: DtObserverObject.h:767
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:869
virtual void rotateFlashlightYawRight(double rads)
yaw right (observer coordinates) yaw right movement (rotate right about the observer-Z axis) axis) ...
Definition: DtObserverObject.h:530
AttachType
Definition: DtObserverObject.h:39
Contains DLL export macros.
virtual void resetAttachment()
reset orientation and position offsets
Definition: DtObserverObject.h:780

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)