VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator 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>
20 
21 #include <vlutil/vlExceptions.h>
23 
24 #include <vrvCore/DtUniqueID.h>
25 
26 #include <vrvCore/DtSimData.h>
27 
28 #include <vlpi/entityType.h>
29 
30 #include <matrix/vlVector.h>
31 
32 namespace makVrv
33 {
34  class DtSimEntry;
35  class DtAgentManagerInterface;
36  class DtChannel;
37  struct DtVrlinkSimulatedBaseState;
38  struct DtVrlinkSimulatedEntityState;
39 };
40 
41 namespace makVrf
42 {
44  template <typename _Handler>
46  {
47  public:
49 
51 
52  public:
54  virtual void editSelectedObjects( const makVrv::DtUniqueID& editId,
55  makVrv::DtChannel& initiatingChannel, double waitTimeAfterComplete = 0.,
57 
58  virtual HandlerType type() const { return Vertex; };
59 
60  protected:
61 
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  };
78 
81  {
82  public:
85  {
86  }
87 
89  {
90  };
91  };
92 
94 
97  {
98  public:
101  {
102  }
103 
105  {
106  };
107  };
108 
110 
113  {
114  public:
117  {
118  }
119 
121  {
122  };
123  };
124 
126 
129  {
130  public:
133  {
134  }
135 
137  {
138  };
139  };
140 
142 }
143 
144 #include <vrfGuiCore/vrfVertexManipulationHandler.inl>

Document ID: Generated on Mon Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)