VR-Forces 4.8 Class Documentation
 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>
21 
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 
146  {
147  public:
150  {
151  }
152 
154  {
155  };
156  };
157 
159  {
160  public:
163  {
164  }
165 
167  {
168  };
169  };
170 
172  {
173  public:
176  {
177  }
178 
180  {
181  };
182  };
183 
188 }
189 
190 #include <vrfGuiCore/vrfVertexManipulationHandler.inl>
DtVrfWeatherVertexAreaManipulationHandler(makVrv::DtDe &de)
Definition: vrfVertexManipulationHandler.h:161
virtual void slot_onStateViewUpdated(DtVrlinkSimulatedBaseStateView *editStateView, makVrv::DtUniqueID sceneObjectId, double vx, double vy, double vz)
DtVrfCircleVertexManipulationHandler(makVrv::DtDe &de)
Definition: vrfVertexManipulationHandler.h:102
DtVrfObjectManipulationHandlerCreator< DtVrfCloudLayerVertexBoxManipulationHandler > DtVrfCloudLayerVertexBoxManipulationHandlerCreator
Definition: vrfVertexManipulationHandler.h:187
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:166
Definition: environmentalFacadeCollection.h:66
virtual ~DtVrfWeatherVertexCircleManipulationHandler()
Definition: vrfVertexManipulationHandler.h:179
Circle vertex manipulation class.
Definition: vrfVertexManipulationHandler.h:99
DtVrfWeatherVertexCircleManipulationHandler(makVrv::DtDe &de)
Definition: vrfVertexManipulationHandler.h:174
DtVrfObjectManipulationHandlerCreator< DtVrfWeatherVertexAreaManipulationHandler > DtVrfWeatherVertexAreaManipulationHandlerCreator
Definition: vrfVertexManipulationHandler.h:185
DtVrfObjectManipulationHandlerCreator< DtVrfWeatherVertexBoxManipulationHandler > DtVrfWeatherVertexBoxManipulationHandlerCreator
Definition: vrfVertexManipulationHandler.h:184
Shape vertex manipulation class.
Definition: vrfVertexManipulationHandler.h:83
Definition: vrfVertexManipulationHandler.h:158
Definition: vrfObjectManipulationHandlerBaseClass.h:63
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:27
The handler for creating weather objects.
Definition: vrfCloudLayerManipulationHandler.h:24
virtual ~DtVrfShapeVertexManipulationHandler()
Definition: vrfVertexManipulationHandler.h:91
Weather vertex manipulation class.
Definition: vrfVertexManipulationHandler.h:145
Weather vertex manipulation class.
Definition: vrfVertexManipulationHandler.h:131
DtVrfCloudLayerVertexBoxManipulationHandler(makVrv::DtDe &de)
Definition: vrfVertexManipulationHandler.h:148
DtVrfObjectManipulationHandlerCreator< DtVrfShapeVertexManipulationHandler > DtVrfShapeVertexManipulationHandlerCreator
Definition: vrfVertexManipulationHandler.h:96
#define DT_DLL_VRFGUICORE
Contains DLL export macros.
Definition: vrfGuiCore.h:25
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:29
virtual ~DtVrfWeatherVertexBoxManipulationHandler()
Definition: vrfVertexManipulationHandler.h:139
DtVrfObjectManipulationHandlerCreator< DtVrfWeatherVertexCircleManipulationHandler > DtVrfWeatherVertexCircleManipulationHandlerCreator
Definition: vrfVertexManipulationHandler.h:186
virtual ~DtVrfCircleVertexManipulationHandler()
Definition: vrfVertexManipulationHandler.h:107
Definition: vrfVertexManipulationHandler.h:171
DtVrfShapeVertexManipulationHandler(makVrv::DtDe &de)
Definition: vrfVertexManipulationHandler.h:86
virtual ~DtVrfCloudLayerVertexBoxManipulationHandler()
Definition: vrfVertexManipulationHandler.h:153
For area....
Definition: vrfWeatherManipulationHandler.h:58
HandlerType
Definition: vrfObjectManipulationHandlerBaseClass.h:53
unsigned long long DtUniqueID
Definition: DtUniqueID.h:22
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.
Contains makVrv::DtUniqueID type.
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
virtual bool anchorPositionIsMouse() const
Return false – when editing a vertex the default position is not the mouse.
virtual void editSelectedVertex(const makVrv::DtUniqueID &vertexId, const DtVector &vertexPos, makVrv::DtChannel &initiatingChannel)
Definition: vrfObjectManipulationHandlerBaseClass.h:813
virtual HandlerType type() const
Definition: vrfVertexManipulationHandler.h:59
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.

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)