LVRPickItem.hpp
Go to the documentation of this file.
1 
34 #ifndef LVRPICKITEM_HPP_
35 #define LVRPICKITEM_HPP_
36 
37 #include <QtWidgets/qtreewidget.h>
38 
39 #include "LVRItemTypes.hpp"
40 #include "../vtkBridge/LVRVtkArrow.hpp"
41 
42 namespace lvr2
43 {
44 
45 class LVRPickItem: public QTreeWidgetItem
46 {
47 public:
48  LVRPickItem(QTreeWidget* parent, int type = LVRPickItemType);
49  virtual ~LVRPickItem();
50 
51  void setStart(double* start);
52  void setEnd(double* end);
54 
55  double* getStart();
56  double* getEnd();
57 
58 private:
59  double* m_start;
60  double* m_end;
62 
64 };
65 
66 } /* namespace lvr2 */
67 
68 #endif /* LVRPICKITEM_HPP_ */
lvr2::LVRPickItem
Definition: LVRPickItem.hpp:45
lvr2::LVRPickItem::LVRPickItem
LVRPickItem(QTreeWidget *parent, int type=LVRPickItemType)
Definition: LVRPickItem.cpp:41
lvr2::BaseVector< float >
lvr2::LVRPickItem::getEnd
double * getEnd()
Definition: LVRPickItem.cpp:83
LVRItemTypes.hpp
lvr2::LVRVtkArrow
A wrapper class to generate arrow actors for vtk based on VTK's oriented arrow example.
Definition: LVRVtkArrow.hpp:49
lvr2::LVRPickItem::getArrow
LVRVtkArrow * getArrow()
Definition: LVRPickItem.cpp:108
lvr2::LVRPickItem::setStart
void setStart(double *start)
Definition: LVRPickItem.cpp:57
lvr2::LVRPickItem::setEnd
void setEnd(double *end)
Definition: LVRPickItem.cpp:88
lvr2::LVRPickItem::getStart
double * getStart()
Definition: LVRPickItem.cpp:78
lvr2::LVRPickItem::m_arrow
LVRVtkArrow * m_arrow
Definition: LVRPickItem.hpp:61
lvr2::LVRPickItem::m_start
double * m_start
Definition: LVRPickItem.hpp:59
lvr2::LVRPickItemType
@ LVRPickItemType
Definition: LVRItemTypes.hpp:44
lvr2::LVRPickItem::m_end
double * m_end
Definition: LVRPickItem.hpp:60
lvr2
Definition: BaseBufferManipulators.hpp:39
lvr2::LVRPickItem::~LVRPickItem
virtual ~LVRPickItem()
Definition: LVRPickItem.cpp:51


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