11 ScanPtr data, std::shared_ptr<ScanDataManager> sdm,
size_t idx,
12 vtkSmartPointer<vtkRenderer> renderer,
13 QString name, QTreeWidgetItem *parent)
28 eigenToEuler<double>(
m_data->registration, pose);
35 m_pose.
r = pose[3] * 57.295779513;
36 m_pose.
t = pose[4] * 57.295779513;
37 m_pose.
p = pose[5] * 57.295779513;
46 renderer->AddActor(
m_bb->getActor());
55 setCheckState(0, Qt::Checked);
67 m_model->removeActors(renderer);
91 setText(1,
"(Preview)");
94 if (
m_data->points->getUCharChannel(
"spectral_channels"))
105 return m_data->pointsLoaded;
134 if (!this->checkState(0))
139 for (
int i = 0; i < childCount(); i++)
141 QTreeWidgetItem* item = child(i);
145 for(
int j=0; j < item->childCount(); j++)
147 QTreeWidgetItem* cam_item = item->child(j);
158 item->setHidden(!visible);
163 m_model->setVisibility(pc_visible && visible);