PlanarPolygon represents a planar (2D) polygon, potentially in a 3D space. More...
#include <planar_polygon.h>
Public Member Functions | |
Eigen::Vector4f & | getCoefficients () |
Getter for the coefficients. | |
const Eigen::Vector4f & | getCoefficients () const |
Getter for the coefficients. | |
pcl::PointCloud< PointT > ::VectorType & | getContour () |
Getter for the contour / boundary. | |
const pcl::PointCloud< PointT > ::VectorType & | getContour () const |
Getter for the contour / boundary. | |
PlanarPolygon () | |
Empty constructor for PlanarPolygon. | |
PlanarPolygon (typename pcl::PointCloud< PointT >::VectorType &contour, Eigen::Vector4f &coefficients) | |
Constructor for PlanarPolygon. | |
virtual | ~PlanarPolygon () |
Destructor. | |
Protected Attributes | |
Eigen::Vector4f | coefficients_ |
A list of model coefficients (a,b,c,d). | |
pcl::PointCloud< PointT > ::VectorType | contour_ |
A list of points on the boundary/contour of the planar region. |
PlanarPolygon represents a planar (2D) polygon, potentially in a 3D space.
Definition at line 52 of file planar_polygon.h.
pcl::PlanarPolygon< PointT >::PlanarPolygon | ( | ) | [inline] |
Empty constructor for PlanarPolygon.
Definition at line 56 of file planar_polygon.h.
pcl::PlanarPolygon< PointT >::PlanarPolygon | ( | typename pcl::PointCloud< PointT >::VectorType & | contour, |
Eigen::Vector4f & | coefficients | ||
) | [inline] |
Constructor for PlanarPolygon.
[in] | contour | a vector of points bounding the polygon |
[in] | coefficients | a vector of the plane's coefficients (a,b,c,d) |
Definition at line 63 of file planar_polygon.h.
virtual pcl::PlanarPolygon< PointT >::~PlanarPolygon | ( | ) | [inline, virtual] |
Destructor.
Definition at line 69 of file planar_polygon.h.
Eigen::Vector4f& pcl::PlanarPolygon< PointT >::getCoefficients | ( | ) | [inline] |
Getter for the coefficients.
Definition at line 87 of file planar_polygon.h.
const Eigen::Vector4f& pcl::PlanarPolygon< PointT >::getCoefficients | ( | ) | const [inline] |
Getter for the coefficients.
Definition at line 94 of file planar_polygon.h.
pcl::PointCloud<PointT>::VectorType& pcl::PlanarPolygon< PointT >::getContour | ( | ) | [inline] |
Getter for the contour / boundary.
Definition at line 73 of file planar_polygon.h.
const pcl::PointCloud<PointT>::VectorType& pcl::PlanarPolygon< PointT >::getContour | ( | ) | const [inline] |
Getter for the contour / boundary.
Definition at line 80 of file planar_polygon.h.
Eigen::Vector4f pcl::PlanarPolygon< PointT >::coefficients_ [protected] |
A list of model coefficients (a,b,c,d).
Definition at line 104 of file planar_polygon.h.
pcl::PointCloud<PointT>::VectorType pcl::PlanarPolygon< PointT >::contour_ [protected] |
A list of points on the boundary/contour of the planar region.
Definition at line 101 of file planar_polygon.h.