|
Point Cloud Library (PCL)
1.4.0
|
MovingLeastSquares represent an implementation of the MLS (Moving Least Squares) algorithm for data smoothing and improved normal estimation. More...
#include <pcl/surface/mls.h>


Public Types | |
| typedef pcl::search::Search < PointInT > | KdTree |
| typedef pcl::search::Search < PointInT >::Ptr | KdTreePtr |
| typedef pcl::PointCloud < NormalOutT > | NormalCloudOut |
| typedef NormalCloudOut::Ptr | NormalCloudOutPtr |
| typedef NormalCloudOut::ConstPtr | NormalCloudOutConstPtr |
| typedef pcl::PointCloud< PointInT > | PointCloudIn |
| typedef PointCloudIn::Ptr | PointCloudInPtr |
| typedef PointCloudIn::ConstPtr | PointCloudInConstPtr |
| typedef boost::function< int(int, double, std::vector< int > &, std::vector< float > &)> | SearchMethod |
| typedef pcl::PointCloud< PointInT > | PointCloud |
| typedef PointCloud::Ptr | PointCloudPtr |
| typedef PointCloud::ConstPtr | PointCloudConstPtr |
| typedef PointIndices::Ptr | PointIndicesPtr |
| typedef PointIndices::ConstPtr | PointIndicesConstPtr |
Public Member Functions | |
| MovingLeastSquares () | |
| Empty constructor. | |
| void | setOutputNormals (NormalCloudOutPtr cloud) |
| Provide a pointer to a point cloud where normal information should be saved. | |
| NormalCloudOutPtr | getOutputNormals () |
| Returns a pointer to the point cloud where normal information was saved during reconstruction. | |
| void | setSearchMethod (const KdTreePtr &tree) |
| Provide a pointer to the search object. | |
| KdTreePtr | getSearchMethod () |
| Get a pointer to the search method used. | |
| void | setPolynomialOrder (int order) |
| Set the order of the polynomial to be fit. | |
| int | getPolynomialOrder () |
| Get the order of the polynomial to be fit. | |
| void | setPolynomialFit (bool polynomial_fit) |
| Sets whether the surface and normal are approximated using a polynomial, or only via tangent estimation. | |
| bool | getPolynomialFit () |
| Get the polynomial_fit value (true if the surface and normal are approximated using a polynomial). | |
| void | setSearchRadius (double radius) |
| Set the sphere radius that is to be used for determining the k-nearest neighbors used for fitting. | |
| double | getSearchRadius () |
| Get the sphere radius used for determining the k-nearest neighbors. | |
| void | setSqrGaussParam (double sqr_gauss_param) |
| Set the parameter used for distance based weighting of neighbors (the square of the search radius works best in general). | |
| double | getSqrGaussParam () |
| Get the parameter for distance based weighting of neighbors. | |
| void | reconstruct (PointCloudIn &output) |
| Base method for surface reconstruction for all points given in <setInputCloud (), setIndices ()> | |
| virtual void | setInputCloud (const PointCloudConstPtr &cloud) |
| Provide a pointer to the input dataset. | |
| PointCloudConstPtr const | getInputCloud () |
| Get a pointer to the input point cloud dataset. | |
| void | setIndices (const IndicesPtr &indices) |
| Provide a pointer to the vector of indices that represents the input data. | |
| void | setIndices (const IndicesConstPtr &indices) |
| Provide a pointer to the vector of indices that represents the input data. | |
| void | setIndices (const PointIndicesConstPtr &indices) |
| Provide a pointer to the vector of indices that represents the input data. | |
| void | setIndices (size_t row_start, size_t col_start, size_t nb_rows, size_t nb_cols) |
| Set the indices for the points laying within an interest region of the point cloud. | |
| IndicesPtr const | getIndices () |
| Get a pointer to the vector of indices used. | |
| const PointInT & | operator[] (size_t pos) |
| Override PointCloud operator[] to shorten code. | |
MovingLeastSquares represent an implementation of the MLS (Moving Least Squares) algorithm for data smoothing and improved normal estimation.
| typedef pcl::search::Search<PointInT> pcl::MovingLeastSquares< PointInT, NormalOutT >::KdTree |
| typedef pcl::search::Search<PointInT>::Ptr pcl::MovingLeastSquares< PointInT, NormalOutT >::KdTreePtr |
| typedef pcl::PointCloud<NormalOutT> pcl::MovingLeastSquares< PointInT, NormalOutT >::NormalCloudOut |
| typedef NormalCloudOut::ConstPtr pcl::MovingLeastSquares< PointInT, NormalOutT >::NormalCloudOutConstPtr |
| typedef NormalCloudOut::Ptr pcl::MovingLeastSquares< PointInT, NormalOutT >::NormalCloudOutPtr |
typedef pcl::PointCloud<PointInT > pcl::PCLBase< PointInT >::PointCloud [inherited] |
Definition at line 76 of file pcl_base.h.
typedef PointCloud::ConstPtr pcl::PCLBase< PointInT >::PointCloudConstPtr [inherited] |
Definition at line 78 of file pcl_base.h.
| typedef pcl::PointCloud<PointInT> pcl::MovingLeastSquares< PointInT, NormalOutT >::PointCloudIn |
| typedef PointCloudIn::ConstPtr pcl::MovingLeastSquares< PointInT, NormalOutT >::PointCloudInConstPtr |
| typedef PointCloudIn::Ptr pcl::MovingLeastSquares< PointInT, NormalOutT >::PointCloudInPtr |
typedef PointCloud::Ptr pcl::PCLBase< PointInT >::PointCloudPtr [inherited] |
Reimplemented in pcl::OrganizedFastMesh< PointInT >.
Definition at line 77 of file pcl_base.h.
typedef PointIndices::ConstPtr pcl::PCLBase< PointInT >::PointIndicesConstPtr [inherited] |
Definition at line 81 of file pcl_base.h.
typedef PointIndices::Ptr pcl::PCLBase< PointInT >::PointIndicesPtr [inherited] |
Definition at line 80 of file pcl_base.h.
| typedef boost::function<int (int, double, std::vector<int> &, std::vector<float> &)> pcl::MovingLeastSquares< PointInT, NormalOutT >::SearchMethod |
| pcl::MovingLeastSquares< PointInT, NormalOutT >::MovingLeastSquares | ( | ) | [inline] |
| IndicesPtr const pcl::PCLBase< PointInT >::getIndices | ( | ) | [inline, inherited] |
Get a pointer to the vector of indices used.
Definition at line 192 of file pcl_base.h.
| PointCloudConstPtr const pcl::PCLBase< PointInT >::getInputCloud | ( | ) | [inline, inherited] |
Get a pointer to the input point cloud dataset.
Definition at line 109 of file pcl_base.h.
| NormalCloudOutPtr pcl::MovingLeastSquares< PointInT, NormalOutT >::getOutputNormals | ( | ) | [inline] |
| bool pcl::MovingLeastSquares< PointInT, NormalOutT >::getPolynomialFit | ( | ) | [inline] |
| int pcl::MovingLeastSquares< PointInT, NormalOutT >::getPolynomialOrder | ( | ) | [inline] |
| KdTreePtr pcl::MovingLeastSquares< PointInT, NormalOutT >::getSearchMethod | ( | ) | [inline] |
| double pcl::MovingLeastSquares< PointInT, NormalOutT >::getSearchRadius | ( | ) | [inline] |
| double pcl::MovingLeastSquares< PointInT, NormalOutT >::getSqrGaussParam | ( | ) | [inline] |
| const PointInT & pcl::PCLBase< PointInT >::operator[] | ( | size_t | pos | ) | [inline, inherited] |
Override PointCloud operator[] to shorten code.
| pos | position in indices_ vector |
Definition at line 199 of file pcl_base.h.
| void pcl::MovingLeastSquares< PointInT, NormalOutT >::reconstruct | ( | PointCloudIn & | output | ) |
| void pcl::PCLBase< PointInT >::setIndices | ( | const IndicesPtr & | indices | ) | [inline, inherited] |
Provide a pointer to the vector of indices that represents the input data.
| indices | a pointer to the vector of indices that represents the input data. |
Definition at line 115 of file pcl_base.h.
| void pcl::PCLBase< PointInT >::setIndices | ( | const IndicesConstPtr & | indices | ) | [inline, inherited] |
Provide a pointer to the vector of indices that represents the input data.
| indices | a pointer to the vector of indices that represents the input data. |
Definition at line 126 of file pcl_base.h.
| void pcl::PCLBase< PointInT >::setIndices | ( | const PointIndicesConstPtr & | indices | ) | [inline, inherited] |
Provide a pointer to the vector of indices that represents the input data.
| indices | a pointer to the vector of indices that represents the input data. |
Definition at line 137 of file pcl_base.h.
| void pcl::PCLBase< PointInT >::setIndices | ( | size_t | row_start, |
| size_t | col_start, | ||
| size_t | nb_rows, | ||
| size_t | nb_cols | ||
| ) | [inline, inherited] |
Set the indices for the points laying within an interest region of the point cloud.
| row_start | the offset on rows |
| col_start | the offset on columns |
| nb_rows | the number of rows to be considered row_start included |
| nb_cols | the number of columns to be considered col_start included |
Definition at line 153 of file pcl_base.h.
| virtual void pcl::PCLBase< PointInT >::setInputCloud | ( | const PointCloudConstPtr & | cloud | ) | [inline, virtual, inherited] |
Provide a pointer to the input dataset.
| cloud | the const boost shared pointer to a PointCloud message |
Definition at line 105 of file pcl_base.h.
| void pcl::MovingLeastSquares< PointInT, NormalOutT >::setOutputNormals | ( | NormalCloudOutPtr | cloud | ) | [inline] |
Provide a pointer to a point cloud where normal information should be saved.
| [in] | cloud | the const boost shared pointer to a point cloud with normal |
| void pcl::MovingLeastSquares< PointInT, NormalOutT >::setPolynomialFit | ( | bool | polynomial_fit | ) | [inline] |
| void pcl::MovingLeastSquares< PointInT, NormalOutT >::setPolynomialOrder | ( | int | order | ) | [inline] |
| void pcl::MovingLeastSquares< PointInT, NormalOutT >::setSearchMethod | ( | const KdTreePtr & | tree | ) | [inline] |
| void pcl::MovingLeastSquares< PointInT, NormalOutT >::setSearchRadius | ( | double | radius | ) | [inline] |
Set the sphere radius that is to be used for determining the k-nearest neighbors used for fitting.
| [in] | radius | the sphere radius that is to contain all k-nearest neighbors |
| void pcl::MovingLeastSquares< PointInT, NormalOutT >::setSqrGaussParam | ( | double | sqr_gauss_param | ) | [inline] |
1.7.6.1