VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
vrfVertexManipulationHandler.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2014 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
8 
10 
11 #pragma once
12 
13 #include <vrfGuiCore/vrfGuiCore.h>
22 #include <vlutil/vlExceptions.h>
24 
25 #include <vrvCore/DtUniqueID.h>
26 
27 #include <vrvCore/DtSimData.h>
28 
29 #include <vlpi/entityType.h>
30 
31 #include <matrix/vlVector.h>
32 
33 namespace makVrv
34 {
35  class DtSimEntry;
36  class DtAgentManagerInterface;
37  class DtChannel;
38  struct DtVrlinkSimulatedBaseState;
39  struct DtVrlinkSimulatedEntityState;
40 };
41 
42 namespace makVrf
43 {
45  template <typename _Handler>
47  {
48  public:
50 
52 
53  public:
55  virtual void editSelectedObjects( const makVrv::DtUniqueID& editId,
56  makVrv::DtChannel& initiatingChannel, double waitTimeAfterComplete = 0.,
58 
59  virtual HandlerType type() const { return Vertex; };
60 
61  protected:
62  virtual void editSelectedVertex( const makVrv::DtUniqueID& vertexId,
63  const DtVector& vertexPos, makVrv::DtChannel& initiatingChannel );
64 
65  virtual void slot_onStateViewUpdated( DtVrlinkSimulatedBaseStateView* editStateView,
66  makVrv::DtUniqueID sceneObjectId, double vx, double vy, double vz );
67 
68  virtual void slot_onLocationChanged( const DtVector& location, double altAboveGround );
69 
70  virtual void setLocation( const DtVector& loc );
71 
73  virtual DtVector vertexPosition(DtEnvironmentalFacadeCollection* iFace, int index) const;
74 
76  virtual bool anchorPositionIsMouse() const;
77 
79  virtual void initializeEventProcessor();
80  };
81 
84  {
85  public:
88  {
89  }
90 
92  {
93  };
94  };
95 
97 
100  {
101  public:
104  {
105  }
106 
108  {
109  };
110  };
111 
113 
116  {
117  public:
120  {
121  }
122 
124  {
125  };
126  };
127 
129 
132  {
133  public:
136  {
137  }
138 
140  {
141  };
142  };
143 
145  {
146  public:
149  {
150  }
151 
153  {
154  };
155  };
156 
158  {
159  public:
162  {
163  }
164 
166  {
167  };
168  };
169 
170 
172  {
173  public:
176  {
177  }
178 
180  {
181  };
182 
183  };
184 
186  {
187  public:
190  {
191  }
192 
194  {
195  };
196 
197  };
198 
204 
205 
206 }
207 
208 #include <vrfGuiCore/vrfVertexManipulationHandler.inl>
DtVrfWeatherVertexAreaManipulationHandler(makVrv::DtDe &de)
Definition: vrfVertexManipulationHandler.h:147
virtual void slot_onStateViewUpdated(DtVrlinkSimulatedBaseStateView *editStateView, makVrv::DtUniqueID sceneObjectId, double vx, double vy, double vz)
DtVrfCircleVertexManipulationHandler(makVrv::DtDe &de)
Definition: vrfVertexManipulationHandler.h:102
The handler for creating and manipulating circles/ellipses.
Definition: vrfCircleManipulationHandler.h:25
DtVrfWeatherVertexBoxManipulationHandler(makVrv::DtDe &de)
Definition: vrfVertexManipulationHandler.h:134
virtual ~DtVrfWeatherVertexAreaManipulationHandler()
Definition: vrfVertexManipulationHandler.h:152
class DtEnvironmentalFacadeCollection
Definition: environmentalFacadeCollection.h:77
virtual ~DtVrfWeatherVertexCircleManipulationHandler()
Definition: vrfVertexManipulationHandler.h:165
Circle vertex manipulation class.
Definition: vrfVertexManipulationHandler.h:99
DtVrfWeatherVertexCircleManipulationHandler(makVrv::DtDe &de)
Definition: vrfVertexManipulationHandler.h:160
DtVrfObjectManipulationHandlerCreator< DtVrfWeatherVertexAreaManipulationHandler > DtVrfWeatherVertexAreaManipulationHandlerCreator
Definition: vrfVertexManipulationHandler.h:200
DtVrfObjectManipulationHandlerCreator< DtVrfWeatherVertexBoxManipulationHandler > DtVrfWeatherVertexBoxManipulationHandlerCreator
Definition: vrfVertexManipulationHandler.h:199
Shape vertex manipulation class.
Definition: vrfVertexManipulationHandler.h:83
Definition: vrfVertexManipulationHandler.h:144
Definition: vrfObjectManipulationHandlerBaseClass.h:62
virtual void setLocation(const DtVector &loc)
For circle/ellipse....
Definition: vrfWeatherManipulationHandler.h:95
Contains makVrv::DtSimData class.
The Master Scenario Settings Dialog.
Definition: vrfShapeManipulationHandler.h:31
virtual ~DtVrfShapeVertexManipulationHandler()
Definition: vrfVertexManipulationHandler.h:91
virtual ~DtVrfAirTurbulenceVertexManipulationHandler()
Definition: vrfVertexManipulationHandler.h:193
Weather vertex manipulation class.
Definition: vrfVertexManipulationHandler.h:131
DtVrfWindCorridorVertexManipulationHandler(makVrv::DtDe &de)
Definition: vrfVertexManipulationHandler.h:174
DtVrfObjectManipulationHandlerCreator< DtVrfShapeVertexManipulationHandler > DtVrfShapeVertexManipulationHandlerCreator
Definition: vrfVertexManipulationHandler.h:96
#define DT_DLL_VRFGUICORE
Contains DLL export macros.
Definition: vrfGuiCore.h:25
Definition: vrfVertexManipulationHandler.h:185
virtual void initializeEventProcessor()
Disallow embarkation of individual vertices.
Template class that defines vertex manipulation handlers.
Definition: vrfVertexManipulationHandler.h:46
DtVrfObjectManipulationHandlerCreator< DtVrfBoxVertexManipulationHandler > DtVrfBoxVertexManipulationHandlerCreator
Definition: vrfVertexManipulationHandler.h:128
DtVrfBoxVertexManipulationHandler(makVrv::DtDe &de)
Definition: vrfVertexManipulationHandler.h:118
The abstract Channel Class.
Definition: DtChannel.h:35
virtual ~DtVrfWeatherVertexBoxManipulationHandler()
Definition: vrfVertexManipulationHandler.h:139
DtVrfObjectManipulationHandlerCreator< DtVrfWeatherVertexCircleManipulationHandler > DtVrfWeatherVertexCircleManipulationHandlerCreator
Definition: vrfVertexManipulationHandler.h:201
virtual ~DtVrfCircleVertexManipulationHandler()
Definition: vrfVertexManipulationHandler.h:107
Definition: vrfVertexManipulationHandler.h:157
DtVrfShapeVertexManipulationHandler(makVrv::DtDe &de)
Definition: vrfVertexManipulationHandler.h:86
DtVrfAirTurbulenceVertexManipulationHandler(makVrv::DtDe &de)
Definition: vrfVertexManipulationHandler.h:188
For area....
Definition: vrfWeatherManipulationHandler.h:58
HandlerType
The type of handler this is.
Definition: vrfObjectManipulationHandlerBaseClass.h:52
unsigned long long DtUniqueID
Definition: DtUniqueID.h:19
Definition: vrfVertexManipulationHandler.h:171
The handler for creating weather objects.
Definition: vrfWeatherManipulationHandler.h:21
Box vertex manipulation class.
Definition: vrfVertexManipulationHandler.h:115
DtVrfVertexManipulationHandler(makVrv::DtDe &de)
virtual void slot_onLocationChanged(const DtVector &location, double altAboveGround)
DtVrfObjectManipulationHandlerCreator< DtVrfCircleVertexManipulationHandler > DtVrfCircleVertexManipulationHandlerCreator
Definition: vrfVertexManipulationHandler.h:112
virtual void editSelectedObjects(const makVrv::DtUniqueID &editId, makVrv::DtChannel &initiatingChannel, double waitTimeAfterComplete=0., const makVrv::DtSelectionManager::IdSet &editing=makVrv::DtSelectionManager::IdSet())
Starts the process of object creation.
virtual ~DtVrfWindCorridorVertexManipulationHandler()
Definition: vrfVertexManipulationHandler.h:179
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
virtual bool anchorPositionIsMouse() const
Return false – when editing a vertex the default position is not the mouse.
The handler for creating weather objects.
Definition: vrfAirTurbulenceManipulationHandler.h:19
virtual void editSelectedVertex(const makVrv::DtUniqueID &vertexId, const DtVector &vertexPos, makVrv::DtChannel &initiatingChannel)
Definition: vrfObjectManipulationHandlerBaseClass.h:847
DtVrfObjectManipulationHandlerCreator< DtVrfWindCorridorVertexManipulationHandler > DtVrfWindCorridorVertexManipulationHandlerCreator
Definition: vrfVertexManipulationHandler.h:202
virtual HandlerType type() const
Definition: vrfVertexManipulationHandler.h:59
DtVrfObjectManipulationHandlerCreator< DtVrfAirTurbulenceVertexManipulationHandler > DtVrfAirTurbulenceVertexManipulationHandlerCreator
Definition: vrfVertexManipulationHandler.h:203
The handler for creating and manipulating circles/ellipses.
Definition: vrfBoxManipulationHandler.h:30
std::set< DtUniqueID > IdSet
Definition: DtSelectionManager.h:32
virtual ~DtVrfBoxVertexManipulationHandler()
Definition: vrfVertexManipulationHandler.h:123
virtual DtVector vertexPosition(DtEnvironmentalFacadeCollection *iFace, int index) const
Return the vertex position at the specified index.
The handler for creating weather objects.
Definition: vrfWindCorridorManipulationHandler.h:19

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)