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 
56  protected:
57  virtual void editSelectedVertex( const makVrv::DtUniqueID& vertexId,
58  const DtVector& vertexPos, makVrv::DtChannel& initiatingChannel );
59 
60  virtual void slot_onStateViewUpdated(DtSimObjectReference editStateView,
61  makVrv::DtUniqueID sceneObjectId, double vx, double vy, double vz );
62 
63  virtual void slot_onLocationChanged( const DtVector& location, double altAboveGround );
64 
65  virtual void setLocation( const DtVector& loc );
66 
68  virtual DtVector vertexPosition(DtEnvironmentalFacadeCollection* iFace, int index) const;
69 
71  virtual bool anchorPositionIsMouse() const;
72 
74  virtual void initializeEventProcessor();
75  };
76 
79  {
80  public:
83  {
84  }
85 
87  };
88  };
89 
91 
94  {
95  public:
98  {
99  }
100 
102  };
103  };
104 
106 
109  {
110  public:
113  {
114  }
115 
117  };
118  };
119 
121 
124  {
125  public:
128  {
129  }
130 
132  };
133  };
134 
136  {
137  public:
140  {
141  }
142 
144  };
145  };
146 
148  {
149  public:
152  {
153  }
154 
156  };
157  };
158 
159 
161  {
162  public:
165  {
166  }
167 
169  };
170 
171  };
172 
174  {
175  public:
178  {
179  }
180 
182  };
183 
184  };
185 
191 
192 
193 }
194 
195 #include <vrfGuiCore/vrfVertexManipulationHandler.inl>
DtVrfWeatherVertexAreaManipulationHandler(makVrv::DtDe &de)
Definition: vrfVertexManipulationHandler.h:138
DtVrfCircleVertexManipulationHandler(makVrv::DtDe &de)
Definition: vrfVertexManipulationHandler.h:96
The handler for creating and manipulating circles/ellipses.
Definition: vrfCircleManipulationHandler.h:25
DtVrfWeatherVertexBoxManipulationHandler(makVrv::DtDe &de)
Definition: vrfVertexManipulationHandler.h:126
class DtEnvironmentalFacadeCollection
Definition: environmentalFacadeCollection.h:76
virtual ~DtVrfShapeVertexManipulationHandler() override
Definition: vrfVertexManipulationHandler.h:86
Circle vertex manipulation class.
Definition: vrfVertexManipulationHandler.h:93
DtVrfWeatherVertexCircleManipulationHandler(makVrv::DtDe &de)
Definition: vrfVertexManipulationHandler.h:150
DtVrfObjectManipulationHandlerCreator< DtVrfWeatherVertexAreaManipulationHandler > DtVrfWeatherVertexAreaManipulationHandlerCreator
Definition: vrfVertexManipulationHandler.h:187
DtVrfObjectManipulationHandlerCreator< DtVrfWeatherVertexBoxManipulationHandler > DtVrfWeatherVertexBoxManipulationHandlerCreator
Definition: vrfVertexManipulationHandler.h:186
Shape vertex manipulation class.
Definition: vrfVertexManipulationHandler.h:78
Definition: vrfVertexManipulationHandler.h:135
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:168
virtual ~DtVrfWeatherVertexAreaManipulationHandler() override
Definition: vrfVertexManipulationHandler.h:143
Weather vertex manipulation class.
Definition: vrfVertexManipulationHandler.h:123
virtual ~DtVrfWeatherVertexCircleManipulationHandler() override
Definition: vrfVertexManipulationHandler.h:155
DtVrfWindCorridorVertexManipulationHandler(makVrv::DtDe &de)
Definition: vrfVertexManipulationHandler.h:163
DtVrfObjectManipulationHandlerCreator< DtVrfShapeVertexManipulationHandler > DtVrfShapeVertexManipulationHandlerCreator
Definition: vrfVertexManipulationHandler.h:90
#define DT_DLL_VRFGUICORE
Contains DLL export macros.
Definition: vrfGuiCore.h:25
Definition: vrfVertexManipulationHandler.h:173
virtual ~DtVrfWeatherVertexBoxManipulationHandler() override
Definition: vrfVertexManipulationHandler.h:131
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:120
DtVrfBoxVertexManipulationHandler(makVrv::DtDe &de)
Definition: vrfVertexManipulationHandler.h:111
The abstract Channel Class.
Definition: DtChannel.h:35
DtVrfObjectManipulationHandlerCreator< DtVrfWeatherVertexCircleManipulationHandler > DtVrfWeatherVertexCircleManipulationHandlerCreator
Definition: vrfVertexManipulationHandler.h:188
Definition: vrfVertexManipulationHandler.h:147
DtVrfShapeVertexManipulationHandler(makVrv::DtDe &de)
Definition: vrfVertexManipulationHandler.h:81
DtVrfAirTurbulenceVertexManipulationHandler(makVrv::DtDe &de)
Definition: vrfVertexManipulationHandler.h:176
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:160
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:108
DtVrfVertexManipulationHandler(makVrv::DtDe &de)
virtual void slot_onLocationChanged(const DtVector &location, double altAboveGround)
DtVrfObjectManipulationHandlerCreator< DtVrfCircleVertexManipulationHandler > DtVrfCircleVertexManipulationHandlerCreator
Definition: vrfVertexManipulationHandler.h:105
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:101
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:840
DtVrfObjectManipulationHandlerCreator< DtVrfWindCorridorVertexManipulationHandler > DtVrfWindCorridorVertexManipulationHandlerCreator
Definition: vrfVertexManipulationHandler.h:189
virtual HandlerType type() const
Definition: vrfVertexManipulationHandler.h:54
DtVrfObjectManipulationHandlerCreator< DtVrfAirTurbulenceVertexManipulationHandler > DtVrfAirTurbulenceVertexManipulationHandlerCreator
Definition: vrfVertexManipulationHandler.h:190
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:181
The handler for creating weather objects.
Definition: vrfWindCorridorManipulationHandler.h:19
virtual ~DtVrfBoxVertexManipulationHandler() override
Definition: vrfVertexManipulationHandler.h:116

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)