VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
externalDataVisualHandlerInterface.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2017 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrfGuiCore/vrfGuiCore.h>
14 
15 #include <vrvCore/DtUniqueID.h>
16 
17 namespace makVrv
18 {
19  class DtDe;
20  class DtVisualizerCreationSettings;
21  class DtStateListener;
22 }
23 
24 namespace makVrf
25 {
27  {
28  public:
31 
33  {
34  return myUniqueId;
35  }
36 
38  virtual void setModelSet(makVrv::DtModelSetId);
40  {
41  return myModelSet;
42  }
43 
45  virtual void update(const DtExternalDataState& s, makVrv::DtUniqueID id) = 0;
46 
48  virtual const DtSpotReportState& state() const = 0;
49 
52  virtual bool tick(double dT) = 0;
53 
55  virtual void destroyVisualizersByType(makVrv::DtModelSetId modelSet, int visualType) = 0;
56 
58  virtual void createVisualizersByType(makVrv::DtModelSetId modelSet, int visualType) = 0;
59 
60  virtual void setVisualizerCreationSettings(makVrv::DtVisualizerCreationSettings*);
62  {
63  return myVisualizerCreationSettings;
64  }
65 
66  virtual makVrv::DtStateListener* spotReportListener() = 0;
67  virtual const makVrv::DtStateListener* spotReportListener() const = 0;
68 
69  virtual bool isValidDataState(const DtExternalDataState& s) const = 0;
70 
71  protected:
76  };
77 
79  {
80  public:
82 
84  };
85 }
makVrv::DtUniqueID myUniqueId
Definition: externalDataVisualHandlerInterface.h:73
General dictionary of values that state can subclass from to hold information that is considered &quot;ext...
Definition: externalDataState.h:25
#define DT_DLL_VRFGUICORE
Contains DLL export macros.
Definition: vrfGuiCore.h:25
makVrv::DtVisualizerCreationSettings * visualizerCreaationSettings() const
Definition: externalDataVisualHandlerInterface.h:61
makVrv::DtModelSetId myModelSet
Definition: externalDataVisualHandlerInterface.h:75
makVrv::DtUniqueID uniqueID() const
Definition: externalDataVisualHandlerInterface.h:32
makVrv::DtDe & myDe
Definition: externalDataVisualHandlerInterface.h:72
unsigned long long DtUniqueID
Definition: DtUniqueID.h:19
Definition: externalDataVisualHandlerInterface.h:26
Definition: spotReportState.h:42
makVrv::DtModelSetId modelSet() const
Definition: externalDataVisualHandlerInterface.h:39
Contains makVrv::DtUniqueID type.
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:72
DtModelSetId
Definition: DtModelSetEnums.h:19
The DtStateListener is an abstract class. Subclasses implement functionality that will allow data to ...
Definition: DtStateListener.h:26
Definition: externalDataVisualHandlerInterface.h:78
makVrv::DtVisualizerCreationSettings * myVisualizerCreationSettings
Definition: externalDataVisualHandlerInterface.h:74
Container class which indicates which visualizers need to be created for each modelSet, based on whether that visualizer visualizes something that is currently enabled and if the visualizer is create-on-demand vs. create-always. Visualizers with visual types not in the map are treated as needing to be created (hence the map only suppresses creation of unneeded visualizers). Once these settings have been initialized connestToSettingsSignals() should be called so that these settings are kept up to date with the settings in the GUI.
Definition: DtVisualizerCreationSettings.h:33

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)