VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtExampleSymbolDriver1.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * Copyright (c) 2023 MAK Technologies, Inc.
3  * All rights reserved.
4  *****************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <exampleSymbolFacade1.h>
13 
14 #include <vrvCore/DtDriver.h>
15 
17 
18 #include <unordered_set>
19 
20 #include <matrix/vlVector.h>
21 
22 namespace makVrv
23 {
24 
25  namespace exampleSymbolFacade1
26  {
27 
28  class DtSymbolFacade;
29 
35  : public makVrv::DtDriver
36  {
37  public:
38 
41 
43  virtual ~DtExampleSymbolDriver();
44 
45 
48 
51  virtual const std::string& className() const;
52 
55  virtual bool onStart();
56 
59  virtual bool onStop();
60 
63  virtual bool onTick();
64 
66 
67 
70 
74  virtual DtSymbolFacade* createSymbol( const std::string& name,
75  const DtVector& pos );
76 
80  virtual DtSymbolFacade* findSymbol( makVrv::DtElementID id );
81 
83 
84  protected:
85 
89  virtual void positionSymbol( DtSymbolFacade* symbol, const DtVector& pos );
90 
93  virtual void slot_displayEngineAdded( const makVrv::DtDeRecord& igRecord );
94 
95  protected:
96 
98  typedef std::unordered_map<makVrv::DtElementID,DtSymbolFacade*> SymbolFacadeMap;
99 
102 
103  };
104 
105  }
106 }
Provides an interface for creating and managing symbol facades. Loads the Makland terrain and creates...
Definition: DtExampleSymbolDriver1.h:34
std::unordered_map< makVrv::DtElementID, DtSymbolFacade * > SymbolFacadeMap
Type for mapping element ids to symbol facades.
Definition: DtExampleSymbolDriver1.h:98
Encapsulates the creation/management of agents used to display a symbol. The Facade design pattern pr...
Definition: DtSymbolFacade1.h:41
A Record of an IG instance.
Definition: DtDeRecord.h:24
Contains makVrv:DtSelectionManager class.
#define DT_DLL_EXAMPLESYMBOLFACADE1
Definition: exampleSymbolFacade1.h:20
DtUniqueID DtElementID
The ElementID is a specific type of unique ID used to represent VR-Vantage uniquely defined elements...
Definition: DtUniqueID.h:23
Export macro and initialization declarations for exampleSymbolFacade1.
The DtDriver is an abstract class. Developers derive from this to create logic that &quot;directs&quot; things ...
Definition: DtDriver.h:30
SymbolFacadeMap mySymbolFacades
Map of symbol facades created by the driver (indexed by element id).
Definition: DtExampleSymbolDriver1.h:101
The DtAgentManager manages the distributed scene object framework. This includes the objects and upda...
Definition: DtAgentManager.h:38
Contains makVrv:DtDriver class.

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)