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.hpp
lvr2::LVRModelItem::setModelVisibility
void setModelVisibility(int column, bool globalValue)
Definition: LVRModelItem.cpp:135
lvr2::LVRModelItem::setPose
void setPose(const Pose &pose)
Definition: LVRModelItem.cpp:100
lvr2::LVRModelItem::LVRModelItem
LVRModelItem(ModelBridgePtr bridge, QString name="")
Definition: LVRModelItem.cpp:47
lvr2::LVRModelItem::~LVRModelItem
virtual ~LVRModelItem()
Definition: LVRModelItem.cpp:143
lvr2::LVRModelItem::m_poseItem
LVRPoseItem * m_poseItem
Definition: LVRModelItem.hpp:68
lvr2::LVRModelItem::isEnabled
bool isEnabled()
Definition: LVRModelItem.cpp:125
lvr2::ModelBridgePtr
boost::shared_ptr< LVRModelBridge > ModelBridgePtr
Definition: LVRModelBridge.hpp:120
lvr2::LVRModelItem::setVisibility
void setVisibility(bool visible)
Definition: LVRModelItem.cpp:130
lvr2::LVRModelItem::getModelBridge
ModelBridgePtr getModelBridge()
Definition: LVRModelItem.cpp:120
lvr2::LVRModelItem::setName
void setName(QString name)
Definition: LVRModelItem.cpp:114
lvr2::LVRModelItem::getPose
Pose getPose()
Definition: LVRModelItem.cpp:95
lvr2::LVRModelItem
Definition: LVRModelItem.hpp:47
lvr2
Definition: BaseBufferManipulators.hpp:39
lvr2::LVRModelItem::m_modelBridge
ModelBridgePtr m_modelBridge
Definition: LVRModelItem.hpp:66
lvr2::LVRModelItem::m_name
QString m_name
Definition: LVRModelItem.hpp:67
lvr2::LVRPoseItem
Definition: LVRPoseItem.hpp:44
lvr2::LVRModelItem::getName
QString getName()
Definition: LVRModelItem.cpp:109
lvr2::Pose
Definition: LVRModelBridge.hpp: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