VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
guiLocalObjectManager.h
Go to the documentation of this file.
1 /****************************************************************************
2  * Copyright (c) 2022 MAK Technologies, Inc.
3  * All rights reserved.
4  ****************************************************************************/
5 
6 #pragma once
7 
15 #include <vrvCore/DtEntityState.h>
16 #include <vrvCore/DtStateView.h>
17 #include <vrvCore/DtIntersector.h>
21 
22 #include <vlutil/vlSmartPointers.h>
23 #include <boost/shared_ptr.hpp>
24 
25 #include <boost/archive/xml_iarchive.hpp>
26 #include <boost/archive/xml_oarchive.hpp>
27 #include <boost/serialization/access.hpp>
28 #include <boost/serialization/nvp.hpp>
29 #include <boost/serialization/list.hpp>
30 #include <boost/serialization/map.hpp>
31 #include <boost/serialization/vector.hpp>
32 #include <boost/serialization/string.hpp>
33 
34 #include <matrix/vlVector.h>
35 
36 class DtEntityType;
37 
38 namespace makVrv
39 {
40  class DtDe;
41  class DtTacticalGraphicOverlay;
42  struct DtVrlinkSimulatedBaseState;
43  struct DtVrlinkSimulatedEntityState;
44 }
45 
48 namespace makVrf
49 {
50 
51  class DtVrfObjectFacadeInterface;
52  class DtEnvironmentalFacadeCollection;
53  class DtEntityFacadeCollection;
54  struct DtVrlinkSimulatedEnvironmentProcess;
55 
66 
68  {
69  public:
70  enum ClampFlag
71  {
72  Highest = 0,
75  ClosestDown
76  };
77 
79 
80  static DtGuiLocalObjectManager& instance(makVrv::DtDe& de);
81  static void registerInstance(makVrv::DtDe& de, DtGuiLocalObjectManager*);
82 
83  virtual ~DtGuiLocalObjectManager();
84 
86  virtual bool isCreating() const;
87 
89  virtual void tacticalGraphicsVertexSelected(
90  const makVrv::DtUniqueID& selected, const makVrv::DtUniqueID& parentElementID);
91 
93  virtual void tacticalGraphicsVertexDeselected(
94  const makVrv::DtUniqueID& deselected, const makVrv::DtUniqueID& parent);
95 
97  virtual void slot_onCurrentSelectionChanged(
98  const makVrv::DtSelectionManager::IdSet& selected,
99  const makVrv::DtSelectionManager::IdSet& deselected);
100 
102  virtual DtVrfObjectFacadeInterface* facadeForID(makVrv::DtUniqueID);
103 
105  virtual std::vector<makVrv::DtUniqueID> uniqueIdsForTypesThatMatch(const DtEntityType&) const;
106 
111  virtual DtEnvironmentalFacadeCollection* create(const DtVrlinkSimulatedEnvironmentProcess&, int dictionartToUse = -1);
112 
122  virtual DtEnvironmentalFacadeCollection* create(const DtEntityType& t,
123  const std::vector<DtVector>& localPoints,
124  int force,
126  int modelSet = -1, bool keepName = false, int dictionaryToUse = -1);
127 
132  virtual DtEntityFacadeCollection* create(const makVrv::DtVrlinkSimulatedEntityState&, const std::string& overlayParent = "",
133  int dictionaryToUse = -1);
134 
144  virtual DtEntityFacadeCollection* create(const DtEntityCreationData&,
145  int modelSet = -1, bool keepName = false, int dictionaryToUse = -1);
146 
148  virtual DtVrfObjectFacadeInterface* createObject(const DtVrfObjectManipulationHandlerBaseClass::ObjectManipulationData&, const bool showInObjectList = false);
149 
151  virtual const makVrv::DtTacticalGraphicOverlay* createOnLayer(const std::string& layerName = "");
152 
154  virtual void completeStateUpdate(makVrv::DtUniqueID id);
155 
157  virtual void setVisible(makVrv::DtUniqueID id, bool hide);
158 
160  virtual bool isLocal(makVrv::DtUniqueID id) const;
161 
162  virtual void updateState(makVrv::DtUniqueID id);
163 
166  virtual void setEditable(makVrv::DtUniqueID id, bool);
167 
170  virtual bool isEditable(makVrv::DtUniqueID id, const std::string& keywords = "") const;
171 
173  virtual bool isMemberOfLayer(makVrv::DtUniqueID id, const std::string& layername) const;
174 
176  virtual void deleteLocal(makVrv::DtUniqueID id);
177 
179  virtual void deleteAll(std::vector<DtEntityType> except = std::vector<DtEntityType>());
180 
182  virtual void deleteAllFromLayer(const std::string& layername);
183 
189  {
191  : name( 0 )
192  , force( 0 )
193  , overlay( 0 )
194  , userData( 0 )
195  , extendedData( 0 )
196  , extendedLabels( 0 )
197  , newHeading( 0 )
198  , newPitch( 0 )
199  , color( 0 )
200  , appearance( 0 )
201  , label( 0 )
202  , physicalLineHeight( 0 )
203  , physicalLineWidth( 0 )
204  {
205  isGeocentric = false;
206  }
207 
209  : name( &omd.objectName )
210  , force( &omd.force )
211  , overlay( &omd.overlay )
212  , userData( &omd.userData )
213  , extendedData( &omd.extendedData )
214  , extendedLabels( &omd.extendedLabels )
215  , newHeading( &omd.heading )
216  , newPitch( &omd.pitch )
217  , color( 0 )
218  , appearance( 0 )
219  , label( 0 )
220  , physicalLineHeight( 0 )
221  , physicalLineWidth( 0 )
222  {
223  isGeocentric = false;
224  }
225 
226  const std::string* name;
227  std::vector<DtVector> points;
228  const int* force;
229  const std::string* overlay;
230  const std::string* userData;
231  const std::map<std::string, std::string>* extendedData;
232  const std::map<int, DtString>* extendedLabels;
233  const double* newHeading;
234  const double* newPitch;
235  const int* color;
236  const int* appearance;
237  const std::string* label;
238  const float* physicalLineHeight;
239  const float* physicalLineWidth;
241  };
242 
243  virtual void update(makVrv::DtElementID id, const LocalObjectUpdateStructure& updateStructure, bool forceUpdate = true);
244 
246  virtual DtVector getVertexPosition(makVrv::DtElementID parent, makVrv::DtUniqueID vertexId) const;
247 
250  virtual void create(const DtEntityType& t, int force);
251 
253  virtual bool allSelectionIsLocal() const;
254 
256  virtual void setCanCreateLocalObjects(bool);
257 
259  virtual bool canCreateLocalObjects() const;
260 
262  virtual void save(const std::string&);
263 
265  virtual std::string toStringBuffer();
266 
268  virtual bool fromStringBuffer(const std::string&, bool removeAll = true);
269 
271  virtual bool load(const std::string&, bool removeAll = true);
272 
274  virtual int numberOfLocalObjects() const;
275 
278  virtual double groundHeight(const DtVector& lp, makVrv::DtIntersector::IntersectProperties props =
279  makVrv::DtIntersector::SupportNodes, ClampFlag clampFlag = Closest, DtVector* clampedPoint = 0,
280  const std::vector<makVrv::DtUniqueID>& ignore = std::vector<makVrv::DtUniqueID>(), makVrv::DtUniqueID* hitId = 0) const;
281 
285  virtual DtVector clampToGround(const DtVector&, makVrv::DtIntersector::IntersectProperties props =
286  makVrv::DtIntersector::SupportNodes, const std::vector<makVrv::DtUniqueID>& ignore = std::vector<makVrv::DtUniqueID>(),
287  bool useHighestLOD = false, bool ignoreDynamicOcean = false, ClampFlag useHighestPolygon = Closest,
288  makVrv::DtUniqueID* hitId = 0) const;
289 
292  virtual DtGeodeticCoord clampToGround(const DtGeodeticCoord&, makVrv::DtIntersector::IntersectProperties props =
293  makVrv::DtIntersector::SupportNodes, const std::vector<makVrv::DtUniqueID>& ignore = std::vector<makVrv::DtUniqueID>(),
294  bool useHighestLOD = false, bool ignoreDynamicOcean = false, ClampFlag useHighestPolygon = Closest, makVrv::DtUniqueID* hitId = 0) const;
295 
296  virtual std::string generateUniqueName(const std::string& base, bool addNumberToBegin = false) const;
297 
299  virtual void ignoreFromArchive(const DtEntityType&);
300  virtual void removeIgnoreFromArchive(const DtEntityType&);
301 
302  protected:
304  virtual void slot_objectVisibilityChanged( makVrv::DtUniqueID id, bool isShown, int context );
305 
307  virtual void slot_onStateViewUpdated(makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>*);
308 
310  virtual void completeStateViewUpdated(makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>*, bool forceIfHidden = false);
311 
315 
316  virtual void slot_stoppedObjectCreation();
317 
319  virtual bool shouldArchive(makVrv::DtVrlinkSimulatedBaseState*) const;
320 
322  virtual void clearingTerrain();
323 
324  public:
329  boost::signals2::signal<void (bool)> signal_creating;
330 
332  boost::signals2::signal<void (DtVrfObjectFacadeInterface*, makVrv::DtVrlinkSimulatedBaseState*)> signal_objectCreated;
333 
335  boost::signals2::signal<void (DtVrfObjectFacadeInterface*)> signal_objectAboutToBeDeleted;
336 
338  boost::signals2::signal<void (bool)> signal_loading;
339 
341  boost::signals2::signal<void (makVrv::DtUniqueID)> signal_objectDeleted;
342 
344  boost::signals2::signal<void ()> signal_terrainClearing;
345  boost::signals2::signal<void ()> signal_terrainCleared;
346 
348 
349  protected:
350  friend class boost::serialization::access;
351 
355  template<class Archive>
356  void serialize(Archive & ar, const unsigned int version)
357  {
358  if (Archive::is_loading::value)
359  {
360  read(*(boost::archive::xml_iarchive*)&ar);
361  }
362  else
363  {
364  write(*(boost::archive::xml_oarchive*)&ar);
365  }
366  }
367 
368  virtual void write(boost::archive::xml_oarchive& out);
369  virtual void read(boost::archive::xml_iarchive& in);
370 
371  protected:
373 
375 
377  typedef std::map<makVrv::DtUniqueID, DtVrfObjectFacadeInterface*> LocalObjects;
380 
381  typedef std::map<makVrv::DtUniqueID, makVrv::DtVrlinkSimulatedBaseState*> LocalStateData;
383 
385 
386  std::vector<DtEntityType> myIgnoreFromArchive;
387 
388  boost::signals2::scoped_connection myCompleteViewUpdatedConnection;
389 
391  {
393  : myProps(makVrv::DtIntersector::IntersectProperties(0))
394  , myUseHighestLOD(false)
395  , myIgnoreDynamicOcean(false)
396  , myUseHighestPolygon(Closest)
397  , myHitId(0)
398  {
399  }
400 
402  bool useHighestLOD, bool ignoreDynamicOcean, ClampFlag useHighestPolygon, const std::vector<makVrv::DtUniqueID>& ignore)
403  : myCheckPoint(lp)
404  , myProps(props)
405  , myUseHighestLOD(useHighestLOD)
406  , myIgnoreDynamicOcean(ignoreDynamicOcean)
407  , myUseHighestPolygon(useHighestPolygon)
408  , myHitId(0)
409  , myIgnored(ignore)
410  {
411  }
412 
414 
416  {
417  myCheckPoint = orig.myCheckPoint;
418  myProps = orig.myProps;
419  myUseHighestLOD = orig.myUseHighestLOD;
420  myIgnoreDynamicOcean = orig.myIgnoreDynamicOcean;
421  myUseHighestPolygon = orig.myUseHighestPolygon;
422  myCheckPoint = orig.myCheckPoint;
423  myHitId = orig.myHitId;
424  myIgnored = orig.myIgnored;
425 
426  return *this;
427  }
428 
429  bool operator==(const LastCheckedGroundInformation& orig) const
430  {
431  return ((myCheckPoint == orig.myCheckPoint) &&
432  (myProps == orig.myProps) &&
433  (myUseHighestLOD == orig.myUseHighestLOD) &&
434  (myIgnoreDynamicOcean == orig.myIgnoreDynamicOcean) &&
435  (myIgnored == orig.myIgnored) &&
436  (myUseHighestPolygon == orig.myUseHighestPolygon));
437  }
438 
446  std::vector<makVrv::DtUniqueID> myIgnored;
447  };
448 
450  };
451 
453  {
454  public:
455 
456  DtSerializableVector() : mySource(0) {};
458  : DtVector( src )
459  , mySource( &src )
460  {
461  }
462 
463  void operator=(const DtVector& rhs)
464  {
465  ((DtVector&)*this) = rhs;
466  }
467 
468  protected:
469 
470  friend class boost::serialization::access;
471 
475  template<class Archive>
476  void serialize(Archive & ar, const unsigned int version)
477  {
478  double x = myRep[0], y = myRep[1], z = myRep[2];
479 
480  ar & BOOST_SERIALIZATION_NVP(x);
481  ar & BOOST_SERIALIZATION_NVP(y);
482  ar & BOOST_SERIALIZATION_NVP(z);
483 
484  if (Archive::is_loading::value)
485  {
486  myRep[0] = x;
487  myRep[1] = y;
488  myRep[2] = z;
489 
490  if (mySource)
491  {
492  *mySource = *this;
493  }
494  }
495  }
496 
497  protected:
499  };
500 
501  class DT_DLL_VRFGUICORE DtSerializableTaitBryan : public DtTaitBryan
502  {
503  public:
504  DtSerializableTaitBryan() : mySource(0) {};
505  DtSerializableTaitBryan(DtTaitBryan& src) :
506  DtTaitBryan(src),
507  mySource(&src)
508  {
509  }
510 
511  protected:
512  friend class boost::serialization::access;
513 
517  template<class Archive>
518  void serialize(Archive & ar, const unsigned int version)
519  {
520  ar & BOOST_SERIALIZATION_NVP(myPsi);
521  ar & BOOST_SERIALIZATION_NVP(myTheta);
522  ar & BOOST_SERIALIZATION_NVP(myPhi);
523 
524  if (Archive::is_loading::value && mySource)
525  {
526  *mySource = *this;
527  }
528  }
529 
530  protected:
531  DtTaitBryan* mySource;
532  };
533 
534  template <typename _Type, typename _SrcType>
536  {
537  public:
539  DtSerializableStdVector(std::vector<_SrcType>& src) :
540  mySource(&src)
541  {
542  myValues.resize(src.size());
543 
544  typename std::vector<_SrcType>::const_iterator srcIter = src.begin();
545  typename std::vector<_Type>::iterator tgtIter = myValues.begin();
546 
547  while (srcIter != src.end())
548  {
549  *tgtIter = *srcIter;
550  ++srcIter;
551  ++tgtIter;
552  }
553  }
554 
555  protected:
557 
561  template<class Archive>
562  void serialize(Archive & ar, const unsigned int version)
563  {
564  ar & BOOST_SERIALIZATION_NVP(myValues);
565 
566  if (Archive::is_loading::value && mySource)
567  {
568  mySource->clear();
569  mySource->resize(myValues.size());
570 
571  typename std::vector<_Type>::const_iterator src = myValues.begin();
572  typename std::vector<_SrcType>::iterator tgt = mySource->begin();
573 
574  while (src != myValues.end())
575  {
576  *tgt = *src;
577  ++src;
578  ++tgt;
579  }
580  }
581  }
582 
583  protected:
584  std::vector<_SrcType>* mySource;
585  std::vector<_Type> myValues;
586  };
587 
588 
589  class DT_DLL_VRFGUICORE DtSerializablePatchIdentifier : public DtPatchIdentifier
590  {
591  public:
592 
593  DtSerializablePatchIdentifier() : mySource( 0 ) {}
594  DtSerializablePatchIdentifier( DtPatchIdentifier& src )
595  : DtPatchIdentifier( src )
596  , mySource( &src )
597  {
598  }
599 
600  protected:
601 
602  friend class boost::serialization::access;
603 
607  template<class Archive>
608  void serialize( Archive& ar, const unsigned int version )
609  {
610  ar & BOOST_SERIALIZATION_NVP( myCountryCode );
611  ar & BOOST_SERIALIZATION_NVP( myServiceCode );
612  ar & BOOST_SERIALIZATION_NVP( myPatchId );
613 
614  if ( Archive::is_loading::value && mySource )
615  {
616  *mySource = *this;
617  }
618  }
619 
620  protected:
621 
622  DtPatchIdentifier* mySource;
623 
624  };
625 
626 
628  {
630 
632  makVrv::DtVrlinkSimulatedEntityState(orig)
633  {
634  }
635 
636  protected:
637  friend class boost::serialization::access;
638 
642  template<class Archive>
643  void serialize( Archive & ar, const unsigned int version )
644  {
645  ar & BOOST_SERIALIZATION_NVP( myGlobalId );
646  ar & BOOST_SERIALIZATION_NVP( myEntityId );
647  ar & BOOST_SERIALIZATION_NVP( myMarkingText );
648  ar & BOOST_SERIALIZATION_NVP( myEntityType );
649  ar & BOOST_SERIALIZATION_NVP( myAttachedToId );
650  ar & BOOST_SERIALIZATION_NVP( myForce );
651 
652  DtSerializableVector loc( myLocation );
653  DtSerializableVector vel( myVelocity );
654  DtSerializableVector relVel( myRelativeVelocity );
655  DtSerializableVector acc( myAcceleration );
656  DtSerializableTaitBryan ori( myOrientation );
657  DtSerializableVector rotVel( myRotationalVelocity );
658 
659  ar & BOOST_SERIALIZATION_NVP( loc );
660  ar & BOOST_SERIALIZATION_NVP( vel );
661  ar & BOOST_SERIALIZATION_NVP( relVel );
662  ar & BOOST_SERIALIZATION_NVP( acc );
663  ar & BOOST_SERIALIZATION_NVP( ori );
664  ar & BOOST_SERIALIZATION_NVP( rotVel );
665 
666  ar & BOOST_SERIALIZATION_NVP( myAppearance );
667  ar & BOOST_SERIALIZATION_NVP( myCapabilities );
668 
669  ar & BOOST_SERIALIZATION_NVP( myDIGuyAppearance );
670  ar & BOOST_SERIALIZATION_NVP( myDIGuyCharacterType );
671 
672  DtSerializablePatchIdentifier primary( myDIGuyPrimaryUnitPatch );
673  DtSerializablePatchIdentifier secondary( myDIGuySecondaryUnitPatch );
674  DtSerializablePatchIdentifier rank( myDIGuyRankPatch );
675 
676  ar & BOOST_SERIALIZATION_NVP( primary );
677  ar & BOOST_SERIALIZATION_NVP( secondary );
678  ar & BOOST_SERIALIZATION_NVP( rank );
679 
680  ar & BOOST_SERIALIZATION_NVP( myDIGuyCharacterName );
681 
682  ar & BOOST_SERIALIZATION_NVP( myGuise );
683  ar & BOOST_SERIALIZATION_NVP( myDRAlgorithm );
684  }
685  };
686 
688  {
690 
693  {
694  }
695 
696  protected:
697  friend class boost::serialization::access;
698 
702  template<class Archive>
703  void serialize(Archive & ar, const unsigned int version)
704  {
705  ar & BOOST_SERIALIZATION_NVP(myGlobalId);
706  ar & BOOST_SERIALIZATION_NVP(myEntityId);
707  ar & BOOST_SERIALIZATION_NVP(myMarkingText);
708  ar & BOOST_SERIALIZATION_NVP(myEntityType);
709  ar & BOOST_SERIALIZATION_NVP(myAttachedToId);
710  ar & BOOST_SERIALIZATION_NVP(myForce);
711 
713 
714  ar & BOOST_SERIALIZATION_NVP(pts);
715 
716  ar & BOOST_SERIALIZATION_NVP(myUserData);
717  ar & BOOST_SERIALIZATION_NVP(myPenStyle);
718  ar & BOOST_SERIALIZATION_NVP(myFillStyle);
719  ar & BOOST_SERIALIZATION_NVP(myLineWidth);
720  ar & BOOST_SERIALIZATION_NVP(myColor);
721  ar & BOOST_SERIALIZATION_NVP(myLabel);
722  ar & BOOST_SERIALIZATION_NVP(myClosedFigure);
723  ar & BOOST_SERIALIZATION_NVP(myProjected);
724  ar & BOOST_SERIALIZATION_NVP(myAttributes);
725  ar & BOOST_SERIALIZATION_NVP(myOverlayParent);
726 
727  if (version >= 2)
728  {
729  ar & BOOST_SERIALIZATION_NVP(myPhysicalLineHeight);
730  ar & BOOST_SERIALIZATION_NVP(myPhysicalLineWidth);
731  }
732  }
733  };
734 }
735 
makVrv::DtDe & myDe
Definition: guiLocalObjectManager.h:372
IntersectProperties
The IntersectProperties enum is a flag set that indicates the types of nodes to be considered for int...
Definition: DtIntersector.h:31
boost::signals2::signal< void(DtVrfObjectFacadeInterface *, makVrv::DtVrlinkSimulatedBaseState *)> signal_objectCreated
Sent when a local object is created.
Definition: guiLocalObjectManager.h:332
DtTaitBryan * mySource
Definition: guiLocalObjectManager.h:531
makVrv::DtUniqueID myHitId
Definition: guiLocalObjectManager.h:444
class DtEnvironmentalFacadeCollection
Definition: environmentalFacadeCollection.h:74
const LastCheckedGroundInformation & operator=(const LastCheckedGroundInformation &orig)
Definition: guiLocalObjectManager.h:415
boost::signals2::scoped_connection myCompleteViewUpdatedConnection
Definition: guiLocalObjectManager.h:388
Virtual base class. Allows for RTTI and proper virtual destruction. Used by Creators, Factories, Providers, Assemblers and User Interfaces.
Definition: DtVirtualBaseClass.h:19
BOOST_CLASS_VERSION(makArchives::DtDiGuySettingsRecord, 3)
void serialize(Archive &ar, const unsigned int version)
When the class Archive corresponds to an output archive, the &amp; operator is defined similar to &lt;&lt;...
Definition: guiLocalObjectManager.h:476
Definition: environmentalCreationData.h:27
const double * newHeading
Definition: guiLocalObjectManager.h:233
boost::signals2::signal< void(bool)> signal_loading
Signal sent when loading the overlay file. True is before read, false after.
Definition: guiLocalObjectManager.h:338
const std::map< int, DtString > * extendedLabels
Definition: guiLocalObjectManager.h:232
boost::signals2::signal< void(makVrv::DtUniqueID)> signal_objectDeleted
Signal sent after the object has been fully removed.
Definition: guiLocalObjectManager.h:341
void operator=(const DtVector &rhs)
Definition: guiLocalObjectManager.h:463
LocalObjectUpdateStructure()
Definition: guiLocalObjectManager.h:190
void serialize(Archive &ar, const unsigned int version)
When the class Archive corresponds to an output archive, the &amp; operator is defined similar to &lt;&lt;...
Definition: guiLocalObjectManager.h:356
Definition: guiLocalObjectManager.h:501
Definition: guiLocalObjectManager.h:73
makVrv::DtIntersector::IntersectProperties myProps
Definition: guiLocalObjectManager.h:440
DtVector myIntersectionPoint
Definition: guiLocalObjectManager.h:445
Contains makVrv:DtSelectionManager class.
Contains makVrv::DtStateView class.
const float * physicalLineHeight
Definition: guiLocalObjectManager.h:238
virtual ~LastCheckedGroundInformation()
Definition: guiLocalObjectManager.h:413
LastCheckedGroundInformation(const DtVector &lp, makVrv::DtIntersector::IntersectProperties props, bool useHighestLOD, bool ignoreDynamicOcean, ClampFlag useHighestPolygon, const std::vector< makVrv::DtUniqueID > &ignore)
Definition: guiLocalObjectManager.h:401
boost::signals2::signal< void()> signal_terrainCleared
Signals for local object manager.
Definition: guiLocalObjectManager.h:345
#define DT_DLL_VRFGUICORE
Contains DLL export macros.
Definition: vrfGuiCore.h:25
bool myUseHighestLOD
Definition: guiLocalObjectManager.h:441
DtSerializableTaitBryan(DtTaitBryan &src)
Definition: guiLocalObjectManager.h:505
bool isGeocentric
Definition: guiLocalObjectManager.h:240
Definition: entityCreationData.h:27
LastCheckedGroundInformation()
Definition: guiLocalObjectManager.h:392
void serialize(Archive &ar, const unsigned int version)
When the class Archive corresponds to an output archive, the &amp; operator is defined similar to &lt;&lt;...
Definition: guiLocalObjectManager.h:518
std::map< makVrv::DtUniqueID, DtVrfObjectFacadeInterface * > LocalObjects
Collection of local Facades.
Definition: guiLocalObjectManager.h:377
Definition: guiLocalObjectManager.h:535
DtSerializablePatchIdentifier(DtPatchIdentifier &src)
Definition: guiLocalObjectManager.h:594
DtSerializableStdVector()
Definition: guiLocalObjectManager.h:538
std::vector< DtVector > points
Definition: guiLocalObjectManager.h:227
ClampFlag
Definition: guiLocalObjectManager.h:70
Contains makVrv::DtVirtualBaseClass class.
Contains makVrv:DtIntersector class.
const int * color
Definition: guiLocalObjectManager.h:235
DtSerializableVector(DtVector &src)
Definition: guiLocalObjectManager.h:457
boost::signals2::signal< void(bool)> signal_creating
Signals for local object manager.
Definition: guiLocalObjectManager.h:329
Definition: vrfObjectFacadeInterface.h:53
makVrv::DtSignalConnectionManager myConnections
Definition: guiLocalObjectManager.h:379
friend class boost::serialization::access
Definition: guiLocalObjectManager.h:556
const int * appearance
Definition: guiLocalObjectManager.h:236
Holds information about the overlays managed by the Tactical Graphic Overlay Manager.
Definition: DtTacticalGraphicOverlay.h:25
Definition: DtIntersector.h:35
const int * force
Definition: guiLocalObjectManager.h:228
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:20
bool myCanCreateLocalObjects
Definition: guiLocalObjectManager.h:384
Contains makVrv::DtVrlinkSimulatedEntityState class.
const std::string * name
Definition: guiLocalObjectManager.h:226
LocalObjectUpdateStructure(const DtVrfObjectManipulationHandlerBaseClass::ObjectManipulationData &omd)
Definition: guiLocalObjectManager.h:208
void serialize(Archive &ar, const unsigned int version)
When the class Archive corresponds to an output archive, the &amp; operator is defined similar to &lt;&lt;...
Definition: guiLocalObjectManager.h:562
std::vector< _SrcType > * mySource
Definition: guiLocalObjectManager.h:584
boost::signals2::signal< void(DtVrfObjectFacadeInterface *)> signal_objectAboutToBeDeleted
Sent when a local object is about to be deleted.
Definition: guiLocalObjectManager.h:335
DtVector * mySource
Definition: guiLocalObjectManager.h:498
DtSerializableVector()
Definition: guiLocalObjectManager.h:456
DtPatchIdentifier * mySource
Definition: guiLocalObjectManager.h:622
bool myIgnoreDynamicOcean
Definition: guiLocalObjectManager.h:442
std::vector< _Type > myValues
Definition: guiLocalObjectManager.h:585
boost::signals2::signal< void()> signal_terrainClearing
Signals for when the terrainis clearing/cleared.
Definition: guiLocalObjectManager.h:344
DtSerializableStdVector(std::vector< _SrcType > &src)
Definition: guiLocalObjectManager.h:539
Will create entity facades for each realized model set and manage them all.
Definition: entityFacadeCollection.h:67
bool operator==(const LastCheckedGroundInformation &orig) const
Definition: guiLocalObjectManager.h:429
Definition: vrfObjectManipulationHandlerBaseClass.h:492
DtSerializablePatchIdentifier()
Definition: guiLocalObjectManager.h:593
const float * physicalLineWidth
Definition: guiLocalObjectManager.h:239
DtVector myCheckPoint
Definition: guiLocalObjectManager.h:439
Base class to provide boost signal/slot management.
Definition: guiLocalObjectManager.h:452
The DtGuiLocalObjectManager is the interface to be used when creating objects that are not to be publ...
Definition: guiLocalObjectManager.h:67
Call to update state data of specified object and update it so local object will also be changed...
Definition: guiLocalObjectManager.h:188
const std::string * overlay
Definition: guiLocalObjectManager.h:229
const double * newPitch
Definition: guiLocalObjectManager.h:234
Contains makVrv::DtElementAttributes class.
LocalObjects myObjects
Definition: guiLocalObjectManager.h:378
std::map< makVrv::DtUniqueID, makVrv::DtVrlinkSimulatedBaseState * > LocalStateData
Definition: guiLocalObjectManager.h:381
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:70
Definition: guiLocalObjectManager.h:74
Definition: guiLocalObjectManager.h:589
const std::string * userData
Definition: guiLocalObjectManager.h:230
bool myIsCreating
Definition: guiLocalObjectManager.h:374
ClampFlag myUseHighestPolygon
Definition: guiLocalObjectManager.h:443
const std::map< std::string, std::string > * extendedData
Definition: guiLocalObjectManager.h:231
std::vector< DtEntityType > myIgnoreFromArchive
Definition: guiLocalObjectManager.h:386
std::set< DtUniqueID > IdSet
Definition: DtSelectionManager.h:32
LastCheckedGroundInformation myLastCheckedGroundInformation
Definition: guiLocalObjectManager.h:449
LocalStateData myData
Definition: guiLocalObjectManager.h:382
void serialize(Archive &ar, const unsigned int version)
When the class Archive corresponds to an output archive, the &amp; operator is defined similar to &lt;&lt;...
Definition: guiLocalObjectManager.h:608
DtSerializableTaitBryan()
Definition: guiLocalObjectManager.h:504
std::vector< makVrv::DtUniqueID > myIgnored
Definition: guiLocalObjectManager.h:446
const std::string * label
Definition: guiLocalObjectManager.h:237

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