LVRVtkArrow.hpp
Go to the documentation of this file.
1 
34 #ifndef LVRVTKARROW_HPP_
35 #define LVRVTKARROW_HPP_
36 
37 #include <vtkSmartPointer.h>
38 #include <vtkActor.h>
39 
41 
42 namespace lvr2
43 {
44 
50 {
52 
53 public:
54 
55  LVRVtkArrow(Vec start, Vec end);
56 
57  vtkSmartPointer<vtkActor> getArrowActor();
58  vtkSmartPointer<vtkActor> getStartActor();
59  vtkSmartPointer<vtkActor> getEndActor();
60 
61  void restoreColor();
62  void setTmpColor(double r, double g, double b);
63 
64  virtual ~LVRVtkArrow();
65 
66 private:
67  vtkSmartPointer<vtkActor> m_arrowActor;
68  vtkSmartPointer<vtkActor> m_startActor;
69  vtkSmartPointer<vtkActor> m_endActor;
72  double m_r;
73  double m_g;
74  double m_b;
75 
76 };
77 
78 } /* namespace lvr2 */
79 
80 #endif /* LVRVTKARROW_HPP_ */
virtual ~LVRVtkArrow()
vtkSmartPointer< vtkActor > m_startActor
Definition: LVRVtkArrow.hpp:68
vtkSmartPointer< vtkActor > getArrowActor()
vtkSmartPointer< vtkActor > getStartActor()
void setTmpColor(double r, double g, double b)
vtkSmartPointer< vtkActor > m_arrowActor
Definition: LVRVtkArrow.hpp:67
vtkSmartPointer< vtkActor > getEndActor()
LVRVtkArrow(Vec start, Vec end)
Definition: LVRVtkArrow.cpp:56
A wrapper class to generate arrow actors for vtk based on VTK&#39;s oriented arrow example.
Definition: LVRVtkArrow.hpp:49
vtkSmartPointer< vtkActor > m_endActor
Definition: LVRVtkArrow.hpp:69


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 Mon Feb 28 2022 22:46:08