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) 2025 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 
16 
17 #include <vrvUtil/DtQuat.h>
18 
19 #include <string>
20 #include <vector>
21 #include <map>
22 #include <bitset>
23 
24 namespace makVrv
25 {
26 
27  class DtDe;
28  class DtInputDriver;
29  class DtSensor;
30  enum class DtModelSetId;
31 
36  {
37 
38  public:
39 
40  typedef std::map<int, bool> ModeSettingsMap;
41 
43  {
53  AttachTypeMimicLocationTrack
54  };
55 
57  {
59  SpeedScalingMsl
60  };
61 
62  enum NorthType
63  {
66  NorthTypeGridNorth
67  };
68 
70 
72  {
73  bool hasValidFocusPoints = true;
74  double minimumZoomThreshold = 2.0;
75  bool isCameraLocationIncluded = true;
76  std::bitset<7> includedFocusPoints = std::bitset<7>("1111111");
77  DtLodCenterDistanceToUseFunction distanceToUseFunction = DtLodCenterDistanceToUseFunction::MaxDistance;
78  bool isScaledCameraDistanceUsed = true;
79  double minimumAngleFromViewVector = 30.0;
80  bool areDebugVisualsEnabled = false;
81  };
82 
83  public:
84 
86  DtObserverObject( DtDe& de, DtUniqueID id, const std::string& name="" );
87 
89  virtual ~DtObserverObject();
90 
91  public:
92 
94  virtual const std::string& name() const;
95 
97  virtual bool is2D() const;
98 
100  virtual void setIs2D( bool is2D );
101 
103  virtual bool displaySky() const;
104 
106  virtual void setDisplaySky( bool hasSky );
107 
109  virtual bool dynamicLights() const;
110 
112  virtual void setDynamicLights( bool enabled );
113 
115  virtual bool dynamicOcean() const;
116 
118  virtual void setDynamicOcean( bool enabled );
119 
122  virtual bool isScaling() const;
123 
125  virtual void setScaling(bool scale);
126 
128  virtual double scaleFactor() const;
129 
131  virtual void setScaleFactor( double scaleFactor );
132 
135  virtual void setMaxModelScaleFactor(double maxModelScaleFactor);
136 
138  virtual double maxModelScaleFactor() const;
139 
141  virtual DtObserverObject::NorthType northType() const;
142 
144  virtual void setNorthType(DtObserverObject::NorthType northType);
145 
149  virtual void setColorControlEnabled(bool enabled);
150 
152  virtual bool colorControlEnabled() const;
153 
157  virtual void setColorControlInvert(bool enabled);
158 
160  virtual bool colorControlInvert() const;
161 
165  virtual void setColorControlContrast(double value);
166 
168  virtual double colorControlContrast() const;
169 
173  virtual void setColorControlBrightness(double value);
174 
176  virtual double colorControlBrightness() const;
177 
181  virtual void setColorControlColorMix(double value);
182 
184  virtual double colorControlColorMix() const;
185 
187  virtual const std::string& scaleType() const;
188 
190  virtual void setScaleType(const std::string& scaleType);
191 
193  virtual DtModelSetId modelSet() const;
194 
196  virtual void setModelSet( DtModelSetId modelSet );
197 
199  virtual void setSpeedScalingMode( SpeedScalingMode mode );
200 
202  virtual SpeedScalingMode speedScalingMode() const;
203 
205  virtual void setSpeedScalingMslModeOffset( double offset );
206 
208  virtual double speedScalingMslModeOffset() const;
209 
212  void setScalingIntersectionTerrainSkinOnly(bool enabled);
214  bool scalingIntersectionTerrainSkinOnly() const;
215 
219  virtual void clearModeSettings();
220 
223  virtual void setModeSetting( int setting, bool value );
224 
227  virtual bool modeSetting( int setting ) const;
228 
229  virtual const ModeSettingsMap& modeSettings() const;
230 
234  virtual void setNameAndRegister( const std::string& name );
235 
241  virtual void tick( double ) {}
242 
244  virtual void setTerrainIsGlobal(bool global);
245 
247  virtual double altitude() const = 0;
248 
250  virtual double heightAboveTerrain() const = 0;
251 
253  virtual double viewResolution() const { return 1.; };
254 
257  virtual double zoomFromHeightAboveTerrain(double hat, double magnification = 1) const = 0;
258 
259 
265  virtual void setCurrentViewMagnification( double mag ) = 0;
266 
268  virtual double currentViewMagnification() const = 0;
269 
270  //
271  //
273  //
274  //
275 
277  virtual void startMoveObserverRight() {}
280  virtual void stopMoveObserverRight() {}
281  virtual void moveObserverRight( double ) {}
282 
284  virtual void startMoveObserverForward() {}
287  virtual void stopMoveObserverForward() {}
288  virtual void moveObserverForward( double ) {}
290 
292  virtual void startMoveObserverUp() {}
295  virtual void stopMoveObserverUp() {}
296  virtual void moveObserverUp( double ) {}
298 
300  virtual void startMoveObserverLeft() {}
303  virtual void stopMoveObserverLeft() {}
304  virtual void moveObserverLeft( double ) {}
306 
308  virtual void startMoveObserverBack() {}
311  virtual void stopMoveObserverBack() {}
312  virtual void moveObserverBack( double ) {}
314 
316  virtual void startMoveObserverDown() {}
319  virtual void stopMoveObserverDown() {}
320  virtual void moveObserverDown( double ) {}
322 
324  virtual void startMoveLevelObserverRight() {}
328  virtual void stopMoveLevelObserverRight() {}
329  virtual void moveLevelObserverRight( double ) {}
331 
333  virtual void startMoveLevelObserverForward() {}
338  virtual void moveLevelObserverForward( double ) {}
340 
342  virtual void startMoveLevelObserverUp() {}
346  virtual void stopMoveLevelObserverUp() {}
347  virtual void moveLevelObserverUp( double ) {}
349 
351  virtual void startMoveLevelObserverLeft() {}
355  virtual void stopMoveLevelObserverLeft() {}
356  virtual void moveLevelObserverLeft( double ) {}
358 
360  virtual void startMoveLevelObserverBack() {}
364  virtual void stopMoveLevelObserverBack() {}
365  virtual void moveLevelObserverBack( double ) {}
367 
369  virtual void startMoveLevelObserverDown() {}
372  virtual void stopMoveLevelObserverDown() {}
373  virtual void moveLevelObserverDown( double ) {}
375 
377  virtual void startMoveAttachedRight() {}
380  virtual void stopMoveAttachedRight() {}
381  virtual void moveAttachedRight( double ) {}
382 
384  virtual void startMoveAttachedForward() {}
387  virtual void stopMoveAttachedForward() {}
388  virtual void moveAttachedForward( double ) {}
390 
392  virtual void startMoveAttachedUp() {}
395  virtual void stopMoveAttachedUp() {}
396  virtual void moveAttachedUp( double ) {}
398 
400  virtual void startMoveAttachedLeft() {}
403  virtual void stopMoveAttachedLeft() {}
404  virtual void moveAttachedLeft( double ) {}
406 
408  virtual void startMoveAttachedBack() {}
411  virtual void stopMoveAttachedBack() {}
412  virtual void moveAttachedBack( double ) {}
414 
416  virtual void startMoveAttachedDown() {}
419  virtual void stopMoveAttachedDown() {}
420  virtual void moveAttachedDown( double ) {}
422 
424  virtual void startMoveLevelAttachedRight() {}
428  virtual void stopMoveLevelAttachedRight() {}
429  virtual void moveLevelAttachedRight( double ) {}
431 
433  virtual void startMoveLevelAttachedForward() {}
438  virtual void moveLevelAttachedForward( double ) {}
440 
442  virtual void startMoveLevelAttachedUp() {}
446  virtual void stopMoveLevelAttachedUp() {}
447  virtual void moveLevelAttachedUp( double ) {}
449 
451  virtual void startMoveLevelAttachedLeft() {}
455  virtual void stopMoveLevelAttachedLeft() {}
456  virtual void moveLevelAttachedLeft( double ) {}
458 
460  virtual void startMoveLevelAttachedBack() {}
464  virtual void stopMoveLevelAttachedBack() {}
465  virtual void moveLevelAttachedBack( double ) {}
467 
469  virtual void startMoveLevelAttachedDown() {}
472  virtual void stopMoveLevelAttachedDown() {}
473  virtual void moveLevelAttachedDown( double ) {}
475 
477  virtual void startMoveAttachedContextRight() {}
481  virtual void moveAttachedContextRight( double ) {}
483 
485  virtual void startMoveAttachedContextForward() {}
489  virtual void moveAttachedContextForward( double ) {}
491 
493  virtual void startMoveAttachedContextUp() {}
496  virtual void stopMoveAttachedContextUp() {}
497  virtual void moveAttachedContextUp( double ) {}
499 
501  virtual void startMoveAttachedContextLeft() {}
504  virtual void stopMoveAttachedContextLeft() {}
505  virtual void moveAttachedContextLeft( double ) {}
507 
509  virtual void startMoveAttachedContextBack() {}
512  virtual void stopMoveAttachedContextBack() {}
513  virtual void moveAttachedContextBack( double ) {}
515 
517  virtual void startMoveAttachedContextDown() {}
519  virtual void stopMoveAttachedContextDown() {}
520  virtual void moveAttachedContextDown( double ) {}
522 
524  virtual void startYawLeft() {}
527  virtual void stopYawLeft() {}
528  virtual void rotateYawLeft( double rads ) {}
529  virtual void rotateFlashlightYawLeft( double rads ) {}
531 
533  virtual void startYawRight() {}
537  virtual void stopYawRight() {}
538  virtual void rotateYawRight( double rads ) {}
539  virtual void rotateFlashlightYawRight( double rads ) {}
541 
543  virtual void startPitchUp() {}
546  virtual void stopPitchUp() {}
547  virtual void rotatePitchUp( double rads ) {}
548  virtual void rotateFlashlightPitchUp( double rads ) {}
550 
552  virtual void startPitchDown() {}
555  virtual void stopPitchDown() {}
556  virtual void rotatePitchDown( double rads ) {}
557  virtual void rotateFlashlightPitchDown( double rads ) {}
559 
561  virtual void startRollLeft() {}
564  virtual void stopRollLeft() {}
565  virtual void rollLeft( double rads ) {}
567 
569  virtual void startRollRight() {}
572  virtual void stopRollRight() {}
573  virtual void rollRight( double rads ) {}
575 
577  virtual void startLevelYawLeft() {}
580  virtual void stopLevelYawLeft() {}
581  virtual void rotateLevelYawLeft( double rads ) {}
583 
585  virtual void startLevelYawRight() {}
589  virtual void stopLevelYawRight() {}
590  virtual void rotateLevelYawRight( double rads ) {}
592 
594  virtual void startLevelPitchUp() {}
597  virtual void stopLevelPitchUp() {}
598  virtual void rotateLevelPitchUp( double rads ) {}
600 
602  virtual void startLevelPitchDown() {}
605  virtual void stopLevelPitchDown() {}
606  virtual void rotateLevelPitchDown( double rads ) {}
608 
610  virtual void startLevelRollLeft() {}
613  virtual void stopLevelRollLeft() {}
614  virtual void rollLevelLeft( double rads ) {}
616 
618  virtual void startLevelRollRight() {}
621  virtual void stopLevelRollRight() {}
622  virtual void rollLevelRight( double rads ) {}
624 
626  virtual void startOrbitingLeft() {}
629  virtual void stopOrbitingLeft() {}
630  virtual void orbitLeft( double rads ) {}
632 
634  virtual void startOrbitingRight() {}
637  virtual void stopOrbitingRight() {}
638  virtual void orbitRight( double rads ) {}
640 
642  virtual void startOrbitingUp( ) {}
645  virtual void stopOrbitingUp() {}
646  virtual void orbitUp( double rads ) {}
648 
650  virtual void startOrbitingDown() {}
653  virtual void stopOrbitingDown() {}
654  virtual void orbitDown( double rads ) {}
656 
660  virtual void level() {}
661 
663  virtual void setLocation( double x, double y, double z ) {}
664 
667  virtual void jumpTo( double x, double y, double z ) {}
668 
671  virtual void jumpTo( DtUniqueID id ) {}
672 
673  virtual void orientTo( double x, double y, double z ) {} // = 0;
674 
676  virtual void dragTerrain( double lastX, double lastY, double lastZ,
677  double currX, double currY, double currZ ) {}
678 
679  virtual void dragTerrain2( double myStartDragX, double myStartDragY,
680  double myStartDragZ, int deltaMouseX, int deltaMouseY ) {}
681 
682  virtual void dragGravityUp( double windowUnits ) {}
683  virtual void dragGravityDown( double windowUnits ) {}
684  virtual void dragGravityLeft( double windowUnits ) {}
685  virtual void dragGravityRight( double windowUnits ) {}
686  virtual void scrollObserverForward( int wheelUnits ) {}
687  virtual void scrollObserverBack( int wheelUnits ) {}
688  virtual void scrollLevelObserverForward( int wheelUnits ) {}
689  virtual void scrollLevelObserverBack( int wheelUnits ) {}
690 
691  virtual void scrollFlashlightWider( int wheelUnits ) {}
692  virtual void scrollFlashlightNarrower( int wheelUnits ) {}
693 
694  //
695  //
697  //
698  //
699 
701  virtual void startLookLeft() {}
704  virtual void stopLookLeft() {}
705  virtual void lookLeft( double rads ) {}
707 
709  virtual void startLookRight() {}
712  virtual void stopLookRight() {}
713  virtual void lookRight( double rads ) {}
715 
717  virtual void startLookUp( ) {}
720  virtual void stopLookUp() {}
721  virtual void lookUp( double rads ) {}
723 
725  virtual void startLookDown() {}
728  virtual void stopLookDown() {}
729  virtual void lookDown( double rads ) {}
731 
733  virtual void startLookTiltRight() {}
736  virtual void stopLookTiltRight() {}
737  virtual void lookTiltRight( double rads ) {}
739 
741  virtual void startLookTiltLeft() {}
744  virtual void stopLookTiltLeft() {}
745  virtual void lookTiltLeft( double rads ) {}
747 
749  virtual void resetCamera() {}
750 
751  //
752  //
754  //
755  //
756 
758  virtual void setOrbitSpeed( double speed ) {}
759 
761  virtual void setSpeedScaledSpeed( double speed ) {}
762 
764  virtual void setLinearSpeed( double speed ) {}
765 
767  virtual void setRotationSpeed( double speed ) {}
768 
770  virtual void setMaxLinearSpeed( double maxSpeed ) {}
771 
773  virtual void setMinLinearSpeed( double minSpeed ) {}
774 
776  virtual void setLinearScaledSpeedGain( double gain ) {}
777 
781  virtual void resetOrientation() {}
782 
786  virtual void gotoTerrainCenter( DtUniqueID terrainPatch, bool retry ) {}
787 
789  virtual void resetAttachment() {}
790 
791 
793  virtual void stopAll() {}
794 
795  virtual void attachToObjects( const std::vector<DtUniqueID>& ids ) {}
796  virtual void setSecondaryAttachment( const std::vector<DtUniqueID>& ids ) {}
797  virtual void setLocationTrackAttachment( double x, double y, double z ) {}
798 
800  virtual std::vector<DtUniqueID> currentAttachments() const = 0;
801 
804  virtual void getLocationTrackAttachment( double& x, double& y, double& z )
805  const = 0;
806 
807  virtual void attachToPart( int partId) {}
808  virtual void detach() {}
809 
811  virtual void setSpeedScaling( bool trueFalse ) {}
812 
814  virtual void setConstrainToTerrain( bool trueFalse ) {}
815  virtual void setConstrainToCenter( bool trueFalse ) {}
816 
818  virtual void increaseViewResolution() {}
822  virtual void decreaseViewResolution() {}
825  virtual void setViewResolution( double resolution ) {}
827 
830  virtual void suppressConstrainToTerrain( bool trueFalse ) {}
834  virtual DtObserverObject::AttachType attachType();
835 
836  virtual void setHideModelOnAttach( bool hide ) {}
837 
840  virtual void setUsesBoundingVolumeForAttachedOffsets(bool useBoundingVolume) = 0;
843  virtual bool usesBoundingVolumeForAttachedOffsets() const = 0;
844 
848  virtual void setAttachmentHas3DCockpit( bool cockpit ) {}
849 
850  virtual void setOrientToTargetConstraint( bool orient ) {}
851  virtual void setOrbiting( bool orient ) {}
852  virtual void setOrientCameraToTargetConstraint( bool orient ) {}
853 
855  virtual void setFlashlightEnabled(bool enabled);
856 
858  virtual void setCameraShakeRotation(double x, double y, double z, double w);
859 
861  virtual void getCameraShakeRotation(double& x, double& y, double& z, double& w);
862 
864  virtual bool flashlightOn() const;
865 
867  virtual void getLocation(double &x, double &y, double& z) const
868  {
869  x = y = z = 0.;
870  }
871 
872  virtual void getEffectiveLocation(double &x, double &y, double& z) const
873  {
874  x = y = z = 0.;
875  }
876 
878  virtual void getObserverCameraPosition(double& x, double& y, double& z) const
879  {
880  x = y = z = 0;
881  }
882 
883  virtual void getOrientation( double& psi, double& theta, double& phi ) const
884  {
885  psi = theta = phi = 0.;
886  }
887 
889  virtual void getTopographicOrientation( double& psi, double& theta, double& phi ) const
890  {
891  psi = theta = phi = 0.;
892  }
893 
895  virtual void getLinearVelocity( double &x, double &y, double &z ) const
896  {
897  x = y = z = 0;
898  }
899 
901  virtual void getRotationalVelocity( double& x, double& y, double& z) const
902  {
903  x = y = z = 0.;
904  }
905 
906  virtual void getObserverOffsetVector( double& x, double& y, double& z ) const
907  {
908  x = y = z = 0.;
909  }
910 
913  virtual void getCameraFromParentOffsetVector( double& x, double& y, double& z ) const
914  {
915  x = y = z = 0.;
916  }
919  virtual void getCameraFromParentRotationOffset( double& x, double& y, double& z, double& w ) const
920  {
921  x = y = z = w =0.;
922  }
923 
926  virtual double linearSpeed()
927  {
928  return 0.;
929  }
930 
935  virtual void setAttachedLocation( double x, double y, double z ) = 0;
936  virtual void setAttachedX( double x ) = 0;
937  virtual void setAttachedY( double y ) = 0;
938  virtual void setAttachedZ( double z ) = 0;
939  virtual void getAttachedPosition(double& x, double& y, double& z ) const = 0;
940 
942  virtual void setOrientation( double psi, double theta, double phi ) {}
943 
945  virtual void setTopographicOrientation( double psi, double theta, double phi ) {}
946 
948  virtual void setOrientation( double x, double y, double z, double w ) {}
949 
951  virtual void setAttachedOrientation(double psi, double theta, double phi) = 0;
952  virtual void setAttachedYaw(double psi) = 0;
953  virtual void setAttachedPitch(double theta) = 0;
954  virtual void setAttachedRoll(double phi) = 0;
955  virtual void getAttachedOrientation(double& psi, double& theta, double& phi) const = 0;
956 
957  virtual void setLocalModelScalingEnabled( bool enabled ) {}
958 
959  virtual void setLocalModelScalingAmount( float amount ) {}
960 
961  virtual void setObserverOffsetVector( double x, double y, double z ) {}
962 
963  virtual void getAttachedRotationOffset( double& x, double& y, double& z, double& w ) const
964  {
965  x = y = z = 0.;
966  w = 1.;
967  }
968 
969  virtual void getOrientation( double& x, double& y, double& z, double& w ) const
970  {
971  x = y = z = 0.;
972  w = 1.;
973  }
974 
975  // Get the orientation of the camera rotated by the orientation of the observer
977  virtual void getObserverCameraOrientation(double& psi, double& theta, double& phi, bool includeShake = true) const
978  {
979  psi = theta = phi = 0.;
980  }
981 
982  virtual void getCameraPositionAndOrientation(DtVector& position, DtQuat& rotation) const
983  {
984  // intentional noop
985  }
986 
987  virtual void setAttachedRotationOffset( double x, double y, double z,
988  double w ) {}
989 
992  virtual void getObserverPlatformFront(double& x, double& y, double& z) const
993  {
994  x = y = z = 0.;
995  }
996 
999  virtual void getObserverPlatformUp(double& x, double& y, double& z) const
1000  {
1001  x = y = z = 0.;
1002  }
1003 
1006  virtual void getObserverPlatformRight(double& x, double& y, double& z) const
1007  {
1008  x = y = z = 0.;
1009  }
1010 
1013  virtual void getObserverCameraFront(double& x, double& y, double& z, bool includeShake=true) const
1014  {
1015  x = y = z = 0.;
1016  }
1017 
1019  virtual void getObserverCameraUp(double& x, double& y, double& z, bool includeShake = true) const
1020  {
1021  x = y = z = 0.;
1022  }
1023 
1025  virtual void getObserverCameraRight(double& x, double& y, double& z, bool includeShake = true) const
1026  {
1027  x = y = z = 0.;
1028  }
1029 
1031  virtual void getCameraUp(double& x, double& y, double& z)
1032  {
1033  x = y = z = 0.;
1034  }
1035 
1037  virtual void getCameraFront(double& x, double& y, double& z)
1038  {
1039  x = y = z = 0.;
1040  }
1041 
1042 
1044  virtual void getCameraRight(double& x, double& y, double& z)
1045  {
1046  x = y = z = 0.;
1047  }
1048 
1051  virtual bool isMoving() const { return false; }
1052 
1053  virtual double topographicHeading() const
1054  {
1055  return 0.0;
1056  }
1057 
1059  bool isGlobalTerrain() const
1060  {
1061  return myTerrainIsGlobalFlag;
1062  }
1063 
1064  // Sends the location of the observer on the master to all others; only used
1065  // if different
1066  virtual void synchronizeLocation( double x, double y, double z ) {}
1067 
1068  // Sends the orientation of the observer on the master to all others; only used
1069  // if different
1070  virtual void synchronizeOrientation( double x, double y, double z, double w ) {}
1071 
1073  virtual void setSensor(const std::string& sensorName);
1074 
1076  virtual DtSensor* findSensor() const;
1077 
1079  virtual void disableSensor();
1080 
1085  virtual void setEntityLodScale(float lodScale);
1086 
1088  virtual float entityLodScale() const;
1089 
1094  virtual void setTerrainLodScale(float lodScale);
1095 
1097  virtual float terrainLodScale() const;
1098 
1108  virtual void setIsFrustumBasedViewMagnificationEnabled(bool isEnabled);
1109 
1111  virtual bool isFrustumBasedViewMagnificationEnabled() const;
1112 
1114  virtual void setLodCenterSettings(const DtLodCenterSettings& settings);
1117  virtual const DtLodCenterSettings& lodCenterSettings() const;
1119 
1120  private:
1121 
1124 
1126  DtObserverObject& operator=( const DtObserverObject& );
1127 
1128  protected:
1129 
1131  std::string myName;
1132  bool myIs2D;
1135  std::string myScaleType;
1157 
1159  };
1160 }
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:786
Definition: DtObserverObject.h:58
virtual void stopLevelPitchDown()
pitch down (level observer coordinates) pitch down movement (rotate down around the current level obs...
Definition: DtObserverObject.h:605
virtual void stopRollLeft()
roll left (observer coordinates) roll left movement (rotate left around the current observer Y-axis) ...
Definition: DtObserverObject.h:564
virtual void stopAll()
Stop all current motion.
Definition: DtObserverObject.h:793
virtual void dragGravityRight(double windowUnits)
Definition: DtObserverObject.h:685
virtual void stopMoveLevelObserverLeft()
move left (&#39;gravity&#39; coordinates) gravity left movement (to the left of the current heading vector...
Definition: DtObserverObject.h:355
virtual void stopMoveLevelAttachedLeft()
move left (&#39;gravity&#39; coordinates) gravity left movement (to the left of the current heading vector...
Definition: DtObserverObject.h:455
virtual void stopMoveLevelObserverUp()
move up (&#39;gravity&#39; coordinates) gravity up movement (in the opposite direction of the gravity vector)...
Definition: DtObserverObject.h:346
virtual void stopYawRight()
yaw right (observer coordinates) yaw right movement (rotate right about the observer-Z axis) axis) ...
Definition: DtObserverObject.h:537
virtual double topographicHeading() const
Definition: DtObserverObject.h:1053
virtual void stopMoveAttachedBack()
move back (body coordinates) Attached back movement (along the negative body Y-axis) ...
Definition: DtObserverObject.h:411
virtual void moveAttachedContextForward(double)
move forward (&#39;attached&#39; coordinates) attached forward movement (depends on attach mode) ...
Definition: DtObserverObject.h:489
virtual void stopPitchUp()
pitch up (observer coordinates) pitch up movement (rotate up around the current observer X-axis) ...
Definition: DtObserverObject.h:546
virtual void rotateYawLeft(double rads)
yaw left (observer coordinates) yaw left movement (rotate left about the observer-Z axis) ...
Definition: DtObserverObject.h:528
DtUniqueID myUniqueId
Definition: DtObserverObject.h:1143
virtual void moveAttachedContextBack(double)
move back (&#39;attached&#39; coordinates) attached back movement (depends on attach mode) ...
Definition: DtObserverObject.h:513
virtual void moveObserverDown(double)
move down (body coordinates) Observer down movement (along the negative body Z-axis) ...
Definition: DtObserverObject.h:320
DtObserverObject::AttachType myAttachType
Definition: DtObserverObject.h:1149
virtual void getRotationalVelocity(double &x, double &y, double &z) const
Get the observer&#39;s rotational velocity.
Definition: DtObserverObject.h:901
virtual void dragTerrain2(double myStartDragX, double myStartDragY, double myStartDragZ, int deltaMouseX, int deltaMouseY)
Definition: DtObserverObject.h:679
virtual void moveAttachedUp(double)
move up (body coordinates) Attached up movement (along the positive body Z-axis)
Definition: DtObserverObject.h:396
virtual void setHideModelOnAttach(bool hide)
Definition: DtObserverObject.h:836
virtual void stopMoveAttachedDown()
move down (body coordinates) Attached down movement (along the negative body Z-axis) ...
Definition: DtObserverObject.h:419
virtual void setTopographicOrientation(double psi, double theta, double phi)
turn to psi, theta, phi
Definition: DtObserverObject.h:945
virtual void stopMoveAttachedContextDown()
move down (depends on attach mode)
Definition: DtObserverObject.h:519
virtual void rollLevelRight(double rads)
roll right (level observer coordinates) roll right movement (rotate right around the current level ob...
Definition: DtObserverObject.h:622
virtual void getOrientation(double &x, double &y, double &z, double &w) const
Definition: DtObserverObject.h:969
virtual void getLinearVelocity(double &x, double &y, double &z) const
Get the observer&#39;s linear velocity.
Definition: DtObserverObject.h:895
virtual void stopMoveObserverLeft()
move left (body coordinates) Observer left movement (along the negative body X-axis) ...
Definition: DtObserverObject.h:303
virtual void orbitUp(double rads)
orbit around current target up (observer coordinates) Orbit up, wrt the current target ...
Definition: DtObserverObject.h:646
virtual void lookTiltRight(double rads)
roll the camera right (observer coordinates) Roll look right, wrt the observer
Definition: DtObserverObject.h:737
virtual void rotateLevelPitchDown(double rads)
pitch down (level observer coordinates) pitch down movement (rotate down around the current level obs...
Definition: DtObserverObject.h:606
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:781
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:1025
Definition: DtObserverObject.h:49
virtual void setAttachedRotationOffset(double x, double y, double z, double w)
Definition: DtObserverObject.h:987
virtual void getEffectiveLocation(double &x, double &y, double &z) const
Definition: DtObserverObject.h:872
virtual void stopLevelYawLeft()
yaw left (level observer coordinates) yaw left movement (rotate left about the level observer-Z axis)...
Definition: DtObserverObject.h:580
virtual void orientTo(double x, double y, double z)
Definition: DtObserverObject.h:673
virtual void stopOrbitingRight()
orbit around current target right (observer coordinates) Orbit right, wrt the current target ...
Definition: DtObserverObject.h:637
Definition: DtObserverObject.h:51
virtual void setLocationTrackAttachment(double x, double y, double z)
Definition: DtObserverObject.h:797
virtual void rotateLevelPitchUp(double rads)
pitch up (level observer coordinates) pitch up movement (rotate up around the current level observer ...
Definition: DtObserverObject.h:598
virtual void orbitRight(double rads)
orbit around current target right (observer coordinates) Orbit right, wrt the current target ...
Definition: DtObserverObject.h:638
virtual void stopYawLeft()
yaw left (observer coordinates) yaw left movement (rotate left about the observer-Z axis) ...
Definition: DtObserverObject.h:527
virtual void stopMoveAttachedContextForward()
move forward (&#39;attached&#39; coordinates) attached forward movement (depends on attach mode) ...
Definition: DtObserverObject.h:488
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:889
virtual void stopMoveAttachedLeft()
move left (body coordinates) Attached left movement (along the negative body X-axis) ...
Definition: DtObserverObject.h:403
Definition: DtObserverObject.h:65
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:848
virtual void setOrientation(double x, double y, double z, double w)
turn to quat(x,y,z,w)
Definition: DtObserverObject.h:948
virtual void level()
Make the observer level Set the observer&#39;s pitch and roll angles normal to the gravity vector...
Definition: DtObserverObject.h:660
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:820
virtual void stopMoveLevelAttachedRight()
move right (&#39;gravity&#39; coordinates) gravity right movement (to the right of the current heading vector...
Definition: DtObserverObject.h:428
virtual void setSpeedScaling(bool trueFalse)
scale speed based on distance from object of interest
Definition: DtObserverObject.h:811
std::string myScaleType
Definition: DtObserverObject.h:1135
bool myColorControlEnabled
Definition: DtObserverObject.h:1150
DtSensor * mySensor
Definition: DtObserverObject.h:1139
virtual void dragGravityLeft(double windowUnits)
Definition: DtObserverObject.h:684
virtual bool isMoving() const
Only called by master; indicates linear motion other than that caused by the movement of something we...
Definition: DtObserverObject.h:1051
virtual void moveAttachedBack(double)
move back (body coordinates) Attached back movement (along the negative body Y-axis) ...
Definition: DtObserverObject.h:412
virtual void stopLookRight()
rotate camera right (observer coordinates) Look right, wrt the observer
Definition: DtObserverObject.h:712
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:824
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:919
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:241
DtLodCenterDistanceToUseFunction
Enumeration which defines the functions that can be used when picking between the camera distance and...
Definition: DtObserverModeRecord.h:29
virtual void stopMoveObserverDown()
move down (body coordinates) Observer down movement (along the negative body Z-axis) ...
Definition: DtObserverObject.h:319
virtual void getCameraPositionAndOrientation(DtVector &position, DtQuat &rotation) const
Definition: DtObserverObject.h:982
virtual void rotateLevelYawLeft(double rads)
yaw left (level observer coordinates) yaw left movement (rotate left about the level observer-Z axis)...
Definition: DtObserverObject.h:581
virtual void getOrientation(double &psi, double &theta, double &phi) const
Definition: DtObserverObject.h:883
virtual void moveLevelObserverForward(double)
move forward (&#39;gravity&#39; coordinates) gravity forward movement (in the direction of the current headin...
Definition: DtObserverObject.h:338
float myEntityLodScale
Definition: DtObserverObject.h:1155
virtual void stopMoveAttachedUp()
move up (body coordinates) Attached up movement (along the positive body Z-axis)
Definition: DtObserverObject.h:395
virtual void stopPitchDown()
pitch down (observer coordinates) pitch down movement (rotate down around the current observer X-axis...
Definition: DtObserverObject.h:555
virtual void getLocation(double &x, double &y, double &z) const
Get the position/location of the observer platform.
Definition: DtObserverObject.h:867
virtual void stopMoveLevelAttachedUp()
move up (&#39;gravity&#39; coordinates) gravity up movement (in the opposite direction of the gravity vector)...
Definition: DtObserverObject.h:446
virtual void scrollFlashlightWider(int wheelUnits)
Definition: DtObserverObject.h:691
virtual void stopMoveLevelObserverRight()
move right (&#39;gravity&#39; coordinates) gravity right movement (to the right of the current heading vector...
Definition: DtObserverObject.h:328
virtual void moveLevelAttachedLeft(double)
move left (&#39;gravity&#39; coordinates) gravity left movement (to the left of the current heading vector...
Definition: DtObserverObject.h:456
virtual void setMinLinearSpeed(double minSpeed)
Set the minimum linear speed (used for speed scaling)
Definition: DtObserverObject.h:773
virtual void dragGravityUp(double windowUnits)
Definition: DtObserverObject.h:682
virtual void moveObserverLeft(double)
move left (body coordinates) Observer left movement (along the negative body X-axis) ...
Definition: DtObserverObject.h:304
double myMaxModelScaleFactor
Definition: DtObserverObject.h:1144
virtual void stopMoveObserverRight()
Observer Control.
Definition: DtObserverObject.h:280
virtual void stopMoveLevelAttachedDown()
move down (&#39;gravity&#39; coordinates) gravity down movement (in the direction of the gravity vector) ...
Definition: DtObserverObject.h:472
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:913
virtual void stopMoveLevelAttachedBack()
move back (&#39;gravity&#39; coordinates) gravity back movement (in the opposite direction of the current hea...
Definition: DtObserverObject.h:464
bool myTerrainIsGlobalFlag
Definition: DtObserverObject.h:1136
virtual void getObserverOffsetVector(double &x, double &y, double &z) const
Definition: DtObserverObject.h:906
virtual void stopLookLeft()
Camera Control.
Definition: DtObserverObject.h:704
float myColorControlBrightness
Definition: DtObserverObject.h:1153
virtual void moveLevelObserverLeft(double)
move left (&#39;gravity&#39; coordinates) gravity left movement (to the left of the current heading vector...
Definition: DtObserverObject.h:356
virtual void setAttachType(DtObserverObject::AttachType type)
Set the type of observer attachment.
Definition: DtObserverObject.h:832
Definition: DtObserverObject.h:64
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:823
virtual void lookDown(double rads)
rotate camera down (observer coordinates) Look down, wrt the observer
Definition: DtObserverObject.h:729
virtual void setConstrainToCenter(bool trueFalse)
Definition: DtObserverObject.h:815
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:830
virtual void resetCamera()
Align the camera with the observer.
Definition: DtObserverObject.h:749
virtual void rotatePitchUp(double rads)
pitch up (observer coordinates) pitch up movement (rotate up around the current observer X-axis) ...
Definition: DtObserverObject.h:547
virtual void setOrientToTargetConstraint(bool orient)
Definition: DtObserverObject.h:850
virtual void stopLevelRollLeft()
roll left (level observer coordinates) roll left movement (rotate left around the current level obser...
Definition: DtObserverObject.h:613
virtual void setSecondaryAttachment(const std::vector< DtUniqueID > &ids)
Definition: DtObserverObject.h:796
virtual void moveAttachedContextLeft(double)
move left (&#39;attached&#39; coordinates) attached left movement (depends on attach mode) ...
Definition: DtObserverObject.h:505
virtual void lookTiltLeft(double rads)
roll the camera left (observer coordinates) Roll look left, wrt the observer
Definition: DtObserverObject.h:745
virtual void setOrbitSpeed(double speed)
Commands affecting Observer and Camera.
Definition: DtObserverObject.h:758
virtual void setMaxLinearSpeed(double maxSpeed)
Set the msximum linear speed (used for speed scaling)
Definition: DtObserverObject.h:770
virtual void moveLevelAttachedRight(double)
move right (&#39;gravity&#39; coordinates) gravity right movement (to the right of the current heading vector...
Definition: DtObserverObject.h:429
Definition: DtObserverObject.h:71
virtual void rollLevelLeft(double rads)
roll left (level observer coordinates) roll left movement (rotate left around the current level obser...
Definition: DtObserverObject.h:614
virtual void synchronizeOrientation(double x, double y, double z, double w)
Definition: DtObserverObject.h:1070
double myLodScaleCenterMagMinLimit
Definition: DtObserverObject.h:1147
Definition: DtObserverObject.h:50
virtual void stopLevelRollRight()
roll right (level observer coordinates) roll right movement (rotate right around the current level ob...
Definition: DtObserverObject.h:621
virtual void rotateLevelYawRight(double rads)
yaw right (level observer coordinates) yaw right movement (rotate right about the level observer-Z ax...
Definition: DtObserverObject.h:590
SpeedScalingMode
Definition: DtObserverObject.h:56
virtual void moveAttachedForward(double)
move right (body coordinates) Attached right movement (along the positive body X-axis) ...
Definition: DtObserverObject.h:388
virtual void scrollObserverBack(int wheelUnits)
Definition: DtObserverObject.h:687
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:676
virtual void moveLevelObserverUp(double)
move up (&#39;gravity&#39; coordinates) gravity up movement (in the opposite direction of the gravity vector)...
Definition: DtObserverObject.h:347
std::map< int, bool > ModeSettingsMap
Definition: DtObserverObject.h:40
float myColorControlContrast
Definition: DtObserverObject.h:1152
virtual void setOrientation(double psi, double theta, double phi)
turn to psi, theta, phi
Definition: DtObserverObject.h:942
virtual void setConstrainToTerrain(bool trueFalse)
constrain by terrain
Definition: DtObserverObject.h:814
bool myLodScaleCenterEnabled
Definition: DtObserverObject.h:1145
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:1019
bool myScalingIntersectionTerrainSkinOnly
Definition: DtObserverObject.h:1142
virtual void stopMoveLevelAttachedForward()
move forward (&#39;gravity&#39; coordinates) gravity forward movement (in the direction of the current headin...
Definition: DtObserverObject.h:437
virtual void stopLevelYawRight()
yaw right (level observer coordinates) yaw right movement (rotate right about the level observer-Z ax...
Definition: DtObserverObject.h:589
virtual void stopMoveAttachedContextLeft()
move left (&#39;attached&#39; coordinates) attached left movement (depends on attach mode) ...
Definition: DtObserverObject.h:504
virtual void stopOrbitingDown()
orbit around current target down (observer coordinates) Orbit down, wrt the current target ...
Definition: DtObserverObject.h:653
virtual void lookRight(double rads)
rotate camera right (observer coordinates) Look right, wrt the observer
Definition: DtObserverObject.h:713
#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:465
virtual void attachToPart(int partId)
Definition: DtObserverObject.h:807
virtual void stopMoveLevelObserverDown()
move down (&#39;gravity&#39; coordinates) gravity down movement (in the direction of the gravity vector) ...
Definition: DtObserverObject.h:372
virtual void rollLeft(double rads)
roll left (observer coordinates) roll left movement (rotate left around the current observer Y-axis) ...
Definition: DtObserverObject.h:565
virtual void stopLookUp()
rotate camera up (observer coordinates) Look up, wrt the observer
Definition: DtObserverObject.h:720
This abstract base class defines the interface for OS-specific keyboard and mouse event listeners...
Definition: DtObserverObject.h:35
virtual void moveLevelObserverRight(double)
move right (&#39;gravity&#39; coordinates) gravity right movement (to the right of the current heading vector...
Definition: DtObserverObject.h:329
bool myFlashlightOn
Definition: DtObserverObject.h:1138
virtual void moveObserverForward(double)
Observer Control.
Definition: DtObserverObject.h:288
virtual void rotateFlashlightYawLeft(double rads)
yaw left (observer coordinates) yaw left movement (rotate left about the observer-Z axis) ...
Definition: DtObserverObject.h:529
virtual void detach()
Definition: DtObserverObject.h:808
virtual void setLocalModelScalingEnabled(bool enabled)
Definition: DtObserverObject.h:957
virtual void setLinearSpeed(double speed)
Set the speed used for forward/backleft/right/up/down movement (observer and camera) ...
Definition: DtObserverObject.h:764
virtual void dragGravityDown(double windowUnits)
Definition: DtObserverObject.h:683
virtual void stopMoveObserverForward()
Observer Control.
Definition: DtObserverObject.h:287
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:654
double mySpeedScalingMslModeOffset
Definition: DtObserverObject.h:1141
virtual void stopLevelPitchUp()
pitch up (level observer coordinates) pitch up movement (rotate up around the current level observer ...
Definition: DtObserverObject.h:597
bool myIsFrustumBasedViewMagnificationEnabled
Definition: DtObserverObject.h:1146
virtual void stopOrbitingLeft()
orbit around current target left (observer coordinates) Orbit left, wrt the current target ...
Definition: DtObserverObject.h:629
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:825
virtual void setLocalModelScalingAmount(float amount)
Definition: DtObserverObject.h:959
NorthType
Definition: DtObserverObject.h:62
Definition of a sensor.
Definition: DtSensor.h:30
SpeedScalingMode mySpeedScalingMode
Definition: DtObserverObject.h:1140
virtual void getObserverCameraOrientation(double &psi, double &theta, double &phi, bool includeShake=true) const
(so, where the camera is actually looking)
Definition: DtObserverObject.h:977
virtual void rotateFlashlightPitchUp(double rads)
pitch up (observer coordinates) pitch up movement (rotate up around the current observer X-axis) ...
Definition: DtObserverObject.h:548
virtual void stopRollRight()
roll right (observer coordinates) roll right movement (rotate right around the current observer Y-axi...
Definition: DtObserverObject.h:572
virtual void moveLevelObserverBack(double)
move back (&#39;gravity&#39; coordinates) gravity back movement (in the opposite direction of the current hea...
Definition: DtObserverObject.h:365
virtual void setLocation(double x, double y, double z)
jump to x, y, z
Definition: DtObserverObject.h:663
virtual void scrollLevelObserverBack(int wheelUnits)
Definition: DtObserverObject.h:689
virtual void moveLevelAttachedDown(double)
move down (&#39;gravity&#39; coordinates) gravity down movement (in the direction of the gravity vector) ...
Definition: DtObserverObject.h:473
virtual void setOrbiting(bool orient)
Definition: DtObserverObject.h:851
std::string myName
Definition: DtObserverObject.h:1131
virtual void scrollLevelObserverForward(int wheelUnits)
Definition: DtObserverObject.h:688
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:480
virtual void scrollObserverForward(int wheelUnits)
Definition: DtObserverObject.h:686
float myTerrainLodScale
Definition: DtObserverObject.h:1156
virtual void stopMoveAttachedContextUp()
move up (&#39;attached&#39; coordinates) attached up movement (depends on attach mode)
Definition: DtObserverObject.h:496
virtual void moveAttachedDown(double)
move down (body coordinates) Attached down movement (along the negative body Z-axis) ...
Definition: DtObserverObject.h:420
virtual double linearSpeed()
Get the observer object&#39;s calculated speed (includes speed scaling in the deriving class) ...
Definition: DtObserverObject.h:926
virtual void moveObserverBack(double)
move back (body coordinates) Observer back movement (along the negative body Y-axis) ...
Definition: DtObserverObject.h:312
virtual void stopMoveLevelObserverForward()
move forward (&#39;gravity&#39; coordinates) gravity forward movement (in the direction of the current headin...
Definition: DtObserverObject.h:337
Definition: DtObserverObject.h:44
virtual void stopOrbitingUp()
orbit around current target up (observer coordinates) Orbit up, wrt the current target ...
Definition: DtObserverObject.h:645
virtual void stopMoveAttachedContextBack()
move back (&#39;attached&#39; coordinates) attached back movement (depends on attach mode) ...
Definition: DtObserverObject.h:512
virtual void stopMoveAttachedForward()
move right (body coordinates) Attached right movement (along the positive body X-axis) ...
Definition: DtObserverObject.h:387
virtual void stopLookTiltLeft()
roll the camera left (observer coordinates) Roll look left, wrt the observer
Definition: DtObserverObject.h:744
virtual void setObserverOffsetVector(double x, double y, double z)
Definition: DtObserverObject.h:961
virtual void moveLevelAttachedForward(double)
move forward (&#39;gravity&#39; coordinates) gravity forward movement (in the direction of the current headin...
Definition: DtObserverObject.h:438
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:667
virtual void moveAttachedRight(double)
move right (body coordinates) Attached right movement (along the positive body X-axis) ...
Definition: DtObserverObject.h:381
virtual void moveAttachedContextDown(double)
move down (depends on attach mode)
Definition: DtObserverObject.h:520
virtual void moveLevelAttachedUp(double)
move up (&#39;gravity&#39; coordinates) gravity up movement (in the opposite direction of the gravity vector)...
Definition: DtObserverObject.h:447
virtual double viewResolution() const
Zoom factor. Used to scale terrain and objects.
Definition: DtObserverObject.h:253
virtual void lookUp(double rads)
rotate camera up (observer coordinates) Look up, wrt the observer
Definition: DtObserverObject.h:721
DT_DLL_vrfutil double mag(double x[3])
Contains makArchives::DtObserverModeRecord class.
virtual void moveAttachedContextRight(double)
move right (&#39;attached&#39; coordinates) attached right movement (depends on attach mode) ...
Definition: DtObserverObject.h:481
const char int mode
Definition: ioapi.h:38
virtual void setSpeedScaledSpeed(double speed)
Used for reset when there is no terrain.
Definition: DtObserverObject.h:761
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:671
virtual void rotatePitchDown(double rads)
pitch down (observer coordinates) pitch down movement (rotate down around the current observer X-axis...
Definition: DtObserverObject.h:556
virtual void setRotationSpeed(double speed)
Set the speed used for rotation (observer and camera)
Definition: DtObserverObject.h:767
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:992
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:630
virtual void stopLookTiltRight()
roll the camera right (observer coordinates) Roll look right, wrt the observer
Definition: DtObserverObject.h:736
float myColorControlColorMix
Definition: DtObserverObject.h:1154
virtual void stopMoveObserverUp()
move up (body coordinates) Observer up movement (along the positive body Z-axis)
Definition: DtObserverObject.h:295
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:822
double myScaleFactor
Definition: DtObserverObject.h:1133
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:1031
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:76
A utility Quaternion class.
Definition: DtQuat.h:19
DtObserverObject::NorthType myNorthType
Definition: DtObserverObject.h:1148
bool isGlobalTerrain() const
Are we on a global terrain.
Definition: DtObserverObject.h:1059
virtual void moveObserverRight(double)
Observer Control.
Definition: DtObserverObject.h:281
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:999
virtual void stopLookDown()
rotate camera down (observer coordinates) Look down, wrt the observer
Definition: DtObserverObject.h:728
DtModelSetId
Definition: DtModelSetEnums.h:19
virtual void stopMoveAttachedRight()
move right (body coordinates) Attached right movement (along the positive body X-axis) ...
Definition: DtObserverObject.h:380
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:573
virtual void moveObserverUp(double)
move up (body coordinates) Observer up movement (along the positive body Z-axis)
Definition: DtObserverObject.h:296
Definition: DtObserverObject.h:47
virtual void stopMoveObserverBack()
move back (body coordinates) Observer back movement (along the negative body Y-axis) ...
Definition: DtObserverObject.h:311
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:1044
virtual void scrollFlashlightNarrower(int wheelUnits)
Definition: DtObserverObject.h:692
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:1013
virtual void attachToObjects(const std::vector< DtUniqueID > &ids)
Definition: DtObserverObject.h:795
ModeSettingsMap myModeSettingsMap
Definition: DtObserverObject.h:1137
virtual void moveAttachedLeft(double)
move left (body coordinates) Attached left movement (along the negative body X-axis) ...
Definition: DtObserverObject.h:404
virtual void rotateFlashlightPitchDown(double rads)
pitch down (observer coordinates) pitch down movement (rotate down around the current observer X-axis...
Definition: DtObserverObject.h:557
DtDe & myDe
Definition: DtObserverObject.h:1130
DtModelSetId myModelSet
Definition: DtObserverObject.h:1134
virtual void moveLevelObserverDown(double)
move down (&#39;gravity&#39; coordinates) gravity down movement (in the direction of the gravity vector) ...
Definition: DtObserverObject.h:373
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:1006
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:821
virtual void setOrientCameraToTargetConstraint(bool orient)
Definition: DtObserverObject.h:852
virtual void getAttachedRotationOffset(double &x, double &y, double &z, double &w) const
Definition: DtObserverObject.h:963
virtual void lookLeft(double rads)
Camera Control.
Definition: DtObserverObject.h:705
virtual void rotateYawRight(double rads)
yaw right (observer coordinates) yaw right movement (rotate right about the observer-Z axis) axis) ...
Definition: DtObserverObject.h:538
virtual void moveAttachedContextUp(double)
move up (&#39;attached&#39; coordinates) attached up movement (depends on attach mode)
Definition: DtObserverObject.h:497
virtual void stopMoveLevelObserverBack()
move back (&#39;gravity&#39; coordinates) gravity back movement (in the opposite direction of the current hea...
Definition: DtObserverObject.h:364
Definition: DtObserverObject.h:48
Definition: DtObserverObject.h:46
bool myColorControlInvert
Definition: DtObserverObject.h:1151
bool myIs2D
Definition: DtObserverObject.h:1132
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:1037
Definition: DtObserverObject.h:45
virtual void synchronizeLocation(double x, double y, double z)
Definition: DtObserverObject.h:1066
DtObserverObject::DtLodCenterSettings myLodCenterSettings
Definition: DtObserverObject.h:1158
virtual void setLinearScaledSpeedGain(double gain)
Set the linear gain as a % of max gain (precision)
Definition: DtObserverObject.h:776
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:878
virtual void rotateFlashlightYawRight(double rads)
yaw right (observer coordinates) yaw right movement (rotate right about the observer-Z axis) axis) ...
Definition: DtObserverObject.h:539
AttachType
Definition: DtObserverObject.h:42
Contains DLL export macros.
virtual void resetAttachment()
reset orientation and position offsets
Definition: DtObserverObject.h:789

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)