Go to the documentation of this file.
58 inPlaceFilter(output);
71 const int nbRows = cloud.
features.rows();
74 for(
int i = 0; i < nbPoints; ++i)
76 auto point = cloud.
features.col(i).head(nbRows-1);
78 T r_plane = point.head(nbRows-2).norm();
87 if((phiPoint < phiMin || phiMax < phiPoint) || (thetaPoint < thetaMin || thetaMax < thetaPoint))
95 if (phiMin < phiPoint && phiPoint < phiMax && thetaMin < thetaPoint && thetaPoint < thetaMax)
Parametrizable::Parameters Parameters
PM::DataPointsFilter DataPointsFilter
Functions and classes that are dependant on scalar type are defined in this templatized class.
void setColFrom(Index thisCol, const DataPoints &that, Index thatCol)
Set column thisCol equal to column thatCol of that, copy features and descriptors if any....
unsigned getNbPoints() const
Return the number of points contained in the point cloud.
Matrix features
features of points in the cloud
AngleLimitDataPointsFilter(const Parameters ¶ms=Parameters())
Constructor, uses parameter interface.
The superclass of classes that are constructed using generic parameters. This class provides the para...
const M::mapped_type & get(const M &m, const typename M::key_type &k)
void conservativeResize(Index pointCount)
Resize the cloud to pointCount points, conserving existing ones.
virtual void inPlaceFilter(DataPoints &cloud)
Apply these filters to a point cloud without copying.
Functions and classes that are not dependant on scalar type are defined in this namespace.
virtual DataPoints filter(const DataPoints &input)
Apply filters to input point cloud. This is the non-destructive version and returns a copy.