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>
23 
24 #include <vrvCore/DtUniqueID.h>
25 
26 #include <vlpi/entityType.h>
27 
28 #include <matrix/vlVector.h>
29 
30 namespace makVrv
31 {
32  ;
33  class DtAgentManagerInterface;
34  class DtChannel;
35 };
36 
37 namespace makVrf
38 {
40  template <typename _Handler>
42  {
43  public:
45 
47 
48  public:
50  virtual void editSelectedObjects( const makVrv::DtUniqueID& editId,
51  makVrv::DtChannel& initiatingChannel, double waitTimeAfterComplete = 0.,
53 
54  virtual HandlerType type() const { return Vertex; };
55 
60  virtual DtVector localLocation() override;
61 
62  protected:
63  virtual void editSelectedVertex( const makVrv::DtUniqueID& vertexId,
64  const DtVector& vertexPos, makVrv::DtChannel& initiatingChannel );
65 
66  virtual void slot_onStateViewUpdated(DtSimObjectReference 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 
97 
100  {
101  public:
104  {
105  }
106 
108  };
109  };
110 
112 
115  {
116  public:
119  {
120  }
121 
123  };
124  };
125 
127 
130  {
131  public:
134  {
135  }
136 
138  };
139  };
140 
142  {
143  public:
146  {
147  }
148 
150  };
151  };
152 
154  {
155  public:
158  {
159  }
160 
162  };
163  };
164 
165 
167  {
168  public:
171  {
172  }
173 
175  };
176 
177  };
178 
180  {
181  public:
184  {
185  }
186 
188  };
189 
190  };
191 
197 
198 
199 }
200 
201 #include <vrfGuiCore/vrfVertexManipulationHandler.inl>
DtVrfWeatherVertexAreaManipulationHandler(makVrv::DtDe &de)
Definition: vrfVertexManipulationHandler.h:144
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:132
class DtEnvironmentalFacadeCollection
Definition: environmentalFacadeCollection.h:76
virtual ~DtVrfShapeVertexManipulationHandler() override
Definition: vrfVertexManipulationHandler.h:92
Circle vertex manipulation class.
Definition: vrfVertexManipulationHandler.h:99
DtVrfWeatherVertexCircleManipulationHandler(makVrv::DtDe &de)
Definition: vrfVertexManipulationHandler.h:156
DtVrfObjectManipulationHandlerCreator< DtVrfWeatherVertexAreaManipulationHandler > DtVrfWeatherVertexAreaManipulationHandlerCreator
Definition: vrfVertexManipulationHandler.h:193
DtVrfObjectManipulationHandlerCreator< DtVrfWeatherVertexBoxManipulationHandler > DtVrfWeatherVertexBoxManipulationHandlerCreator
Definition: vrfVertexManipulationHandler.h:192
Shape vertex manipulation class.
Definition: vrfVertexManipulationHandler.h:84
Definition: vrfVertexManipulationHandler.h:141
Definition: vrfObjectManipulationHandlerBaseClass.h:62
virtual void setLocation(const DtVector &loc)
For circle/ellipse....
Definition: vrfWeatherManipulationHandler.h:96
Definition: vrfShapeManipulationHandler.h:29
virtual ~DtVrfWindCorridorVertexManipulationHandler() override
Definition: vrfVertexManipulationHandler.h:174
virtual ~DtVrfWeatherVertexAreaManipulationHandler() override
Definition: vrfVertexManipulationHandler.h:149
Weather vertex manipulation class.
Definition: vrfVertexManipulationHandler.h:129
virtual ~DtVrfWeatherVertexCircleManipulationHandler() override
Definition: vrfVertexManipulationHandler.h:161
DtVrfWindCorridorVertexManipulationHandler(makVrv::DtDe &de)
Definition: vrfVertexManipulationHandler.h:169
DtVrfObjectManipulationHandlerCreator< DtVrfShapeVertexManipulationHandler > DtVrfShapeVertexManipulationHandlerCreator
Definition: vrfVertexManipulationHandler.h:96
#define DT_DLL_VRFGUICORE
Contains DLL export macros.
Definition: vrfGuiCore.h:25
Definition: vrfVertexManipulationHandler.h:179
virtual ~DtVrfWeatherVertexBoxManipulationHandler() override
Definition: vrfVertexManipulationHandler.h:137
virtual void initializeEventProcessor()
Disallow embarkation of individual vertices.
Template class that defines vertex manipulation handlers.
Definition: vrfVertexManipulationHandler.h:41
DtVrfObjectManipulationHandlerCreator< DtVrfBoxVertexManipulationHandler > DtVrfBoxVertexManipulationHandlerCreator
Definition: vrfVertexManipulationHandler.h:126
DtVrfBoxVertexManipulationHandler(makVrv::DtDe &de)
Definition: vrfVertexManipulationHandler.h:117
The abstract Channel Class.
Definition: DtChannel.h:35
DtVrfObjectManipulationHandlerCreator< DtVrfWeatherVertexCircleManipulationHandler > DtVrfWeatherVertexCircleManipulationHandlerCreator
Definition: vrfVertexManipulationHandler.h:194
Definition: vrfVertexManipulationHandler.h:153
DtVrfShapeVertexManipulationHandler(makVrv::DtDe &de)
Definition: vrfVertexManipulationHandler.h:87
virtual DtVector localLocation() override
When editing a vertex, the &quot;current location&quot; of the edited object is the selected vertex&#39;s positio...
DtVrfAirTurbulenceVertexManipulationHandler(makVrv::DtDe &de)
Definition: vrfVertexManipulationHandler.h:182
For area....
Definition: vrfWeatherManipulationHandler.h:59
HandlerType
The type of handler this is.
Definition: vrfObjectManipulationHandlerBaseClass.h:52
unsigned long long DtUniqueID
Definition: DtUniqueID.h:19
Definition: vrfVertexManipulationHandler.h:166
The handler for creating weather objects.
Definition: vrfWeatherManipulationHandler.h:22
virtual void slot_onStateViewUpdated(DtSimObjectReference editStateView, makVrv::DtUniqueID sceneObjectId, double vx, double vy, double vz)
Box vertex manipulation class.
Definition: vrfVertexManipulationHandler.h:114
DtVrfVertexManipulationHandler(makVrv::DtDe &de)
virtual void slot_onLocationChanged(const DtVector &location, double altAboveGround)
DtVrfObjectManipulationHandlerCreator< DtVrfCircleVertexManipulationHandler > DtVrfCircleVertexManipulationHandlerCreator
Definition: vrfVertexManipulationHandler.h:111
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 ~DtVrfCircleVertexManipulationHandler() override
Definition: vrfVertexManipulationHandler.h:107
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
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:842
DtVrfObjectManipulationHandlerCreator< DtVrfWindCorridorVertexManipulationHandler > DtVrfWindCorridorVertexManipulationHandlerCreator
Definition: vrfVertexManipulationHandler.h:195
virtual HandlerType type() const
Definition: vrfVertexManipulationHandler.h:54
DtVrfObjectManipulationHandlerCreator< DtVrfAirTurbulenceVertexManipulationHandler > DtVrfAirTurbulenceVertexManipulationHandlerCreator
Definition: vrfVertexManipulationHandler.h:196
The handler for creating and manipulating circles/ellipses.
Definition: vrfBoxManipulationHandler.h:30
std::set< DtUniqueID > IdSet
Definition: DtSelectionManager.h:32
virtual DtVector vertexPosition(DtEnvironmentalFacadeCollection *iFace, int index) const
Return the vertex position at the specified index.
virtual ~DtVrfAirTurbulenceVertexManipulationHandler() override
Definition: vrfVertexManipulationHandler.h:187
The handler for creating weather objects.
Definition: vrfWindCorridorManipulationHandler.h:19
virtual ~DtVrfBoxVertexManipulationHandler() override
Definition: vrfVertexManipulationHandler.h:122

Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)