VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
vrfSpotReportElement.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2021 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrfGuiCore/vrfGuiCore.h>
15 
19 #include <vrvCore/DtElementEntry.h>
20 #include <vrvCore/DtElement.h>
21 
22 namespace makVrv
23 {
24  class DtVisualizerCreationSettings;
25  class DtStateListener;
26  class DtSceneObjectAgent;
27  class DtKinematicState;
28 }
29 
30 namespace makVrf
31 {
32  class DtVrfSpotReportVisualizerSet;
33  class DtVrfSpotReportsSettingsRecord;
34 
36  {
37  public:
39  virtual ~DtVrfSpotReportElement();
40 
41  public:
42  virtual void setModelSetEnabled( makVrv::DtModelSetId modelSet, bool enabled ) override;
43 
45  virtual void setPickable(bool b);
46 
48  virtual void setCertaintyLevel(int);
49 
51  virtual const makVrv::DtElementEntry::ElementType elementType() const override;
52  static const makVrv::DtElementEntry::ElementType theElementType();
53 
54  virtual void visualize(makVrv::DtModelSetId modelSet = makVrv::DtModelSetId::Unspecified);
56  {
59  makVrv::DtSceneObjectAgent* sceneObject;
60  };
61 
62  typedef std::map<makVrv::DtModelSetId, SpotReportVisuals*> SpotReportModelSetMap;
63 
65  {
66  return mySpotReportModelSetMap;
67  }
68 
69  virtual void setVisualizerCreationSettings(makVrv::DtVisualizerCreationSettings* s);
70 
72  virtual void destroyVisualizersByType(makVrv::DtModelSetId modelSet, int visualType);
73 
75  virtual void createVisualizersByType(makVrv::DtModelSetId modelSet, int visualType);
76 
77  protected:
78  virtual makVrv::DtKinematicState* createKinState() const;
79 
80  virtual void slot_objectVisibilityChanged( makVrv::DtUniqueID id, bool isShown, int context );
81 
84  virtual void slot_spotReportChanged(const DtSpotReportState& s);
85 
88  virtual void slot_spotReportOptionsChanged(const DtVrfSpotReportsSettingsRecord&);
89 
91  virtual makVrv::DtUnicode chooseModelDefinition(
92  const std::vector<makVrv::DtUnicode>& definitions);
93 
94  virtual bool isUnknown(const std::vector<makVrv::DtUnicode>& definitions) const;
95  virtual bool isUnknown(const makVrv::DtUnicode& definition) const;
96 
97  virtual void updateVisibilityBasedOnSettings();
98 
99  virtual void slot_objectVisibilityChanged(makVrv::DtUniqueID id, bool);
100 
101  protected:
102 
104 
109 
112 
114 
117  };
118 
120 }
Contains makVrv::DtvrfSpotReportDataHandler class. Translates from VRF DtSpotReport data type to DtSp...
Definition: vrfSpotReportElement.h:55
A unicode string. DtUnicode stores a UTF-16 encoded unicode string. Code Point, a Unicode character...
Definition: DtUnicode.h:33
bool myPickable
Definition: vrfSpotReportElement.h:111
makVrv::DtSignalConnectionManager myVisualUpdateConnections
Definition: vrfSpotReportElement.h:105
makVrv::DtSceneObjectAgent * sceneObject
Definition: vrfSpotReportElement.h:59
Definition: vrfSpotReportVisualizerSet.h:31
The Master Scenario Settings Dialog.
Definition: vrfSpotReportsSettingsRecord.h:33
Contains makVrv::DtSpotReportListener class. Creates a simple listener that will hold onto and emit s...
#define DT_DLL_VRFGUICORE
Contains DLL export macros.
Definition: vrfGuiCore.h:25
makVrv::DtVisualizerCreationSettings * myVisualizerCreationSettings
Definition: vrfSpotReportElement.h:106
Definition: DtElement.h:277
The DtElement class implements the common behavior of simulation based elements added to the scene...
Definition: DtElement.h:44
makVrv::DtSignalConnectionManager myConnections
Definition: vrfSpotReportElement.h:113
The DtBaseConnection is an abstract class.
Definition: DtBaseConnection.h:35
makVrv::DtStateListener & myListener
Definition: vrfSpotReportElement.h:107
Contains makVrv::DtVirtualBaseClass class.
std::map< makVrv::DtModelSetId, SpotReportVisuals * > SpotReportModelSetMap
Definition: vrfSpotReportElement.h:62
makVrv::DtKinematicState * myKinematicState
Definition: vrfSpotReportElement.h:116
Base class for Kinematic State Objects e.g. DtEntityKinematicState Controls kinematic state of a scen...
Definition: DtKinematicState.h:54
makVrv::DtModelSetId myModelSet
Definition: vrfSpotReportElement.h:110
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:20
Contains makVrv::DtElement class.
ElementType
Definition: DtElementEntry.h:26
unsigned long long DtUniqueID
Definition: DtUniqueID.h:19
Contains makVrv:DtBaseConnection class.
Definition: vrfSpotReportElement.h:35
Base class to provide boost signal/slot management.
Definition: spotReportState.h:42
SpotReportModelSetMap mySpotReportModelSetMap
Definition: vrfSpotReportElement.h:103
makVrv::DtModelSetId modelSet
Definition: vrfSpotReportElement.h:57
DtVrfSpotReportVisualizerSet * visualizerSet
Definition: vrfSpotReportElement.h:58
const SpotReportModelSetMap & spotReportModelSetMap() const
Definition: vrfSpotReportElement.h:64
DtSpotReportState mySpotReportState
Definition: vrfSpotReportElement.h:108
DtModelSetId
Definition: DtModelSetEnums.h:19
The DtStateListener is an abstract class. Subclasses implement functionality that will allow data to ...
Definition: DtStateListener.h:26
makVrv::DtUnicode mySpotReportDefinition
Definition: vrfSpotReportElement.h:115
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
Contains makVrv::DtElementEntry class.

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)