38 #ifndef PCL_CLIPPER3D_H_
39 #define PCL_CLIPPER3D_H_
40 #include <pcl/point_cloud.h>
50 template<
typename Po
intT>
54 typedef boost::shared_ptr< Clipper3D<PointT> >
Ptr;
55 typedef boost::shared_ptr< const Clipper3D<PointT> >
ConstPtr;
93 clipPlanarPolygon3D (
const std::vector<PointT>& polygon, std::vector<PointT>& clipped_polygon)
const = 0;
114 #ifdef PCL_NO_PRECOMPILE
115 #include <pcl/filters/impl/clipper3D.hpp>
118 #endif // PCL_CLIPPER3D_H_
virtual bool clipPoint3D(const PointT &point) const =0
interface to clip a single point
boost::shared_ptr< Clipper3D< PointT > > Ptr
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 > &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, std::vector< int > &clipped, const std::vector< int > &indices=std::vector< int >()) const =0
interface to clip a point cloud
Base class for 3D clipper objects.
virtual ~Clipper3D()
virtual destructor.
virtual Clipper3D< PointT > * clone() const =0
polymorphic method to clone the underlying clipper with its parameters.
boost::shared_ptr< const Clipper3D< PointT > > ConstPtr
A point structure representing Euclidean xyz coordinates, and the RGB color.