38 #ifndef PCL_PLANE_CLIPPER3D_H_
39 #define PCL_PLANE_CLIPPER3D_H_
40 #include "clipper3D.h"
49 template<
typename Po
intT>
54 typedef boost::shared_ptr< PlaneClipper3D<PointT> >
Ptr;
55 typedef boost::shared_ptr< const PlaneClipper3D<PointT> >
ConstPtr;
101 Eigen::Vector4f plane_params_;
105 #ifdef PCL_NO_PRECOMPILE
106 #include <pcl/filters/impl/plane_clipper3D.hpp>
109 #endif // PCL_PLANE_CLIPPER3D_H_
virtual ~PlaneClipper3D()
PointCloud represents the base class in PCL for storing collections of 3D points. ...
virtual void clipPointCloud3D(const pcl::PointCloud< PointT > &cloud_in, std::vector< int > &clipped, const std::vector< int > &indices=std::vector< int >()) const
interface to clip a point cloud
Implementation of a plane clipper in 3D.
virtual bool clipPoint3D(const PointT &point) const
interface to clip a single point
boost::shared_ptr< const PlaneClipper3D< PointT > > ConstPtr
PlaneClipper3D(const Eigen::Vector4f &plane_params)
Constructor taking the homogeneous representation of the plane as a Eigen::Vector4f.
const Eigen::Vector4f & getPlaneParameters() const
return the current plane parameters
virtual void clipPlanarPolygon3D(std::vector< PointT > &polygon) const
virtual Clipper3D< PointT > * clone() const
polymorphic method to clone the underlying clipper with its parameters.
boost::shared_ptr< PlaneClipper3D< PointT > > Ptr
Base class for 3D clipper objects.
void setPlaneParameters(const Eigen::Vector4f &plane_params)
Set new plane parameters.
float getDistance(const PointT &point) const
virtual bool clipLineSegment3D(PointT &from, PointT &to) const
A point structure representing Euclidean xyz coordinates, and the RGB color.