VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtObserver.h
Go to the documentation of this file.
1 /******************************************************************************
2  * Copyright (c) 2026 MAK Technologies, Inc.
3  * All rights reserved.
4  ******************************************************************************/
5 
9 
10 #pragma once
11 
13 #include <vrvCore/DtElementData.h>
15 #include <vrvCore/DtObserverMode.h>
17 #include <matrix/vlVector.h>
18 
20 
21 
22 class DtTaitBryan;
23 
24 namespace makVrv
25 {
26  class DtObserverObjectAgent;
27  class DtDe;
28  class DtAgentManagerInterface;
29  class DtObserverConfiguration;
30  class DtSensor;
31  class DtOceanLayer;
32  class DtQuat;
33  class DtCameraShake;
34  class DtChannelConfiguration;
35 
39  {
40  public:
41 
42  typedef std::vector<DtElementID> ElementList;
43 
45  DtObserver(DtDe& de, DtAgentManagerInterface& sceneInterface,
46  const DtObserverConfiguration& config );
47 
49  virtual ~DtObserver();
50 
52  inline DtDe& de()
53  {
54  return myDe;
55  }
56 
58  DtObserverObjectAgent& agent();
59 
61  const DtObserverObjectAgent& agent() const;
62 
63  //@name Saved View loading / setting functions.
65 
67  bool getRecord(makArchives::DtObserverStateRecord& recOut) const;
68 
70  void setFromRecord(const makArchives::DtObserverStateRecord& rec);
71 
73  bool getRecord(makArchives::DtObserverSettingsRecord& recOut) const;
74 
76  void setFromRecord(const makArchives::DtObserverSettingsRecord& rec);
77 
82  makArchives::DtObserverStateRecord getCachedObserverStateRecord() const;
83 
86  bool hasInitialLocation() const;
87 
89  bool projectionIs2D() const;
98  void setProjectionIs2D( bool is2d );
100 
102 
104  const std::string& name() const;
105  void setName( const std::string& name );
106 
116 
117  int observerMode() const;
118  bool setObserverMode( int observerMode );
120 
122  double viewResolution() const;
123 
125  void setViewResolution(double resolution);
126 
128  void setViewResolutionFromHeightAboveTerrain(double hat);
129 
131  double viewMagnification() const;
132 
134  void setViewMagnification(double magnficationFactor);
135 
137  void setEntityLodScale(double entityLodScale);
138 
140  double entityLodScale() const;
141 
143  void setTerrainLodScale(double terrainLodScale);
144 
146  double terrainLodScale() const;
147 
149  void setPaperMapLayer(const std::string& paperMapLayer);
150 
152  std::string paperMapLayer() const;
153 
154  DtObserverConfiguration& configuration();
155  const DtObserverConfiguration& configuration() const;
156 
158  bool inUse( const std::string& channelKeyToIgnore = "" ) const;
159 
160  //@name Attachment functions.
162 
164  void attachToNextElement();
165 
167  void attachToPreviousElement();
168 
170  bool isAttached(DtElementID) const;
171 
173  bool isPrimaryAttached(DtElementID) const;
174 
176  bool isSecondaryAttached(DtElementID) const;
177 
179  void setPrimaryAttachment(const ElementList& elements);
183  void setPrimaryAttachment(DtElementID element);
185 
187  void setSecondaryAttachment(const ElementList& element);
192  void setSecondaryAttachment(DtElementID element);
194 
196  virtual void slot_disableBuoyancyForAttachedEntitiesChanged(bool disable);
197 
200  void setLocationTrackAttachment( double x, double y, double z );
201 
204  void getLocationTrackAttachment( double& x, double& y, double& z ) const;
205 
209  void setPartAttachment(int partId);
210 
212  int partAttachment() const;
213 
215  void detach();
216 
218  bool attached() const;
219 
221  bool tracking() const;
222 
224  const ElementList& primaryAttachments() const;
225 
227  const ElementList& secondaryAttachments() const;
228 
229  void setHideModelOnAttach( bool hide );
230  bool hideModelOnAttach() const;
231 
235 
236  void setAttachmentHas3DCockpit( bool cockpit);
237  bool attachmentHas3DCockpit() const;
239 
240  void setAttachType( DtObserverObject::AttachType type );
241  DtObserverObject::AttachType attachType() const;
242 
243  void setOrientToTargetConstraint( bool orient );
244  bool orientToTargetConstraint() const;
245 
248  DtElementID lastSingleAttached() const;
249 
251  bool haveLastSingleAttached() const;
252 
254 
255  //@name Movement functions
257 
260  void reset();
261 
264  void setAllowReset(bool b);
265 
267  bool allowReset() const;
268 
270  void setAllowAttach(bool b);
271 
273  bool allowAttach() const;
274 
276  void setAllowDetach(bool b);
277 
279  bool allowDetach() const;
280 
282  void centerOnTerrain();
283 
285  void centerOnTerrain( const DtUniqueID& terrainPatch );
286 
289  void suppressConstrainToTerrain( bool trueFalse );
290 
292  void setConstrainToCenter( bool trueFalse );
293  void toggleConstrainToCenter();
294  bool constrainToCenter() const;
295 
297  void getLocation( double &x, double &y, double& z ) const;
298 
300  DtVector location() const;
301 
303  DtVector observerCameraPosition() const;
304 
306  void setLocation( double x, double y, double z );
307 
309  void getOrientation( double& psi, double& theta, double& phi ) const;
310 
312  void getTopographicOrientation( double& psi, double& theta, double& phi ) const;
313 
315  void setOrientation( double psi, double theta, double phi );
316 
318  void setTopographicOrientation( double psi, double theta, double phi );
319 
321  void getOrientation( double& x, double& y, double& z, double& w ) const;
322 
324  void setOrientation( double x, double y, double z, double w );
325 
328  DtTaitBryan observerCameraOrientation(bool includeShake=true) const;
329 
332  virtual DtVector observerPlatformFront() const;
333 
336  virtual DtVector observerPlatformUp() const;
337 
340  virtual DtVector observerPlatformRight() const;
341 
345  virtual DtVector observerCameraFront(bool includeShake=true) const;
346 
348  virtual DtVector observerCameraUp(bool includeShake = true) const;
349 
351  virtual DtVector observerCameraRight(bool includeShake = true) const;
352 
355  void moveUnit(const DtVector& direction);
356 
359  void rotateUnit(const DtTaitBryan& rotation);
360 
362  void getLinearVelocity(double &x, double &y, double &z) const;
364  DtVector linearVelocity() const;
366 
368  void getRotationalVelocity( double& x, double& y, double& z ) const;
370  DtVector rotationalVelocity() const;
372 
374  bool observerObjectMoving() const;
375 
377  double observerAltitude() const;
378 
382  double observerHeightAboveTerrain() const;
384 
385  //@name Attached Movement functions
387 
393  void setAttachedLocation( double x, double y, double z );
394  void setAttachedX( double x );
395  void setAttachedY( double y );
396  void setAttachedZ( double z );
397 
400  void setAttachedOrientation( double psi, double theta, double phi );
401  void setAttachedYaw(double psi);
402  void setAttachedPitch(double theta);
403  void setAttachedRoll(double phi);
404 
407  void setLocalModelScalingEnabled( bool enabled );
408 
411  void setLocalModelScalingAmount( float amount );
412 
414 
415  //@name Speed functions
417 
419  void setOrbitSpeedGain( int gain, bool forwardToObserverModeManager = true );
420 
422  int orbitSpeedGain() const;
423 
425  int orbitSpeedGainFromSpeed( double speed ) const;
426 
427  void setRotationSpeedGain( int gain, bool forwardToObserverModeManager = true );
428  int rotationSpeedGain() const;
429 
431  void setLinearSpeedGain( int gain );
432  int linearSpeedGain() const;
433 
434  void setLinearScaledSpeedGain( int gain, bool forwardToObserverModeManager = true );
435  int linearScaledSpeedGain() const;
436 
437  void setLinearUnscaledSpeedGain( int gain, bool forwardToObserverModeManager = true );
438  int linearUnscaledSpeedGain() const;
439 
440  void setGainPrecision( int amt, bool forwardToObserverModeManager = true );
441  int gainPrecision() const;
442 
443  void setModelScaleFactor( double modelScaleFactor, bool forwardToObserverModeManager = true );
444  double modelScaleFactor() const;
445 
446  void setModelScaleType( const std::string& modelScaleType, bool forwardToObserverModeManager = true );
447  const std::string& modelScaleType() const;
448 
449  void setMaxModelScaleFactor(double maxModelScaleFactor, bool forwardToObserverModeManager = true);
450  double maxModelScaleFactor() const;
451 
452  void setSpeedScalingMode( DtObserverObject::SpeedScalingMode mode,
453  bool forwardToObserverModeManager = true );
454  DtObserverObject::SpeedScalingMode speedScalingMode() const;
455 
459  void setIsFrustumBasedViewMagnificationEnabled(bool enabled, bool forwardToObserverModeManager = true);
460  bool isFrustumBasedViewMagnificationEnabled() const;
461 
463  void setNorthType(DtObserverObject::NorthType northType, bool forwardToObserverModeManager = true);
464 
466  DtObserverObject::NorthType northType() const;
467 
472  virtual void setColorControlEnabled(bool enabled, bool forwardToObserverModeManager = true);
473 
475  virtual bool colorControlEnabled() const;
476 
481  virtual void setColorControlInvert(bool enabled, bool forwardToObserverModeManager = true);
482 
484  virtual bool colorControlInvert() const;
485 
490  virtual void setColorControlContrast(double value, bool forwardToObserverModeManager = true);
491 
493  virtual double colorControlContrast() const;
494 
499  virtual void setColorControlBrightness(double value, bool forwardToObserverModeManager = true);
500 
502  virtual double colorControlBrightness() const;
503 
508  virtual void setColorControlColorMix(double value, bool forwardToObserverModeManager = true);
509 
511  virtual double colorControlColorMix() const;
512 
513  void setSpeedScalingMslModeOffset(double offset,
514  bool forwardToObserverModeManager = true );
515  double speedScalingMslModeOffset() const;
516 
517  void setOrbitSpeed( double speed );
518  double orbitSpeed() const;
519 
520  void setRotationSpeed( double speed );
521  double rotationSpeed() const;
522 
523  void setLinearSpeed( double speed );
524  double linearSpeed() const;
525 
527 
529  virtual void toggleFlashlight();
530 
532  virtual DtCameraShake* cameraShake();
533 
535  virtual bool setCameraShake(const std::string& shakeType);
536 
538  virtual void setLodCenterSettings(
539  const DtObserverObject::DtLodCenterSettings& settings, bool forwardToObserverModeManager = true);
540  virtual bool lodCenterSettings(DtObserverObject::DtLodCenterSettings& settings) const;
541 
544  virtual void setCameraShakeRotation(const DtQuat& rotQuat) const;
545 
546  //@name Sensor functions
548  virtual void setSensor(const std::string& sensorName);
550 
552  virtual std::string findSensor();
553 
555  virtual void disableSensor();
556 
558  virtual void slot_sensorRemoved(DtSensor* sensor);
560 
561  // Called by the input driver before any mouse or keyboard input is processed for the
562  // frame, to sync local and remote observers.
563  virtual void synchronize();
564 
566  boost::signalslib::signal<void(const std::string&, DtUniqueID)> signal_objectAttached;
567 
569  boost::signalslib::signal<void(const std::string&)> signal_objectsDetached;
570 
572  boost::signalslib::signal<void(DtObserver*, int)> signal_observerModeChanged;
573 
575  boost::signalslib::signal<void(DtObserver*, int)> signal_linearScaledSpeedGainChanged;
576 
578  boost::signalslib::signal<void(DtObserver*, int)> signal_linearUnscaledSpeedGainChanged;
579 
581  boost::signalslib::signal<void(DtObserver*, int)> signal_rotationSpeedGainChanged;
582 
584  boost::signalslib::signal<void(DtObserver*, int)> signal_orbitSpeedGainChanged;
585 
587  boost::signalslib::signal<void(DtObserver*, int)> signal_gainPrecisionChanged;
588 
590  boost::signalslib::signal<void(DtObserver*, double)> signal_modelScaleFactorChanged;
591 
593  boost::signalslib::signal<void(DtObserver*, std::string)> signal_modelScaleTypeChanged;
594 
596  boost::signalslib::signal<void(DtObserver*, double)> signal_viewMagnificationChanged;
597 
599  boost::signalslib::signal<void(DtObserver*, double)> signal_terrainLodScaleChanged;
600 
602  boost::signalslib::signal<void(DtObserver*, double)> signal_entityLodScaleChanged;
603 
605  boost::signalslib::signal<void(DtObserver*, DtObserverObject::DtLodCenterSettings)> signal_lodCenterSettingsChanged;
606 
608  boost::signalslib::signal<void(DtObserver*, std::string)> signal_paperMapLayerChanged;
609 
611  boost::signalslib::signal<void (DtObserver*,
614 
617  boost::signalslib::signal<void (DtObserver*, double offset)>
619 
621  boost::signalslib::signal<void(DtObserver*, bool)> signal_isFrustumBasedViewMagnificationEnabledChanged;
622 
624  boost::signalslib::signal<void(DtObserver*, DtObserverObject::NorthType northType)>
626 
630  boost::signalslib::signal<void (DtSensor*)> signal_sensorChanged;
631 
634  boost::signalslib::signal<void ()> signal_terrainChanged;
635 
637  void getObserverOffsetVector( double& x, double& y, double& z ) const;
638  void getObserverRotationOffset( double& x, double& y, double& z, double& w ) const;
639 
642 
643  void getCameraFromParentOffsetVector( double& x, double& y, double& z ) const;
644  void getCameraFromParentRotationOffset( double& x, double& y, double& z, double& w ) const;
646 
647 
650  virtual void setUsesBoundingVolumeForAttachedOffsets(bool useBoundingVolume);
651 
654  virtual bool usesBoundingVolumeForAttachedOffsets() const;
655 
656  protected:
657 
659  void slot_terrainCleared();
660  void slot_oceanLayerAdded(const DtOceanLayer&);
661  void slot_oceanLayerDeleted(const std::string&);
662 
663  void updateGlobalTerrainFlag(bool flag);
664 
665  double calcLinearSpeed() const;
666  double calcRotationSpeed() const;
667  double calcOrbitSpeed() const;
668 
669  void setObserverOffsetVector( double x, double y, double z );
670 
671  void setObserverRotationOffset( double x, double y, double z, double w );
672 
673  void getDisplayNamesFromUniqueIds(const std::vector<DtUniqueID>& idsIn,
674  std::set<std::string>& displayNamesOut) const;
675  bool getUniqueIdsFromDisplayNames(const std::set<std::string>& displayNamesIn,
676  std::vector<DtUniqueID>& idsOut) const;
677 
678  makArchives::DtObserverSettingsRecord::AttachType convertObserverAttachType(
679  DtObserverObject::AttachType type) const;
680  DtObserverObject::AttachType convertObserverSettingsAttachType(
682 
683  void connectToElementDataSignals();
684  void disconnectFromElementDataSignals();
685 
686  void setModeSpecificObserverObjectData();
687 
689  virtual void slot_onElementsAdded( const DtElementData::ElementList& elements );
690 
698 
699  virtual void attachToObjects(const ElementList& objects);
702 
705  virtual void slot_attachNextTick(const ElementList objects);
706 
708  virtual bool sceneObjectsAvailable(const ElementList& elements);
710 
712  virtual void slot_onElementAttributesChanged(
714 
717  void slot_completeAttachment();
718 
719  void slot_observerModeModelSetChanged( int observerMode );
720  void slot_observerModeSensorChanged( int observerMode );
721  void slot_observerModeIs2DChanged( int observerMode );
722  void slot_observerModeKeyMapChanged( int observerMode );
723  void slot_observerModeGainPrecisionChanged( int observerMode );
724  void slot_observerModeOrbitSpeedGainChanged( int observerMode );
725  void slot_observerModeRotationSpeedGainChanged( int observerMode );
726  void slot_observerModeLinearScaledSpeedGainChanged( int observerMode );
727  void slot_observerModeLinearUnscaledSpeedGainChanged( int observerMode );
728  void slot_observerModeModelScaleFactorChanged( int observerMode );
729  void slot_observerModeModelScaleTypeChanged( int observerMode );
730  void slot_observerModeSpeedScalingModeChanged( int observerMode );
731  void slot_observerModeSpeedScalingMslModeOffsetChanged( int observerMode );
732  void slot_observerModeIsFrustumBasedViewMagnificationEnabledChanged(int observerMode);
733  void slot_observerModeLodCenterSettingsChanged(int observerMode);
734  void slot_observerModeNorthTypeChanged(int observerMode);
735  void slot_observerModeColorControlEnabledChanged(int observerMode);
736  void slot_observerModeColorControlInvertChanged(int observerMode);
737  void slot_observerModeColorControlContrastChanged(int observerMode);
738  void slot_observerModeColorControlBrightnessChanged(int observerMode);
739  void slot_observerModeColorControlColorMixChanged(int observerMode);
740  void slot_observerModeSettingChanged(int observerMode, int settingKey);
741  void slot_observerModeAdded( int observerMode );
742 
743  // Called when the DE raises the channel configuration modified signal. If a channel
744  // config has it's lod scale modified, the observer will modify all the other channels that
745  // it controls to keep them in sync.
746  void slot_channelModified(const DtChannelConfiguration& config);
747 
749  void attachTo( bool afterTrue );
750 
751  protected:
752 
753  static const double theMoveStepSize;
754 
757  DtObserverObjectAgent* myObserverObjectAgent;
767  std::vector<DtUniqueID> myCurrentAttachments;
768  std::vector<DtUniqueID> mySecondaryAttachments;
770  unsigned int myPartId;
785  std::string myPaperMapLayer;
786 
788 
801  };
802 }
DtObserverObjectAgent * myObserverObjectAgent
Definition: DtObserver.h:757
float myDelayedAttachedPitchValue
Definition: DtObserver.h:799
bool myAllowDetach
Definition: DtObserver.h:776
int myObserverMode
Definition: DtObserver.h:763
AttachType
Definition: DtObserverSettingsRecord.h:24
std::vector< DtUniqueID > mySecondaryAttachments
Definition: DtObserver.h:768
makArchives::DtObserverStateRecord myCachedObserverStateRecord
This is used as a work-around to cache attachments for entities which have not yet been created...
Definition: DtObserver.h:762
DtUniqueID myLastSingleAttached
Definition: DtObserver.h:769
TODO: This class is used to encapsulate a set of default observer settings and parameters.
Definition: DtObserverConfiguration.h:22
bool myConstrainToCenter
Definition: DtObserver.h:772
bool myFlashlightEnabled
Definition: DtObserver.h:778
std::vector< DtElementID > ElementList
Definition: DtObserver.h:42
boost::signalslib::signal< void(DtObserver *, int)> signal_linearScaledSpeedGainChanged
Boost signal called when the scaled linear speed gain is changed.
Definition: DtObserver.h:575
boost::signalslib::signal< void(DtObserver *, int)> signal_linearUnscaledSpeedGainChanged
Boost signal called when the unscaled linear speed gain is changed.
Definition: DtObserver.h:578
boost::signalslib::signal< void(DtObserver *, DtObserverObject::NorthType northType)> signal_northTypeChanged
Signal emitted when an observer&#39;s north type changed.
Definition: DtObserver.h:625
Contains makVrv::DtElementData class.
boost::signalslib::signal< void(const std::string &)> signal_objectsDetached
Boost signal called when observer detaches from all.
Definition: DtObserver.h:569
A DtObserverSettingsRecord contains the state of an observer.
Definition: DtObserverStateRecord.h:20
boost::signalslib::signal< void(DtObserver *, double)> signal_terrainLodScaleChanged
Boost signal called when the observer&#39;s LOD Distance Scale used for terrain visuals is changed...
Definition: DtObserver.h:599
DtObserverObject::AttachType myAttachType
Definition: DtObserver.h:766
boost::signalslib::signal< void(DtObserver *, double offset)> signal_speedScalingMslModeOffsetChanged
Signal emitted when an observer&#39;s speed scaling MSL mode offset changes.
Definition: DtObserver.h:618
DtUniqueID DtElementID
The ElementID is a specific type of unique ID used to represent VR-Vantage uniquely defined elements...
Definition: DtUniqueID.h:23
bool myAttachedZDelayedFlag
Definition: DtObserver.h:791
DtSensor * mySensor
Definition: DtObserver.h:782
bool myAllowAttach
Definition: DtObserver.h:775
Definition: DtObserverObject.h:71
boost::signalslib::signal< void(DtSensor *)> signal_sensorChanged
Called when the observer changes which sensor it&#39;s using.
Definition: DtObserver.h:630
static const double theMoveStepSize
Definition: DtObserver.h:753
Contains vrvCore::DtObserverMode class.
SpeedScalingMode
Definition: DtObserverObject.h:56
A facade for a DtObserverObject.
Definition: DtObserver.h:38
bool myAllowReset
Definition: DtObserver.h:774
boost::signalslib::signal< void(DtObserver *, DtObserverObject::DtLodCenterSettings)> signal_lodCenterSettingsChanged
Boost signal called when the observer&#39;s LOD Center Settings has changed.
Definition: DtObserver.h:605
float myEntityLodScale
Definition: DtObserver.h:780
Contains makVrv::DtObserverObject class declaration.
bool myConnectedToElementDataSignals
Definition: DtObserver.h:773
DtCameraShake * myCameraShake
Definition: DtObserver.h:783
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
bool myAttachedXDelayedFlag
Definition: DtObserver.h:789
bool myAttachedRollDelayedFlag
Definition: DtObserver.h:794
std::vector< EntryAttributes > EntryAttributesList
Define the type used to signal changes to one or more attributes for one or more elements.
Definition: DtElementAttributeManager.h:44
boost::signalslib::signal< void(DtObserver *, int)> signal_rotationSpeedGainChanged
Boost signal called when the rotation speed gain is changed.
Definition: DtObserver.h:581
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:20
unsigned int myPartId
Definition: DtObserver.h:770
boost::signalslib::signal< void(DtObserver *, int)> signal_orbitSpeedGainChanged
Boost signal called when the orbit speed gain is changed.
Definition: DtObserver.h:584
boost::signalslib::signal< void(DtObserver *, int)> signal_gainPrecisionChanged
Boost signal called when the gain precision is changed.
Definition: DtObserver.h:587
boost::signalslib::signal< void(DtObserver *, double)> signal_modelScaleFactorChanged
Boost signal called when the model scale factor is changed.
Definition: DtObserver.h:590
NorthType
Definition: DtObserverObject.h:62
Definition of a sensor.
Definition: DtSensor.h:30
boost::signalslib::signal< void(DtObserver *, DtObserverObject::SpeedScalingMode scalingMode)> signal_speedScalingModeChanged
Signal emitted when an observer&#39;s speed scaling mode changes.
Definition: DtObserver.h:613
float myDelayedAttachedXValue
Definition: DtObserver.h:795
boost::signalslib::signal< void(const std::string &, DtUniqueID)> signal_objectAttached
Boost signal called when observer attaches to an object.
Definition: DtObserver.h:566
unsigned long long DtUniqueID
Definition: DtUniqueID.h:19
boost::signalslib::signal< void(DtObserver *, double)> signal_entityLodScaleChanged
Boost signal called when the observer&#39;s LOD Distance Scale used for entities is changed.
Definition: DtObserver.h:602
bool myAttachmentHas3DCockpit
Definition: DtObserver.h:765
std::string myPaperMapLayer
Definition: DtObserver.h:785
bool myProjectionIs2D
Definition: DtObserver.h:784
bool myOrientToTargetConstraint
Definition: DtObserver.h:771
The ocean layer is a type of terrain layer which contains information about an area that should be re...
Definition: DtOceanLayer.h:25
DtObserverConfiguration * myConfiguration
Definition: DtObserver.h:758
std::vector< DtElementEntry * > ElementList
Type definition for a vector of DtElementEntry pointers.
Definition: DtElementData.h:47
Contains makArchives::DtObserverStateRecord class.
Base class to provide boost signal/slot management.
Configuration for a single channel Serialized and sent to remote displays as necessary to configure r...
Definition: DtChannelConfiguration.h:24
boost::signalslib::signal< void()> signal_terrainChanged
Called when the observer sees a change in terrain which might require updates to observer settings...
Definition: DtObserver.h:634
bool myHideModelOnAttach
Definition: DtObserver.h:764
boost::signalslib::signal< void(DtObserver *, bool)> signal_isFrustumBasedViewMagnificationEnabledChanged
Boost signal called when the observer&#39;s use of an effective zoom calculation has changed.
Definition: DtObserver.h:621
A DtObserverSettingsRecord contains the settings of an observer.
Definition: DtObserverSettingsRecord.h:20
const char int mode
Definition: ioapi.h:38
bool myAttachmentDelayed
Definition: DtObserver.h:787
Contains the DtElementAttributeManager class declaration.
The abstract interface necessary for agents.
Definition: DtAgentManagerInterface.h:33
bool myAttachedPitchDelayedFlag
Definition: DtObserver.h:793
bool myHasInitialLocation
Definition: DtObserver.h:777
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
std::vector< DtUniqueID > myCurrentAttachments
Definition: DtObserver.h:767
float myTerrainLodScale
Definition: DtObserver.h:781
A utility Quaternion class.
Definition: DtQuat.h:19
boost::signalslib::signal< void(DtObserver *, double)> signal_viewMagnificationChanged
Boost signal called when the observer&#39;s view magnification is changed.
Definition: DtObserver.h:596
boost::signalslib::signal< void(DtObserver *, std::string)> signal_paperMapLayerChanged
Signal called when the observer&#39;s paper map layer is changed.
Definition: DtObserver.h:608
voidpf uLong offset
Definition: ioapi.h:42
float myDelayedAttachedYValue
Definition: DtObserver.h:796
Provides an algorithm for shaking the camera.
Definition: DtCameraShake.h:23
DtSignalConnectionManager myConnections
Definition: DtObserver.h:756
float myDelayedAttachedRollValue
Definition: DtObserver.h:800
float myDelayedAttachedYawValue
Definition: DtObserver.h:798
bool myAttachedYDelayedFlag
Definition: DtObserver.h:790
boost::signalslib::signal< void(DtObserver *, int)> signal_observerModeChanged
Boost signal called when observer&#39;s mode changed.
Definition: DtObserver.h:572
DtDe & myDe
Definition: DtObserver.h:755
DtDe & de()
Get the observer&#39;s DtDe.
Definition: DtObserver.h:52
double myViewMagnification
Definition: DtObserver.h:779
bool myAttachedYawDelayedFlag
Definition: DtObserver.h:792
boost::signalslib::signal< void(DtObserver *, std::string)> signal_modelScaleTypeChanged
Boost signal called when the model scale type is changed.
Definition: DtObserver.h:593
float myDelayedAttachedZValue
Definition: DtObserver.h:797
AttachType
Definition: DtObserverObject.h:42

Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)