LVRPickingInteractor.hpp
Go to the documentation of this file.
1 
34 #ifndef LVRPICKINGINTERACTOR_HPP_
35 #define LVRPICKINGINTERACTOR_HPP_
36 
37 #include <QObject>
38 #include <QMessageBox>
39 
40 #include <vtkIdTypeArray.h>
41 #include <vtkTextActor.h>
42 #include <QTreeWidgetItem>
43 #include <vtkInteractorStyleTrackballCamera.h>
44 #include <vtkInteractorStyleRubberBandPick.h>
45 #include <vtkSmartPointer.h>
46 #include <vtkRenderer.h>
47 #include <vtkMath.h>
48 #include <vtkDataSetMapper.h>
49 
50 #include <boost/shared_array.hpp>
51 
52 #include <memory>
54 #include <map>
55 
56 namespace lvr2
57 {
58 
59 
61 {
62  Q_OBJECT
63 public:
64  static LVRPickingInteractor* New();
67  void setRenderer(vtkSmartPointer<vtkRenderer> renderer);
68  void removeLabel(const int&);
69  //LVRPickingInteractor(vtkSmartPointer<vtkRenderer> renderer);
70  virtual ~LVRPickingInteractor();
71 
75  virtual void OnLeftButtonDown();
76  virtual void OnLeftButtonUp();
77  virtual void OnMouseMove();
78  virtual void OnMiddleButtonUp();
79  virtual void OnMiddleButtonDown();
80  virtual void OnRightButtonUp();
81  virtual void OnRightButtonDown();
82  virtual void OnMouseWheelBackward();
83  virtual void OnMouseWheelForward();
84 
85  virtual void OnChar();
86  virtual void OnTimer();
87 
91  virtual void OnKeyPress();
92 
96  virtual void OnKeyRelease();
97 
98  virtual void OnKeyDown();
99 
100  virtual void Dolly();
101  virtual void Dolly(double factor);
102  virtual void Pan();
103  virtual void Spin();
104  virtual void Zoom();
105  virtual void Rotate();
106 
107 
111  vtkSmartPointer<vtkTextActor> getTextActor(){ return m_textActor; }
112 
113  void updateFocalPoint();
114  void setPoints(vtkSmartPointer<vtkPolyData> points);
115  vtkSmartPointer<vtkPolyData> getPoints();
116 
117  std::vector<uint16_t>& getLabeles();
118 public Q_SLOTS:
119  void correspondenceSearchOn();
121 
122  void labelingOn();
123  void labelingOff();
124  void setLabeledPointVisibility(int, bool);
125  void setLabel(int, std::vector<int>);
126  void requestLabels();
127 
128  void labelModeChanged(bool);
129  void newLabel(QTreeWidgetItem*);
130  void setLassoTool(bool);
131  void labelSelected(uint16_t);
132 
133  void setMotionFactor(double factor);
134  void setRotationFactor(double factor);
135 
136  void setFocalPointRendering(int state);
137  void setStereoMode(int state);
138 
139  void pickFocalPoint();
140 
141  void modeTerrain();
142  void modeTrackball();
143  void modeShooter();
144 
145  void resetCamera();
146 
147 Q_SIGNALS:
148  void clusterSelected(double*);
149  void firstPointPicked(double*);
150  void secondPointPicked(double*);
151  void pointSelected(vtkActor*, int);
152  void pointsLabeled(uint16_t, int);
153  void responseLabels(std::vector<uint16_t>);
154  void labelingStarted(bool);
155 
156 private:
157 
161 
162  void handlePicking();
163 
164  // ------------------------- TRACKBALL
165 
166  void dollyTrackball();
167  void dollyTrackball(double factor);
168  void panTrackball();
169  void spinTrackball();
170  void zoomTrackball();
171  void rotateTrackball();
172 
175  void onMouseMoveTrackball();
182 
183  // ------------------------ TERRAIN
184 
185  void dollyTerrain();
186  void dollyTerrain(double factor);
187  void panTerrain();
188  void spinTerrain();
189  void zoomTerrain();
190  void rotateTerrain();
191 
193  void onLeftButtonUpTerrain();
194  void onMouseMoveTerrain();
197  void onRightButtonUpTerrain();
201 
202  // ------------------------ SHOOTER
203 
204  void dollyShooter();
205  void dollyShooter(double factor);
206  void panShooter();
207  void spinShooter();
208  void zoomShooter();
209  void rotateShooter();
210  void hoverShooter();
211  void resetViewUpShooter();
212  void strafeShooter(double factor);
213 
215  void onLeftButtonUpShooter();
216  void onMouseMoveShooter();
219  void onRightButtonUpShooter();
223 
224  //Labeling
225  bool isInside(std::vector<vtkVector2i>* polygon, int& pX, int& pY);
226  void calculateSelection(bool select);
228  void discardChanges();
229  void updateActor(int);
230 
233 
235  vtkSmartPointer<vtkTextActor> m_textActor;
236  vtkSmartPointer<vtkActor> m_sphereActor;
237  vtkSmartPointer<vtkActor> m_cubeActor;
238  vtkSmartPointer<vtkActor> m_polyActor;
239  std::vector<bool> m_selectedPoints;
240  std::map<uint16_t, vtkSmartPointer<vtkActor>> m_labelActors;
241  vtkSmartPointer<vtkActor> m_selectedActor;
242  std::vector<uint16_t> m_pointLabels;
243  vtkSmartPointer<vtkPolyData> m_points;
244  vtkSmartPointer<vtkDataSetMapper> m_selectedMapper;
245  vtkSmartPointer<vtkIdTypeArray> m_selectedIds;
246 
247  vtkSmartPointer<vtkRenderer> m_renderer;
248 
252 
253  unsigned int m_numberOfClicks;
257 
258 
259  double m_viewUp[3];
260 
263 
266 
267  std::map<uint16_t, QColor> m_labelColors;
268 
269 
270 };
271 
272 } /* namespace lvr2 */
273 
274 #endif /* LVRPICKINGINTERACTOR_HPP_ */
lvr2::LVRPickingInteractor::spinTrackball
void spinTrackball()
Definition: LVRPickingInteractor.cpp:1244
lvr2::LVRPickingInteractor::modeShooter
void modeShooter()
Definition: LVRPickingInteractor.cpp:219
lvr2::LVRPickingInteractor::onRightButtonDownShooter
void onRightButtonDownShooter()
Definition: LVRPickingInteractor.cpp:817
lvr2::LVRPickingInteractor::setRenderer
void setRenderer(vtkSmartPointer< vtkRenderer > renderer)
Definition: LVRPickingInteractor.cpp:103
lvr2::LVRPickingInteractor::dollyShooter
void dollyShooter()
Definition: LVRPickingInteractor.cpp:531
lvr2::LVRPickingInteractor::onMouseWheelForwardTerrain
void onMouseWheelForwardTerrain()
Definition: LVRPickingInteractor.cpp:1103
lvr2::LVRPickingInteractor::m_startCameraMovePosition
int m_startCameraMovePosition[2]
Definition: LVRPickingInteractor.hpp:255
lvr2::LVRPickingInteractor::modeTrackball
void modeTrackball()
Definition: LVRPickingInteractor.cpp:214
lvr2::LVRPickingInteractor::setLabel
void setLabel(int, std::vector< int >)
Definition: LVRPickingInteractor.cpp:2112
lvr2::LVRPickingInteractor::newLabel
void newLabel(QTreeWidgetItem *)
Definition: LVRPickingInteractor.cpp:1909
lvr2::LVRPickingInteractor::OnRightButtonDown
virtual void OnRightButtonDown()
Definition: LVRPickingInteractor.cpp:471
lvr2::LVRPickingInteractor::InteractorMode
InteractorMode
Definition: LVRPickingInteractor.hpp:158
lvr2::LVRPickingInteractor::PickSecond
@ PickSecond
Definition: LVRPickingInteractor.hpp:160
lvr2::LVRPickingInteractor::OnMiddleButtonDown
virtual void OnMiddleButtonDown()
Definition: LVRPickingInteractor.cpp:430
lvr2::LVRPickingInteractor::m_textActor
vtkSmartPointer< vtkTextActor > m_textActor
Text actor to display info if in picking mode.
Definition: LVRPickingInteractor.hpp:235
lvr2::LVRPickingInteractor::setMotionFactor
void setMotionFactor(double factor)
Definition: LVRPickingInteractor.cpp:199
lvr2::LVRPickingInteractor::firstPointPicked
void firstPointPicked(double *)
lvr2::LVRPickingInteractor::OnMouseMove
virtual void OnMouseMove()
Definition: LVRPickingInteractor.cpp:389
lvr2::LVRPickingInteractor::m_pointLabels
std::vector< uint16_t > m_pointLabels
Definition: LVRPickingInteractor.hpp:242
lvr2::LVRPickingInteractor::calculateSelection
void calculateSelection(bool select)
Definition: LVRPickingInteractor.cpp:1785
lvr2::LVRPickingInteractor::OnKeyPress
virtual void OnKeyPress()
Overloaded keyboard press event handling.
Definition: LVRPickingInteractor.cpp:1626
lvr2::LVRPickingInteractor::pickFocalPoint
void pickFocalPoint()
Definition: LVRPickingInteractor.cpp:1750
lvr2::LVRPickingInteractor::m_labelingMode
bool m_labelingMode
Definition: LVRPickingInteractor.hpp:250
lvr2::LVRPickingInteractor::m_pickMode
PickMode m_pickMode
Indicates picking mode.
Definition: LVRPickingInteractor.hpp:232
lvr2::LVRPickingInteractor::OnLeftButtonDown
virtual void OnLeftButtonDown()
Overloaded mouse event handling.
Definition: LVRPickingInteractor.cpp:341
lvr2::LVRPickingInteractor::SHOOTER
@ SHOOTER
Definition: LVRPickingInteractor.hpp:158
lvr2::LVRPickingInteractor::m_modified
bool m_modified
Definition: LVRPickingInteractor.hpp:251
lvr2::LVRPickingInteractor::clusterSelected
void clusterSelected(double *)
lvr2::LVRPickingInteractor::m_points
vtkSmartPointer< vtkPolyData > m_points
Definition: LVRPickingInteractor.hpp:243
lvr2::LVRPickingInteractor::None
@ None
Definition: LVRPickingInteractor.hpp:160
lvr2::LVRPickingInteractor::m_interactorMode
InteractorMode m_interactorMode
Definition: LVRPickingInteractor.hpp:264
lvr2::LVRPickingInteractor::setStereoMode
void setStereoMode(int state)
Definition: LVRPickingInteractor.cpp:134
lvr2::LVRPickingInteractor::m_previousPosition
int m_previousPosition[2]
Definition: LVRPickingInteractor.hpp:254
lvr2::LVRPickingInteractor::onLeftButtonDownTerrain
void onLeftButtonDownTerrain()
Definition: LVRPickingInteractor.cpp:990
lvr2::LVRPickingInteractor::getPoints
vtkSmartPointer< vtkPolyData > getPoints()
Definition: LVRPickingInteractor.cpp:2204
lvr2::LVRPickingInteractor::OnChar
virtual void OnChar()
Definition: LVRPickingInteractor.cpp:1684
lvr2::LVRPickingInteractor::resetViewUpShooter
void resetViewUpShooter()
Definition: LVRPickingInteractor.cpp:578
lvr2::LVRPickingInteractor::onMouseWheelBackwardTrackball
void onMouseWheelBackwardTrackball()
Definition: LVRPickingInteractor.cpp:1567
lvr2::LVRPickingInteractor::m_labelColors
std::map< uint16_t, QColor > m_labelColors
Definition: LVRPickingInteractor.hpp:267
lvr2::LVRPickingInteractor::m_motionFactor
float m_motionFactor
Definition: LVRPickingInteractor.hpp:261
lvr2::LVRPickingInteractor::OnKeyRelease
virtual void OnKeyRelease()
Overloaded keyboard release event handling.
Definition: LVRPickingInteractor.cpp:1759
lvr2::LVRPickingInteractor::LOOK
@ LOOK
Definition: LVRPickingInteractor.hpp:159
lvr2::LVRPickingInteractor::dollyTrackball
void dollyTrackball()
Definition: LVRPickingInteractor.cpp:1148
lvr2::LVRPickingInteractor::setLassoTool
void setLassoTool(bool)
Definition: LVRPickingInteractor.cpp:2101
lvr2::LVRPickingInteractor::onMiddleButtonUpTerrain
void onMiddleButtonUpTerrain()
Definition: LVRPickingInteractor.cpp:1044
lvr2::LVRPickingInteractor::rotateTerrain
void rotateTerrain()
Definition: LVRPickingInteractor.cpp:931
lvr2::LVRPickingInteractor::labelModeChanged
void labelModeChanged(bool)
Definition: LVRPickingInteractor.cpp:2181
lvr2::LVRPickingInteractor::onMiddleButtonDownTerrain
void onMiddleButtonDownTerrain()
Definition: LVRPickingInteractor.cpp:1058
lvr2::LVRPickingInteractor::correspondenceSearchOn
void correspondenceSearchOn()
Definition: LVRPickingInteractor.cpp:1313
lvr2::LVRPickingInteractor::m_viewUp
double m_viewUp[3]
Definition: LVRPickingInteractor.hpp:259
lvr2::LVRPickingInteractor::requestLabels
void requestLabels()
Definition: LVRPickingInteractor.cpp:2084
lvr2::LVRPickingInteractor::PickPoint
@ PickPoint
Definition: LVRPickingInteractor.hpp:160
lvr2::LVRPickingInteractor::updateFocalPoint
void updateFocalPoint()
Definition: LVRPickingInteractor.cpp:162
lvr2::LVRPickingInteractor::onMouseWheelBackwardTerrain
void onMouseWheelBackwardTerrain()
Definition: LVRPickingInteractor.cpp:1098
lvr2::LVRPickingInteractor::Dolly
virtual void Dolly()
Definition: LVRPickingInteractor.cpp:230
lvr2::LVRPickingInteractor::panTrackball
void panTrackball()
Definition: LVRPickingInteractor.cpp:1187
lvr2::LVRPickingInteractor::m_selectedLabel
int m_selectedLabel
Definition: LVRPickingInteractor.hpp:256
lvr2::LVRPickingInteractor::setLabeledPointVisibility
void setLabeledPointVisibility(int, bool)
Definition: LVRPickingInteractor.cpp:2088
lvr2::LVRPickingInteractor::onRightButtonDownTrackball
void onRightButtonDownTrackball()
Definition: LVRPickingInteractor.cpp:1612
lvr2::LVRPickingInteractor::panShooter
void panShooter()
Definition: LVRPickingInteractor.cpp:709
lvr2::LVRPickingInteractor::LVRPickingInteractor
LVRPickingInteractor()
Definition: LVRPickingInteractor.cpp:74
lvr2::LVRPickingInteractor::PickMode
PickMode
Definition: LVRPickingInteractor.hpp:160
lvr2::LVRPickingInteractor::OnKeyDown
virtual void OnKeyDown()
Definition: LVRPickingInteractor.cpp:1631
lvr2::LVRPickingInteractor::getTextActor
vtkSmartPointer< vtkTextActor > getTextActor()
returns the text-actor, needed to readd-it after clearing the render window
Definition: LVRPickingInteractor.hpp:111
lvr2::LVRPickingInteractor::PickFirst
@ PickFirst
Definition: LVRPickingInteractor.hpp:160
lvr2::LVRPickingInteractor::onLeftButtonUpTrackball
void onLeftButtonUpTrackball()
Definition: LVRPickingInteractor.cpp:1476
lvr2::LVRPickingInteractor::onMouseWheelForwardTrackball
void onMouseWheelForwardTrackball()
Definition: LVRPickingInteractor.cpp:1550
lvr2::LVRPickingInteractor::Rotate
virtual void Rotate()
Definition: LVRPickingInteractor.cpp:304
lvr2::LVRPickingInteractor::strafeShooter
void strafeShooter(double factor)
Definition: LVRPickingInteractor.cpp:536
lvr2::LVRPickingInteractor::labelingStarted
void labelingStarted(bool)
lvr2::LVRPickingInteractor::PickFocal
@ PickFocal
Definition: LVRPickingInteractor.hpp:160
lvr2::LVRPickingInteractor::setRotationFactor
void setRotationFactor(double factor)
Definition: LVRPickingInteractor.cpp:204
lvr2::LVRPickingInteractor::onMiddleButtonUpShooter
void onMiddleButtonUpShooter()
Definition: LVRPickingInteractor.cpp:779
lvr2::LVRPickingInteractor::m_selectedActor
vtkSmartPointer< vtkActor > m_selectedActor
Definition: LVRPickingInteractor.hpp:241
lvr2::LVRPickingInteractor::onRightButtonUpTrackball
void onRightButtonUpTrackball()
Definition: LVRPickingInteractor.cpp:1597
lvr2::LVRPickingInteractor::labelingOff
void labelingOff()
Definition: LVRPickingInteractor.cpp:1344
lvr2::LVRPickingInteractor::m_polyActor
vtkSmartPointer< vtkActor > m_polyActor
Definition: LVRPickingInteractor.hpp:238
lvr2::LVRPickingInteractor::spinShooter
void spinShooter()
Definition: LVRPickingInteractor.cpp:714
lvr2::LVRPickingInteractor::onMouseMoveShooter
void onMouseMoveShooter()
Definition: LVRPickingInteractor.cpp:635
lvr2::LVRPickingInteractor::OnTimer
virtual void OnTimer()
Definition: LVRPickingInteractor.cpp:762
lvr2::LVRPickingInteractor::labelSelected
void labelSelected(uint16_t)
Definition: LVRPickingInteractor.cpp:2048
lvr2::LVRPickingInteractor::labelingOn
void labelingOn()
Definition: LVRPickingInteractor.cpp:1332
lvr2::LVRPickingInteractor::onRightButtonUpTerrain
void onRightButtonUpTerrain()
Definition: LVRPickingInteractor.cpp:1071
lvr2::LVRPickingInteractor::onMouseWheelBackwardShooter
void onMouseWheelBackwardShooter()
Definition: LVRPickingInteractor.cpp:822
lvr2::LVRPickingInteractor::~LVRPickingInteractor
virtual ~LVRPickingInteractor()
Definition: LVRPickingInteractor.cpp:224
lvr2::LVRPickingInteractor::updateActor
void updateActor(int)
Definition: LVRPickingInteractor.cpp:2124
lvr2::LVRPickingInteractor::m_correspondenceMode
bool m_correspondenceMode
Definition: LVRPickingInteractor.hpp:249
lvr2::LVRPickingInteractor::pointSelected
void pointSelected(vtkActor *, int)
lvr2::LVRPickingInteractor::onMouseMoveTrackball
void onMouseMoveTrackball()
Definition: LVRPickingInteractor.cpp:1503
lvr2::LVRPickingInteractor::onRightButtonDownTerrain
void onRightButtonDownTerrain()
Definition: LVRPickingInteractor.cpp:1085
lvr2::LVRPickingInteractor::onMiddleButtonDownShooter
void onMiddleButtonDownShooter()
Definition: LVRPickingInteractor.cpp:793
lvr2::LVRPickingInteractor::onLeftButtonDownShooter
void onLeftButtonDownShooter()
Definition: LVRPickingInteractor.cpp:729
lvr2::LVRPickingInteractor::OnMouseWheelBackward
virtual void OnMouseWheelBackward()
Definition: LVRPickingInteractor.cpp:494
lvr2::LVRPickingInteractor::TRACKBALL
@ TRACKBALL
Definition: LVRPickingInteractor.hpp:158
lvr2::LVRPickingInteractor::m_selectedMapper
vtkSmartPointer< vtkDataSetMapper > m_selectedMapper
Definition: LVRPickingInteractor.hpp:244
lvr2::LVRPickingInteractor::Pan
virtual void Pan()
Definition: LVRPickingInteractor.cpp:267
lvr2::LVRPickingInteractor::onRightButtonUpShooter
void onRightButtonUpShooter()
Definition: LVRPickingInteractor.cpp:812
lvr2::LVRPickingInteractor::OnMouseWheelForward
virtual void OnMouseWheelForward()
Definition: LVRPickingInteractor.cpp:513
lvr2::LVRPickingInteractor::isInside
bool isInside(std::vector< vtkVector2i > *polygon, int &pX, int &pY)
Definition: LVRPickingInteractor.cpp:1764
lvr2::LVRPickingInteractor::discardChanges
void discardChanges()
Definition: LVRPickingInteractor.cpp:2025
lvr2::LVRPickingInteractor::correspondenceSearchOff
void correspondenceSearchOff()
Definition: LVRPickingInteractor.cpp:1323
lvr2::LVRPickingInteractor::saveCurrentLabelSelection
void saveCurrentLabelSelection()
Definition: LVRPickingInteractor.cpp:1973
lvr2::LVRPickingInteractor::PickLabel
@ PickLabel
Definition: LVRPickingInteractor.hpp:160
lvr2::LVRPickingInteractor::getLabeles
std::vector< uint16_t > & getLabeles()
Definition: LVRPickingInteractor.cpp:2200
lvr2::LVRPickingInteractor::m_sphereActor
vtkSmartPointer< vtkActor > m_sphereActor
Definition: LVRPickingInteractor.hpp:236
lvr2::LVRPickingInteractor::TERRAIN
@ TERRAIN
Definition: LVRPickingInteractor.hpp:158
lvr2::LVRPickingInteractor::setPoints
void setPoints(vtkSmartPointer< vtkPolyData > points)
Definition: LVRPickingInteractor.cpp:169
lvr2::LVRPickingInteractor::ShooterMode
ShooterMode
Definition: LVRPickingInteractor.hpp:159
lvr2::LVRPickingInteractor::responseLabels
void responseLabels(std::vector< uint16_t >)
lvr2::LVRPickingInteractor::m_shooterMode
ShooterMode m_shooterMode
Definition: LVRPickingInteractor.hpp:265
LVRInteractorStylePolygonPick
Like TrackBallCamera, but this can pick props underneath a rubber band selection rectangle.
Definition: LVRInteractorStylePolygonPick.hpp:43
lvr2::LVRPickingInteractor::secondPointPicked
void secondPointPicked(double *)
lvr2::LVRPickingInteractor::onMouseMoveTerrain
void onMouseMoveTerrain()
Definition: LVRPickingInteractor.cpp:1017
lvr2::LVRPickingInteractor::OnLeftButtonUp
virtual void OnLeftButtonUp()
Definition: LVRPickingInteractor.cpp:366
lvr2::LVRPickingInteractor::modeTerrain
void modeTerrain()
Definition: LVRPickingInteractor.cpp:209
lvr2::LVRPickingInteractor::dollyTerrain
void dollyTerrain()
Definition: LVRPickingInteractor.cpp:832
lvr2
Definition: BaseBufferManipulators.hpp:39
lvr2::LVRPickingInteractor::zoomTerrain
void zoomTerrain()
Definition: LVRPickingInteractor.cpp:926
lvr2::LVRPickingInteractor::m_rotationFactor
float m_rotationFactor
Definition: LVRPickingInteractor.hpp:262
lvr2::LVRPickingInteractor::rotateShooter
void rotateShooter()
Definition: LVRPickingInteractor.cpp:724
lvr2::LVRPickingInteractor::Zoom
virtual void Zoom()
Definition: LVRPickingInteractor.cpp:322
lvr2::LVRPickingInteractor::onLeftButtonDownTrackball
void onLeftButtonDownTrackball()
Definition: LVRPickingInteractor.cpp:1436
lvr2::LVRPickingInteractor::panTerrain
void panTerrain()
Definition: LVRPickingInteractor.cpp:873
lvr2::LVRPickingInteractor::m_renderer
vtkSmartPointer< vtkRenderer > m_renderer
Definition: LVRPickingInteractor.hpp:247
lvr2::LVRPickingInteractor::New
static LVRPickingInteractor * New()
lvr2::LVRPickingInteractor::OnMiddleButtonUp
virtual void OnMiddleButtonUp()
Definition: LVRPickingInteractor.cpp:412
lvr2::LVRPickingInteractor::Spin
virtual void Spin()
Definition: LVRPickingInteractor.cpp:286
lvr2::LVRPickingInteractor::onMiddleButtonDownTrackball
void onMiddleButtonDownTrackball()
Definition: LVRPickingInteractor.cpp:1584
LVRInteractorStylePolygonPick.hpp
lvr2::LVRPickingInteractor::m_labelActors
std::map< uint16_t, vtkSmartPointer< vtkActor > > m_labelActors
Definition: LVRPickingInteractor.hpp:240
lvr2::LVRPickingInteractor::spinTerrain
void spinTerrain()
Definition: LVRPickingInteractor.cpp:921
lvr2::LVRPickingInteractor::m_numberOfClicks
unsigned int m_numberOfClicks
Definition: LVRPickingInteractor.hpp:253
lvr2::LVRPickingInteractor
Definition: LVRPickingInteractor.hpp:60
lvr2::LVRPickingInteractor::HOVER
@ HOVER
Definition: LVRPickingInteractor.hpp:159
lvr2::LVRPickingInteractor::removeLabel
void removeLabel(const int &)
Definition: LVRPickingInteractor.cpp:2208
lvr2::LVRPickingInteractor::zoomShooter
void zoomShooter()
Definition: LVRPickingInteractor.cpp:719
lvr2::LVRPickingInteractor::OnRightButtonUp
virtual void OnRightButtonUp()
Definition: LVRPickingInteractor.cpp:448
lvr2::LVRPickingInteractor::handlePicking
void handlePicking()
Definition: LVRPickingInteractor.cpp:1352
lvr2::LVRPickingInteractor::rotateTrackball
void rotateTrackball()
Definition: LVRPickingInteractor.cpp:1275
lvr2::LVRPickingInteractor::onLeftButtonUpTerrain
void onLeftButtonUpTerrain()
Definition: LVRPickingInteractor.cpp:1003
lvr2::LVRPickingInteractor::onLeftButtonUpShooter
void onLeftButtonUpShooter()
Definition: LVRPickingInteractor.cpp:748
lvr2::LVRPickingInteractor::zoomTrackball
void zoomTrackball()
Definition: LVRPickingInteractor.cpp:1270
lvr2::LVRPickingInteractor::setFocalPointRendering
void setFocalPointRendering(int state)
Definition: LVRPickingInteractor.cpp:148
lvr2::LVRPickingInteractor::hoverShooter
void hoverShooter()
Definition: LVRPickingInteractor.cpp:664
lvr2::LVRPickingInteractor::pointsLabeled
void pointsLabeled(uint16_t, int)
lvr2::LVRPickingInteractor::onMouseWheelForwardShooter
void onMouseWheelForwardShooter()
Definition: LVRPickingInteractor.cpp:827
lvr2::LVRPickingInteractor::m_selectedPoints
std::vector< bool > m_selectedPoints
Definition: LVRPickingInteractor.hpp:239
lvr2::LVRPickingInteractor::m_cubeActor
vtkSmartPointer< vtkActor > m_cubeActor
Definition: LVRPickingInteractor.hpp:237
lvr2::LVRPickingInteractor::m_selectedIds
vtkSmartPointer< vtkIdTypeArray > m_selectedIds
Definition: LVRPickingInteractor.hpp:245
lvr2::LVRPickingInteractor::onMiddleButtonUpTrackball
void onMiddleButtonUpTrackball()
Definition: LVRPickingInteractor.cpp:1536
lvr2::LVRPickingInteractor::resetCamera
void resetCamera()
Definition: LVRPickingInteractor.cpp:586
lvr2::LVRPickingInteractor::vtkTypeMacro
vtkTypeMacro(LVRPickingInteractor, LVRInteractorStylePolygonPick)


lvr2
Author(s): Thomas Wiemann , Sebastian Pütz , Alexander Mock , Lars Kiesow , Lukas Kalbertodt , Tristan Igelbrink , Johan M. von Behren , Dominik Feldschnieders , Alexander Löhr
autogenerated on Wed Mar 2 2022 00:37:24