VR-Forces 4.2 Class Documentation
DtExampleTacticalGraphicsDriver.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 
13 
14 #include <vrvCore/DtDriver.h>
15 #include <vrvCore/DtTacticalGraphicOverlayManager.h>
16 
17 class DtVector;
18 
19 namespace makVrv
20 {
21  class DtLineFacadeInterface;
22  class DtAreaFacadeInterface;
23  class DtEntity2dFacade;
24  class DtTacticalGraphicOverlay;
25 
26  namespace exampleTacticalGraphics
27  {
32  : public makVrv::DtDriver
33  {
34  public:
35 
37  DtExampleTacticalGraphicsDriver( makVrv::DtAgentManager& am );
38 
41 
42 
45 
48  virtual const std::string& className() const;
49 
52  virtual bool onStart();
53 
56  virtual bool onStop();
57 
60  virtual bool onTick();
61 
63 
64 
72  virtual void createLineFacades();
73 
75  virtual void createOverlays();
76 
80  virtual void registerTacticalGraphic( const std::string& name,
81  DtLineFacadeInterface* lineFacade);
82  virtual void registerTacticalGraphic( const std::string& name,
83  DtAreaFacadeInterface* areaFacade);
84  virtual void registerTacticalGraphic( const std::string& name,
85  DtEntity2dFacade* sym2525bFacade);
86 
88 
90  virtual void slot_tacticalGraphicVisibilityChanged(
91  const DtUniqueID& id, bool flag );
92 
93 
96  virtual DtLineFacadeInterface* createSimpleLineFacade(int modelSet, std::vector<DtVector> pointVector);
97 
99  virtual DtLineFacadeInterface* createAirAxisLine(int modelSet, std::vector<DtVector> pointVector);
100 
102  virtual DtLineFacadeInterface* createLineWithArrow(int modelSet, std::vector<DtVector> pointVector);
103 
106  virtual DtLineFacadeInterface* createFortifiedLine(int modelSet, std::vector<DtVector> pointVector);
107 
110  virtual void createAreaFacades();
111 
113  virtual DtAreaFacadeInterface* createSimpleAreaFacade(int modelSet, std::vector<DtVector> pointVector);
114 
117  virtual DtAreaFacadeInterface* createFortifiedArea(int modelSet, std::vector<DtVector> pointVector);
118 
120  virtual DtAreaFacadeInterface* createPatternFilledArea(int modelSet, std::vector<DtVector> pointVector);
121 
123 
124  protected:
127  virtual void slot_displayEngineAdded( const makVrv::DtDeRecord& igRecord );
128 
129  protected:
133 
135  std::vector<DtLineFacadeInterface*> myLineFacades;
136 
138  std::vector<DtAreaFacadeInterface*> myAreaFacades;
139 
140  std::vector<DtEntity2dFacade*> my2525bFacades;
141  };
142  }
143 }

Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)