-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Open
Labels
effort: highRough estimate of time needed to fix/implement/solveRough estimate of time needed to fix/implement/solvekind: todoType of issueType of issuemodule: segmentation
Description
EuclideanClusterExtraction::extract
requires std::vector<PointIndices>
while PCLBase::setIndices
requires PointIndices::Ptr
.
The result is that if you want to get one to the other a
std::vector<pcl::PointIndices> clusters;
ec.extract( clusters );
extractor.setIndices(
boost::shared_ptr<pcl::PointIndices>(
new pcl::PointIndices( clusters[0] ) ) );
I suspect this pattern exists in other parts of pcl.
Code that fits the pattern should probably be adjusted to use vector<PointIndices::Ptr>
instead if not shared_ptr<vector<PointIndices::Ptr> >
Likewise PCLBase
should add an overload for PointIndices
and make a copy
Metadata
Metadata
Assignees
Labels
effort: highRough estimate of time needed to fix/implement/solveRough estimate of time needed to fix/implement/solvekind: todoType of issueType of issuemodule: segmentation