45 icon.addFile(QString::fromUtf8(
":/qv_pc_tree_icon.png"), QSize(),
QIcon::Normal, QIcon::Off);
47 setText(0,
"Point Cloud");
54 m_numItem->setText(1, num.setNum(ptr->getNumPoints()));
83 if(ptr->getPointBuffer()->getUCharChannel(
"spectral_channels"))
123 if(
m_pointBridge->getPointBuffer()->getUCharChannel(
"spectral_channels")) {
138 m_pointBridge->setBaseColor(c.redF(), c.greenF(), c.blueF());
144 m_pointBridge->setBaseColor(c.redF(), c.greenF(), c.blueF());
QTreeWidgetItem * m_numItem
boost::shared_ptr< LVRPointBufferBridge > PointBufferBridgePtr
PointBufferPtr getPointBuffer()
PointBufferBridgePtr m_pointBridge
QTreeWidgetItem * m_colorItem
std::shared_ptr< PointBuffer > PointBufferPtr
virtual ~LVRPointCloudItem()
void setVisibility(bool &visiblity)
void setOpacity(float &opacity)
vtkSmartPointer< vtkActor > getActor()
QTreeWidgetItem * m_normalItem
QTreeWidgetItem * m_specItem
void setSelectionColor(QColor &c)
void setPointSize(int &pointSize)
PointBufferBridgePtr getPointBufferBridge()
LVRPointCloudItem(PointBufferBridgePtr ptr, QTreeWidgetItem *parent=0)