Point Cloud Library (PCL) 1.12.0
|
Base class for 3D clipper objects. More...
#include <pcl/filters/clipper3D.h>
Public Types | |
using | Ptr = shared_ptr<Clipper3D<PointT> > |
using | ConstPtr = shared_ptr<const Clipper3D<PointT> > |
Public Member Functions | |
virtual | ~Clipper3D () noexcept |
virtual destructor. | |
virtual bool | clipPoint3D (const PointT &point) const =0 |
interface to clip a single point | |
virtual bool | clipLineSegment3D (PointT &pt1, PointT &pt2) const =0 |
interface to clip a line segment given by two end points. | |
virtual void | clipPlanarPolygon3D (std::vector< PointT, Eigen::aligned_allocator< PointT > > &polygon) const =0 |
interface to clip a planar polygon given by an ordered list of points | |
virtual void | clipPlanarPolygon3D (const std::vector< PointT, Eigen::aligned_allocator< PointT > > &polygon, std::vector< PointT, Eigen::aligned_allocator< PointT > > &clipped_polygon) const =0 |
interface to clip a planar polygon given by an ordered list of points | |
virtual void | clipPointCloud3D (const pcl::PointCloud< PointT > &cloud_in, Indices &clipped, const Indices &indices=Indices()) const =0 |
interface to clip a point cloud | |
virtual Clipper3D< PointT > * | clone () const =0 |
polymorphic method to clone the underlying clipper with its parameters. | |
Base class for 3D clipper objects.
Definition at line 54 of file clipper3D.h.
Definition at line 58 of file clipper3D.h.
Definition at line 57 of file clipper3D.h.
|
pure virtual |
interface to clip a line segment given by two end points.
The order of the end points is unimportant and will sty the same after clipping. This means basically, that the direction of the line will not flip after clipping.
[in,out] | pt1 | start point of the line |
[in,out] | pt2 | end point of the line |
Implemented in pcl::PlaneClipper3D< PointT >, and pcl::BoxClipper3D< PointT >.
|
pure virtual |
interface to clip a planar polygon given by an ordered list of points
[in] | polygon | the polygon in any direction (ccw or cw) but ordered, thus two neighboring points define an edge of the polygon |
[out] | clipped_polygon | the clipped polygon |
Implemented in pcl::PlaneClipper3D< PointT >, and pcl::BoxClipper3D< PointT >.
|
pure virtual |
interface to clip a planar polygon given by an ordered list of points
[in,out] | polygon | the polygon in any direction (ccw or cw) but ordered, thus two neighboring points define an edge of the polygon |
Implemented in pcl::PlaneClipper3D< PointT >, and pcl::BoxClipper3D< PointT >.
interface to clip a single point
[in] | point | the point to check against |
Implemented in pcl::PlaneClipper3D< PointT >, and pcl::BoxClipper3D< PointT >.
|
pure virtual |
interface to clip a point cloud
[in] | cloud_in | input point cloud |
[out] | clipped | indices of points that remain after clipping the input cloud |
[in] | indices | the indices of points in the point cloud to be clipped. |
Implemented in pcl::PlaneClipper3D< PointT >, and pcl::BoxClipper3D< PointT >.
|
pure virtual |
polymorphic method to clone the underlying clipper with its parameters.
Implemented in pcl::PlaneClipper3D< PointT >, and pcl::BoxClipper3D< PointT >.