|
Point Cloud Library (PCL)
1.15.1-dev
|
Implementation of a plane clipper in 3D. More...
#include <pcl/filters/plane_clipper3D.h>
Inheritance diagram for pcl::PlaneClipper3D< PointT >:
Collaboration diagram for pcl::PlaneClipper3D< PointT >:Public Types | |
| using | Ptr = shared_ptr< PlaneClipper3D< PointT > > |
| using | ConstPtr = shared_ptr< const PlaneClipper3D< PointT > > |
Public Types inherited from pcl::Clipper3D< PointT > | |
| using | Ptr = shared_ptr< Clipper3D< PointT > > |
| using | ConstPtr = shared_ptr< const Clipper3D< PointT > > |
Public Member Functions | |
| PCL_MAKE_ALIGNED_OPERATOR_NEW | PlaneClipper3D (const Eigen::Vector4f &plane_params) |
| Constructor taking the homogeneous representation of the plane as a Eigen::Vector4f. More... | |
| virtual | ~PlaneClipper3D () noexcept=default |
| void | setPlaneParameters (const Eigen::Vector4f &plane_params) |
| Set new plane parameters. More... | |
| const Eigen::Vector4f & | getPlaneParameters () const |
| return the current plane parameters More... | |
| virtual bool | clipPoint3D (const PointT &point) const |
| interface to clip a single point More... | |
| virtual bool | clipLineSegment3D (PointT &from, PointT &to) const |
| virtual void | clipPlanarPolygon3D (std::vector< PointT, Eigen::aligned_allocator< PointT > > &polygon) const |
| virtual void | clipPlanarPolygon3D (const std::vector< PointT, Eigen::aligned_allocator< PointT > > &polygon, std::vector< PointT, Eigen::aligned_allocator< PointT > > &clipped_polygon) const |
| virtual void | clipPointCloud3D (const pcl::PointCloud< PointT > &cloud_in, Indices &clipped, const Indices &indices=Indices()) const |
| interface to clip a point cloud More... | |
| virtual Clipper3D< PointT > * | clone () const |
| polymorphic method to clone the underlying clipper with its parameters. More... | |
Public Member Functions inherited from pcl::Clipper3D< PointT > | |
| virtual | ~Clipper3D () noexcept=default |
| virtual destructor. More... | |
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.
| using pcl::PlaneClipper3D< PointT >::ConstPtr = shared_ptr< const PlaneClipper3D<PointT> > |
Definition at line 55 of file plane_clipper3D.h.
| using pcl::PlaneClipper3D< PointT >::Ptr = shared_ptr< PlaneClipper3D<PointT> > |
Definition at line 54 of file plane_clipper3D.h.
| pcl::PlaneClipper3D< PointT >::PlaneClipper3D | ( | const Eigen::Vector4f & | plane_params | ) |
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.
|
virtualdefaultnoexcept |
|
virtual |
Implements pcl::Clipper3D< PointT >.
Definition at line 80 of file plane_clipper3D.hpp.
|
virtual |
Implements pcl::Clipper3D< PointT >.
Definition at line 109 of file plane_clipper3D.hpp.
References pcl::geometry::distance().
|
virtual |
Implements pcl::Clipper3D< PointT >.
Definition at line 166 of file plane_clipper3D.hpp.
|
virtual |
interface to clip a single point
| [in] | point | the point to check against |
Implements pcl::Clipper3D< PointT >.
Definition at line 71 of file plane_clipper3D.hpp.
|
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 175 of file plane_clipper3D.hpp.
References pcl::PointCloud< PointT >::size().
|
virtual |
polymorphic method to clone the underlying clipper with its parameters.
Implements pcl::Clipper3D< PointT >.
Definition at line 59 of file plane_clipper3D.hpp.
|
protected |
Definition at line 65 of file plane_clipper3D.hpp.
| const Eigen::Vector4f & pcl::PlaneClipper3D< PointT >::getPlaneParameters |
return the current plane parameters
Definition at line 53 of file plane_clipper3D.hpp.
| void pcl::PlaneClipper3D< PointT >::setPlaneParameters | ( | const Eigen::Vector4f & | plane_params | ) |
Set new plane parameters.
| plane_params |
Definition at line 47 of file plane_clipper3D.hpp.