VR-Forces 5.0.1 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>
23 #include <vlutil/vlExceptions.h>
25 
26 #include <vrvCore/DtUniqueID.h>
27 
28 #include <vrvCore/DtSimData.h>
29 
30 #include <vlpi/entityType.h>
31 
32 #include <matrix/vlVector.h>
33 
34 namespace makVrv
35 {
36  class DtSimEntry;
37  class DtAgentManagerInterface;
38  class DtChannel;
39  struct DtVrlinkSimulatedBaseState;
40  struct DtVrlinkSimulatedEntityState;
41 };
42 
43 namespace makVrf
44 {
46  template <typename _Handler>
48  {
49  public:
51 
53 
54  public:
56  virtual void editSelectedObjects( const makVrv::DtUniqueID& editId,
57  makVrv::DtChannel& initiatingChannel, double waitTimeAfterComplete = 0.,
59 
60  virtual HandlerType type() const { return Vertex; };
61 
62  protected:
63  virtual void editSelectedVertex( const makVrv::DtUniqueID& vertexId,
64  const DtVector& vertexPos, makVrv::DtChannel& initiatingChannel );
65 
66  virtual void slot_onStateViewUpdated( DtVrlinkSimulatedBaseStateView* editStateView,
67  makVrv::DtUniqueID sceneObjectId, double vx, double vy, double vz );
68 
69  virtual void slot_onLocationChanged( const DtVector& location, double altAboveGround );
70 
71  virtual void setLocation( const DtVector& loc );
72 
74  virtual DtVector vertexPosition(DtEnvironmentalFacadeCollection* iFace, int index) const;
75 
77  virtual bool anchorPositionIsMouse() const;
78 
80  virtual void initializeEventProcessor();
81  };
82 
85  {
86  public:
89  {
90  }
91 
93  {
94  };
95  };
96 
98 
101  {
102  public:
105  {
106  }
107 
109  {
110  };
111  };
112 
114 
117  {
118  public:
121  {
122  }
123 
125  {
126  };
127  };
128 
130 
133  {
134  public:
137  {
138  }
139 
141  {
142  };
143  };
144 
147  {
148  public:
151  {
152  }
153 
155  {
156  };
157  };
158 
160  {
161  public:
164  {
165  }
166 
168  {
169  };
170  };
171 
173  {
174  public:
177  {
178  }
179 
181  {
182  };
183  };
184 
185 
187  {
188  public:
191  {
192  }
193 
195  {
196  };
197 
198  };
199 
201  {
202  public:
205  {
206  }
207 
209  {
210  };
211 
212  };
213 
220 
221 
222 }
223 
224 #include <vrfGuiCore/vrfVertexManipulationHandler.inl>
DtVrfWeatherVertexAreaManipulationHandler(makVrv::DtDe &de)
Definition: vrfVertexManipulationHandler.h:162
virtual void slot_onStateViewUpdated(DtVrlinkSimulatedBaseStateView *editStateView, makVrv::DtUniqueID sceneObjectId, double vx, double vy, double vz)
DtVrfCircleVertexManipulationHandler(makVrv::DtDe &de)
Definition: vrfVertexManipulationHandler.h:103
DtVrfObjectManipulationHandlerCreator< DtVrfCloudLayerVertexBoxManipulationHandler > DtVrfCloudLayerVertexBoxManipulationHandlerCreator
Definition: vrfVertexManipulationHandler.h:217
The handler for creating and manipulating circles/ellipses.
Definition: vrfCircleManipulationHandler.h:25
DtVrfWeatherVertexBoxManipulationHandler(makVrv::DtDe &de)
Definition: vrfVertexManipulationHandler.h:135
virtual ~DtVrfWeatherVertexAreaManipulationHandler()
Definition: vrfVertexManipulationHandler.h:167
class DtEnvironmentalFacadeCollection
Definition: environmentalFacadeCollection.h:74
virtual ~DtVrfWeatherVertexCircleManipulationHandler()
Definition: vrfVertexManipulationHandler.h:180
Circle vertex manipulation class.
Definition: vrfVertexManipulationHandler.h:100
DtVrfWeatherVertexCircleManipulationHandler(makVrv::DtDe &de)
Definition: vrfVertexManipulationHandler.h:175
DtVrfObjectManipulationHandlerCreator< DtVrfWeatherVertexAreaManipulationHandler > DtVrfWeatherVertexAreaManipulationHandlerCreator
Definition: vrfVertexManipulationHandler.h:215
DtVrfObjectManipulationHandlerCreator< DtVrfWeatherVertexBoxManipulationHandler > DtVrfWeatherVertexBoxManipulationHandlerCreator
Definition: vrfVertexManipulationHandler.h:214
Shape vertex manipulation class.
Definition: vrfVertexManipulationHandler.h:84
Definition: vrfVertexManipulationHandler.h:159
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
The handler for creating weather objects.
Definition: vrfCloudLayerManipulationHandler.h:24
virtual ~DtVrfShapeVertexManipulationHandler()
Definition: vrfVertexManipulationHandler.h:92
virtual ~DtVrfAirTurbulenceVertexManipulationHandler()
Definition: vrfVertexManipulationHandler.h:208
Weather vertex manipulation class.
Definition: vrfVertexManipulationHandler.h:146
Weather vertex manipulation class.
Definition: vrfVertexManipulationHandler.h:132
DtVrfCloudLayerVertexBoxManipulationHandler(makVrv::DtDe &de)
Definition: vrfVertexManipulationHandler.h:149
DtVrfWindCorridorVertexManipulationHandler(makVrv::DtDe &de)
Definition: vrfVertexManipulationHandler.h:189
DtVrfObjectManipulationHandlerCreator< DtVrfShapeVertexManipulationHandler > DtVrfShapeVertexManipulationHandlerCreator
Definition: vrfVertexManipulationHandler.h:97
#define DT_DLL_VRFGUICORE
Contains DLL export macros.
Definition: vrfGuiCore.h:25
Definition: vrfVertexManipulationHandler.h:200
virtual void initializeEventProcessor()
Disallow embarkation of individual vertices.
Template class that defines vertex manipulation handlers.
Definition: vrfVertexManipulationHandler.h:47
DtVrfObjectManipulationHandlerCreator< DtVrfBoxVertexManipulationHandler > DtVrfBoxVertexManipulationHandlerCreator
Definition: vrfVertexManipulationHandler.h:129
DtVrfBoxVertexManipulationHandler(makVrv::DtDe &de)
Definition: vrfVertexManipulationHandler.h:119
The abstract Channel Class.
Definition: DtChannel.h:35
virtual ~DtVrfWeatherVertexBoxManipulationHandler()
Definition: vrfVertexManipulationHandler.h:140
DtVrfObjectManipulationHandlerCreator< DtVrfWeatherVertexCircleManipulationHandler > DtVrfWeatherVertexCircleManipulationHandlerCreator
Definition: vrfVertexManipulationHandler.h:216
virtual ~DtVrfCircleVertexManipulationHandler()
Definition: vrfVertexManipulationHandler.h:108
Definition: vrfVertexManipulationHandler.h:172
DtVrfShapeVertexManipulationHandler(makVrv::DtDe &de)
Definition: vrfVertexManipulationHandler.h:87
virtual ~DtVrfCloudLayerVertexBoxManipulationHandler()
Definition: vrfVertexManipulationHandler.h:154
DtVrfAirTurbulenceVertexManipulationHandler(makVrv::DtDe &de)
Definition: vrfVertexManipulationHandler.h:203
For area....
Definition: vrfWeatherManipulationHandler.h:58
HandlerType
The type of handler this is.
Definition: vrfObjectManipulationHandlerBaseClass.h:52
Definition: vrfVertexManipulationHandler.h:186
The handler for creating weather objects.
Definition: vrfWeatherManipulationHandler.h:21
Box vertex manipulation class.
Definition: vrfVertexManipulationHandler.h:116
DtVrfVertexManipulationHandler(makVrv::DtDe &de)
virtual void slot_onLocationChanged(const DtVector &location, double altAboveGround)
DtVrfObjectManipulationHandlerCreator< DtVrfCircleVertexManipulationHandler > DtVrfCircleVertexManipulationHandlerCreator
Definition: vrfVertexManipulationHandler.h:113
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:194
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:70
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:834
DtVrfObjectManipulationHandlerCreator< DtVrfWindCorridorVertexManipulationHandler > DtVrfWindCorridorVertexManipulationHandlerCreator
Definition: vrfVertexManipulationHandler.h:218
virtual HandlerType type() const
Definition: vrfVertexManipulationHandler.h:60
DtVrfObjectManipulationHandlerCreator< DtVrfAirTurbulenceVertexManipulationHandler > DtVrfAirTurbulenceVertexManipulationHandlerCreator
Definition: vrfVertexManipulationHandler.h:219
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:124
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 Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)