VR-Forces 4.5 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtExampleTrackHistoryDriver.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * Copyright (c) 2012 MAK Technologies, Inc.
3  * All rights reserved.
4  *****************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvCore/DtDriver.h>
14 
15 #include <boost/unordered_map.hpp>
16 
17 #include <matrix/vlTaitBryan.h>
18 #include <matrix/vlVector.h>
19 
20 namespace makVrv
21 {
22  class DtEntityFacade;
23  class DtSceneObjectAgent;
24  class DtRibbonModelAgent;
25  class DtTrackHistoryUpdaterAgent;
26 }
27 
31 {
32 public:
33 
36 
39 
42 
45  virtual const std::string& className() const;
46 
49  virtual bool onStart();
50 
53  virtual bool onStop();
54 
57  virtual bool onTick();
58 
61  virtual void slot_displayEngineAdded( const makVrv::DtDeRecord& igRecord );
62 
64 
67  virtual void slot_settingsChanged();
68 
69 protected:
70 
72  void createEntityTrackHistories( makVrv::DtEntityFacade* entityFacade, bool distribute );
73 
75  void createEntityTrackHistory( int modelSet, int visualType,
76  makVrv::DtSceneObjectAgent* sceneObjectAgent, bool distribute );
77 
81  const makVrv::DtModelSetRealizationManager::ModelSetRealizations& modelSets, bool distribute );
82 
84  virtual void updatePosition();
85 
87  virtual void repositionAircraft( DtVector position, DtTaitBryan ori );
88 
89 protected:
90 
92  {
93  makVrv::DtSceneObjectAgent* mySceneObject;
94  makVrv::DtRibbonModelAgent* myTrackHistory;
95  makVrv::DtTrackHistoryUpdaterAgent* myUpdater;
96  };
97 
98 protected:
99 
101  typedef std::vector<TrackHistoryInfo> TrackHistoriesVector;
102 
104 
106 
108 
111  double myClockAngle;
112  double myRadius;
113  double myRoll;
114 
115 };

Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (www.mak.com)