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 #include <vrvCore/DtUniqueID.h>
15 
16 namespace makVrv
17 {
18  class DtDe;
19  class DtVisualizerCreationSettings;
20  class DtStateListener;
21 }
22 
23 namespace makVrf
24 {
25  struct DtSpotReportStateComponentData;
26 
28  {
29  public:
32 
34  {
35  return myUniqueId;
36  }
37 
39  virtual void setModelSet(makVrv::DtModelSetId);
41  {
42  return myModelSet;
43  }
44 
46  virtual void update(const DtSpotReportStateComponentData& s, makVrv::DtUniqueID id) = 0;
47 
50  virtual bool tick(double dT) = 0;
51 
53  virtual void destroyVisualizersByType(makVrv::DtModelSetId modelSet, int visualType) = 0;
54 
56  virtual void createVisualizersByType(makVrv::DtModelSetId modelSet, int visualType) = 0;
57 
58  virtual void setVisualizerCreationSettings(makVrv::DtVisualizerCreationSettings*);
60  {
61  return myVisualizerCreationSettings;
62  }
63 
64  virtual makVrv::DtStateListener* spotReportListener() = 0;
65  virtual const makVrv::DtStateListener* spotReportListener() const = 0;
66 
67  virtual bool isValidDataState(const DtSpotReportStateComponentData& s) const = 0;
68 
70  const DtUUID& uuid() const
71  {
72  return myUUID;
73  }
74 
75  protected:
81  };
82 
84  {
85  public:
87 
89  };
90 }
UUID is a unique ID wrapper class.
Definition: uuid.h:59
makVrv::DtUniqueID myUniqueId
Definition: externalDataVisualHandlerInterface.h:78
const DtUUID & uuid() const
The UUID of the spot report object, not the contact.
Definition: externalDataVisualHandlerInterface.h:70
#define DT_DLL_VRFGUICORE
Contains DLL export macros.
Definition: vrfGuiCore.h:25
makVrv::DtVisualizerCreationSettings * visualizerCreaationSettings() const
Definition: externalDataVisualHandlerInterface.h:59
makVrv::DtModelSetId myModelSet
Definition: externalDataVisualHandlerInterface.h:80
makVrv::DtUniqueID uniqueID() const
Definition: externalDataVisualHandlerInterface.h:33
makVrv::DtDe & myDe
Definition: externalDataVisualHandlerInterface.h:77
0) Define the State Component Data. This struct replaces the legion stuff
Definition: spotReportStateComponent.h:25
unsigned long long DtUniqueID
Definition: DtUniqueID.h:19
Definition: externalDataVisualHandlerInterface.h:27
DtUUID myUUID
Definition: externalDataVisualHandlerInterface.h:76
makVrv::DtModelSetId modelSet() const
Definition: externalDataVisualHandlerInterface.h:40
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:76
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:83
makVrv::DtVisualizerCreationSettings * myVisualizerCreationSettings
Definition: externalDataVisualHandlerInterface.h:79
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 Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)