Point Cloud Library (PCL)
1.9.1-dev
|
Base class for 3D clipper objects. More...
#include <pcl/filters/clipper3D.h>
Public Types | |
typedef boost::shared_ptr< Clipper3D< PointT > > | Ptr |
typedef boost::shared_ptr< const Clipper3D< PointT > > | ConstPtr |
Public Member Functions | |
virtual | ~Clipper3D () throw () |
virtual destructor. More... | |
virtual bool | clipPoint3D (const PointT &point) const =0 |
interface to clip a single point More... | |
virtual bool | clipLineSegment3D (PointT &pt1, PointT &pt2) const =0 |
interface to clip a line segment given by two end points. More... | |
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 More... | |
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 More... | |
virtual void | clipPointCloud3D (const pcl::PointCloud< PointT > &cloud_in, std::vector< int > &clipped, const std::vector< int > &indices=std::vector< int >()) const =0 |
interface to clip a point cloud More... | |
virtual Clipper3D< PointT > * | clone () const =0 |
polymorphic method to clone the underlying clipper with its parameters. More... | |
Base class for 3D clipper objects.
Definition at line 52 of file clipper3D.h.
typedef boost::shared_ptr< const Clipper3D<PointT> > pcl::Clipper3D< PointT >::ConstPtr |
Definition at line 56 of file clipper3D.h.
typedef boost::shared_ptr< Clipper3D<PointT> > pcl::Clipper3D< PointT >::Ptr |
Definition at line 55 of file clipper3D.h.
|
inlinevirtual |
virtual destructor.
Never throws an exception.
Definition at line 61 of file clipper3D.h.
References pcl::Clipper3D< PointT >::clipLineSegment3D(), pcl::Clipper3D< PointT >::clipPlanarPolygon3D(), pcl::Clipper3D< PointT >::clipPoint3D(), pcl::Clipper3D< PointT >::clipPointCloud3D(), and pcl::Clipper3D< PointT >::clone().
|
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::BoxClipper3D< PointT >, and pcl::PlaneClipper3D< PointT >.
Referenced by pcl::Clipper3D< PointT >::~Clipper3D().
|
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::BoxClipper3D< PointT >, and pcl::PlaneClipper3D< PointT >.
Referenced by pcl::Clipper3D< PointT >::~Clipper3D().
|
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::BoxClipper3D< PointT >, and pcl::PlaneClipper3D< PointT >.
|
pure virtual |
interface to clip a single point
[in] | point | the point to check against |
Implemented in pcl::BoxClipper3D< PointT >, and pcl::PlaneClipper3D< PointT >.
Referenced by pcl::Clipper3D< PointT >::~Clipper3D().
|
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::BoxClipper3D< PointT >, and pcl::PlaneClipper3D< PointT >.
Referenced by pcl::Clipper3D< PointT >::~Clipper3D().
|
pure virtual |
polymorphic method to clone the underlying clipper with its parameters.
Implemented in pcl::BoxClipper3D< PointT >, and pcl::PlaneClipper3D< PointT >.
Referenced by pcl::Clipper3D< PointT >::~Clipper3D().