LVRModelItem.hpp
Go to the documentation of this file.
1 
34 #ifndef LVRMODELITEM_H_
35 #define LVRMODELITEM_H_
36 
37 #include "../vtkBridge/LVRModelBridge.hpp"
38 #include "LVRPoseItem.hpp"
39 
40 #include <QString>
41 #include <QColor>
42 #include <QTreeWidgetItem>
43 
44 namespace lvr2
45 {
46 
47 class LVRModelItem : public QTreeWidgetItem
48 {
49 public:
50  LVRModelItem(ModelBridgePtr bridge, QString name = "");
51  LVRModelItem(const LVRModelItem& item);
52  virtual ~LVRModelItem();
53 
54  Pose getPose();
55  void setPose(const Pose& pose);
56  QString getName();
57  void setName(QString name);
58  bool isEnabled();
60  void setModelVisibility(int column, bool globalValue);
61 
62 public Q_SLOTS:
63  void setVisibility(bool visible);
64 
65 protected:
67  QString m_name;
69 };
70 
71 } /* namespace lvr2 */
72 
73 #endif /* LVRMODELITEM_H_ */
LVRPoseItem * m_poseItem
ModelBridgePtr m_modelBridge
void setVisibility(bool visible)
ModelBridgePtr getModelBridge()
LVRModelItem(ModelBridgePtr bridge, QString name="")
boost::shared_ptr< LVRModelBridge > ModelBridgePtr
void setName(QString name)
void setPose(const Pose &pose)
void setModelVisibility(int column, bool globalValue)


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