Implementation of a plane clipper in 3D. More...
#include <pcl/filters/plane_clipper3D.h>


Public Types | |
| typedef boost::shared_ptr < PlaneClipper3D< PointT > > | Ptr |
| typedef boost::shared_ptr < const PlaneClipper3D< PointT > > | ConstPtr |
Public Member Functions | |
| PlaneClipper3D (const Eigen::Vector4f &plane_params) | |
| Constructor taking the homogeneous representation of the plane as a Eigen::Vector4f. | |
| virtual | ~PlaneClipper3D () throw () |
| void | setPlaneParameters (const Eigen::Vector4f &plane_params) |
| Set new plane parameters. | |
| const Eigen::Vector4f & | getPlaneParameters () const |
| return the current plane parameters | |
| virtual bool | clipPoint3D (const PointT &point) const |
| interface to clip a single point | |
| virtual bool | clipLineSegment3D (PointT &from, PointT &to) const |
| virtual void | clipPlanarPolygon3D (std::vector< PointT > &polygon) const |
| virtual void | clipPlanarPolygon3D (const std::vector< PointT > &polygon, std::vector< PointT > &clipped_polygon) const |
| 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 | |
| virtual Clipper3D< PointT > * | clone () const |
| polymorphic method to clone the underlying clipper with its parameters. | |
Protected Member Functions | |
| float | getDistance (const PointT &point) const |
Implementation of a plane clipper in 3D.
Definition at line 50 of file plane_clipper3D.h.
| typedef boost::shared_ptr< const PlaneClipper3D<PointT> > pcl::PlaneClipper3D< PointT >::ConstPtr |
Reimplemented from pcl::Clipper3D< PointT >.
Definition at line 55 of file plane_clipper3D.h.
| typedef boost::shared_ptr< PlaneClipper3D<PointT> > pcl::PlaneClipper3D< PointT >::Ptr |
Reimplemented from pcl::Clipper3D< PointT >.
Definition at line 54 of file plane_clipper3D.h.
| pcl::PlaneClipper3D< PointT >::PlaneClipper3D | ( | const Eigen::Vector4f & | plane_params | ) | [inline] |
Constructor taking the homogeneous representation of the plane as a Eigen::Vector4f.
| [in] | plane_params | plane parameters, need not necessarily be normalized |
Definition at line 41 of file plane_clipper3D.hpp.
| pcl::PlaneClipper3D< PointT >::~PlaneClipper3D | ( | ) | throw () [inline, virtual] |
Definition at line 47 of file plane_clipper3D.hpp.
| bool pcl::PlaneClipper3D< PointT >::clipLineSegment3D | ( | PointT & | point1, | |
| PointT & | point2 | |||
| ) | const [inline, virtual] |
Implements pcl::Clipper3D< PointT >.
Definition at line 85 of file plane_clipper3D.hpp.
References pcl::PlaneClipper3D< PointT >::getDistance().
Referenced by pcl::PlaneClipper3D< PointT >::clipPlanarPolygon3D().
| void pcl::PlaneClipper3D< PointT >::clipPlanarPolygon3D | ( | const std::vector< PointT > & | polygon, | |
| std::vector< PointT > & | clipped_polygon | |||
| ) | const [inline, virtual] |
Implements pcl::Clipper3D< PointT >.
Definition at line 114 of file plane_clipper3D.hpp.
References pcl::PlaneClipper3D< PointT >::clipLineSegment3D(), pcl::PlaneClipper3D< PointT >::clipPoint3D(), and pcl::PlaneClipper3D< PointT >::getDistance().
| void pcl::PlaneClipper3D< PointT >::clipPlanarPolygon3D | ( | std::vector< PointT > & | polygon | ) | const [inline, virtual] |
Implements pcl::Clipper3D< PointT >.
Definition at line 171 of file plane_clipper3D.hpp.
| bool pcl::PlaneClipper3D< PointT >::clipPoint3D | ( | const PointT & | point | ) | const [inline, virtual] |
interface to clip a single point
| [in] | point | the point to check against |
Implements pcl::Clipper3D< PointT >.
Definition at line 76 of file plane_clipper3D.hpp.
Referenced by pcl::PlaneClipper3D< PointT >::clipPlanarPolygon3D(), and pcl::PlaneClipper3D< PointT >::clipPointCloud3D().
| void pcl::PlaneClipper3D< PointT >::clipPointCloud3D | ( | const pcl::PointCloud< PointT > & | cloud_in, | |
| std::vector< int > & | clipped, | |||
| const std::vector< int > & | indices = std::vector< int >() | |||
| ) | const [inline, 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. |
Implements pcl::Clipper3D< PointT >.
Definition at line 180 of file plane_clipper3D.hpp.
References pcl::PlaneClipper3D< PointT >::clipPoint3D(), and pcl::PointCloud< PointT >::size().
| pcl::Clipper3D< PointT > * pcl::PlaneClipper3D< PointT >::clone | ( | ) | const [inline, virtual] |
polymorphic method to clone the underlying clipper with its parameters.
Implements pcl::Clipper3D< PointT >.
Definition at line 64 of file plane_clipper3D.hpp.
| float pcl::PlaneClipper3D< PointT >::getDistance | ( | const PointT & | point | ) | const [inline, protected] |
Definition at line 70 of file plane_clipper3D.hpp.
Referenced by pcl::PlaneClipper3D< PointT >::clipLineSegment3D(), and pcl::PlaneClipper3D< PointT >::clipPlanarPolygon3D().
| const Eigen::Vector4f & pcl::PlaneClipper3D< PointT >::getPlaneParameters | ( | ) | const [inline] |
return the current plane parameters
Definition at line 58 of file plane_clipper3D.hpp.
| void pcl::PlaneClipper3D< PointT >::setPlaneParameters | ( | const Eigen::Vector4f & | plane_params | ) | [inline] |
Set new plane parameters.
| plane_params |
Definition at line 52 of file plane_clipper3D.hpp.