38 #ifndef PCL_CLIPPER3D_H_ 39 #define PCL_CLIPPER3D_H_ 40 #include <pcl/point_cloud.h> 42 #include <Eigen/StdVector> 51 template<
typename Po
intT>
55 typedef boost::shared_ptr< Clipper3D<PointT> >
Ptr;
56 typedef boost::shared_ptr< const Clipper3D<PointT> >
ConstPtr;
94 clipPlanarPolygon3D (
const std::vector<
PointT, Eigen::aligned_allocator<PointT> >& polygon, std::vector<
PointT, Eigen::aligned_allocator<PointT> >& clipped_polygon)
const = 0;
112 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
116 #endif // PCL_CLIPPER3D_H_ This file defines compatibility wrappers for low level I/O functions.
virtual Clipper3D< PointT > * clone() const =0
polymorphic method to clone the underlying clipper with its parameters.
boost::shared_ptr< Clipper3D< PointT > > Ptr
PointCloud represents the base class in PCL for storing collections of 3D points. ...
virtual bool clipPoint3D(const PointT &point) const =0
interface to clip a single point
boost::shared_ptr< const Clipper3D< PointT > > ConstPtr
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
A point structure representing Euclidean xyz coordinates, and the RGB color.
virtual bool clipLineSegment3D(PointT &pt1, PointT &pt2) const =0
interface to clip a line segment given by two end points.
Base class for 3D clipper objects.
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 ~Clipper3D()
virtual destructor.