10 QTreeWidgetItem* from,
17 QTreeWidgetItem* it = from;
19 while(it != to || it !=
NULL)
38 PointBufferPtr buffer_ptr = std::make_shared<PointBuffer>(pc_in->clone());
44 const size_t num_points = buffer_ptr->numPoints();
46 buffer_ptr->getPointArray().get()
49 for(
size_t i=0; i<num_points; i++)
51 points_raw[i] = T_trans * points_raw[i];
55 if(buffer_ptr->hasNormals())
58 buffer_ptr->getNormalArray().get()
60 for(
size_t i=0; i<num_points; i++)
62 normals_raw[i] = T_trans * normals_raw[i];
72 QTreeWidgetItem* from,
std::shared_ptr< PointBuffer > PointBufferPtr
Transform< double > Transformd
4x4 double precision transformation matrix
Transformd getTransformation(QTreeWidgetItem *from, QTreeWidgetItem *to)
PointBufferPtr transform(PointBufferPtr pc_in, const Transformd &T)