40 #include <vtkSmartPointer.h> 42 #include <vtkPolyDataMapper.h> 52 icon.addFile(QString::fromUtf8(
":/qv_model_tree_icon.png"), QSize(),
QIcon::Normal, QIcon::Off);
57 setCheckState(0, Qt::Checked);
60 if(bridge->m_pointBridge->getNumPoints())
64 pointItem->setExpanded(
true);
67 if(bridge->m_meshBridge->getNumTriangles())
69 if(bridge->m_meshBridge->hasTextures())
73 texItem->setExpanded(
true);
79 meshItem->setExpanded(
true);
127 return this->checkState(0);
137 if(checkState(column) == globalValue || globalValue ==
true)
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 setPose(const Pose &pose)
void setModelVisibility(int column, bool globalValue)