Base class for 3D clipper objects. More...
#include <clipper3D.h>
Public Member Functions | |
virtual bool | clipLineSegment3D (PointT &pt1, PointT &pt2) const =0 |
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. | |
virtual void | clipPlanarPolygon3D (std::vector< PointT > &polygon) const =0 |
interface to clip a planar polygon given by an ordered list of points | |
virtual void | clipPlanarPolygon3D (const std::vector< PointT > &polygon, std::vector< PointT > &clipped_polygon) const =0 |
interface to clip a planar polygon given by an ordered list of points | |
virtual bool | clipPoint3D (const PointT &point) const =0 |
interface to clip a single point | |
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 | |
virtual Clipper3D< PointT > * | clone () const =0 |
polymorphic method to clone the underlying clipper with its parameters. | |
virtual | ~Clipper3D () throw () |
virtual destructor. Never throws an exception. |
Base class for 3D clipper objects.
Definition at line 50 of file clipper3D.h.
virtual pcl::Clipper3D< PointT >::~Clipper3D | ( | ) | throw () [inline, virtual] |
virtual destructor. Never throws an exception.
Definition at line 56 of file clipper3D.h.
virtual bool pcl::Clipper3D< PointT >::clipLineSegment3D | ( | PointT & | pt1, |
PointT & | pt2 | ||
) | const [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 >.
virtual void pcl::Clipper3D< PointT >::clipPlanarPolygon3D | ( | std::vector< PointT > & | polygon | ) | const [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 |
virtual void pcl::Clipper3D< PointT >::clipPlanarPolygon3D | ( | const std::vector< PointT > & | polygon, |
std::vector< PointT > & | clipped_polygon | ||
) | const [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 >.
virtual bool pcl::Clipper3D< PointT >::clipPoint3D | ( | const PointT & | point | ) | const [pure virtual] |
interface to clip a single point
[in] | point | the point to check against |
Implemented in pcl::PlaneClipper3D< PointT >.
virtual void pcl::Clipper3D< PointT >::clipPointCloud3D | ( | const pcl::PointCloud< PointT > & | cloud_in, |
std::vector< int > & | clipped, | ||
const std::vector< int > & | indices = std::vector< int >() |
||
) | const [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 >.
virtual Clipper3D<PointT>* pcl::Clipper3D< PointT >::clone | ( | ) | const [pure virtual] |
polymorphic method to clone the underlying clipper with its parameters.
Implemented in pcl::PlaneClipper3D< PointT >.