Point Cloud Library (PCL)
1.3.1
|
SurfaceReconstruction represents the base surface reconstruction class. More...
#include <pcl/surface/reconstruction.h>
Public Types | |
typedef pcl::search::Search < PointInT > | KdTree |
typedef pcl::search::Search < PointInT >::Ptr | KdTreePtr |
typedef pcl::PointCloud< PointT > | PointCloud |
typedef PointCloud::Ptr | PointCloudPtr |
typedef PointCloud::ConstPtr | PointCloudConstPtr |
typedef PointIndices::Ptr | PointIndicesPtr |
typedef PointIndices::ConstPtr | PointIndicesConstPtr |
Public Member Functions | |
SurfaceReconstruction () | |
Constructor. | |
void | reconstruct (pcl::PolygonMesh &output) |
Base method for surface reconstruction for all points given in <setInputCloud (), setIndices ()> | |
void | setSearchMethod (const KdTreePtr &tree) |
Provide a pointer to the search object. | |
KdTreePtr | getSearchMethod () |
Get a pointer to the search method used. | |
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 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 PointT & | operator[] (size_t pos) |
Override PointCloud operator[] to shorten code. |
SurfaceReconstruction represents the base surface reconstruction class.
typedef pcl::search::Search<PointInT> pcl::SurfaceReconstruction::KdTree |
Reimplemented in pcl::MarchingCubes, pcl::GreedyProjectionTriangulation, and pcl::GridProjection.
Definition at line 63 of file reconstruction.h.
typedef pcl::search::Search<PointInT>::Ptr pcl::SurfaceReconstruction::KdTreePtr |
Reimplemented in pcl::MarchingCubes, pcl::GreedyProjectionTriangulation, and pcl::GridProjection.
Definition at line 64 of file reconstruction.h.
typedef pcl::PointCloud<PointT> pcl::PCLBase::PointCloud [inherited] |
Definition at line 74 of file pcl_base.h.
typedef PointCloud::ConstPtr pcl::PCLBase::PointCloudConstPtr [inherited] |
Definition at line 76 of file pcl_base.h.
typedef PointCloud::Ptr pcl::PCLBase::PointCloudPtr [inherited] |
Definition at line 75 of file pcl_base.h.
typedef PointIndices::ConstPtr pcl::PCLBase::PointIndicesConstPtr [inherited] |
Definition at line 79 of file pcl_base.h.
typedef PointIndices::Ptr pcl::PCLBase::PointIndicesPtr [inherited] |
Definition at line 78 of file pcl_base.h.
pcl::SurfaceReconstruction::SurfaceReconstruction | ( | ) | [inline] |
Constructor.
Definition at line 67 of file reconstruction.h.
IndicesPtr const pcl::PCLBase::getIndices | ( | ) | [inline, inherited] |
Get a pointer to the vector of indices used.
Definition at line 171 of file pcl_base.h.
PointCloudConstPtr const pcl::PCLBase::getInputCloud | ( | ) | [inline, inherited] |
Get a pointer to the input point cloud dataset.
Definition at line 99 of file pcl_base.h.
KdTreePtr pcl::SurfaceReconstruction::getSearchMethod | ( | ) | [inline] |
Get a pointer to the search method used.
Definition at line 86 of file reconstruction.h.
const PointT& pcl::PCLBase::operator[] | ( | size_t | pos | ) | [inline, inherited] |
Override PointCloud operator[] to shorten code.
pos | position in indices_ vector |
Definition at line 178 of file pcl_base.h.
void pcl::SurfaceReconstruction::reconstruct | ( | pcl::PolygonMesh & | output | ) |
Base method for surface reconstruction for all points given in <setInputCloud (), setIndices ()>
output | the resultant reconstructed surface model |
NOTE: passing in boost shared pointer with * as const& should be OK here
NOTE: usually the number of triangles is around twice the number of vertices
Definition at line 44 of file reconstruction.hpp.
void pcl::PCLBase::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 105 of file pcl_base.h.
void pcl::PCLBase::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 116 of file pcl_base.h.
void pcl::PCLBase::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 132 of file pcl_base.h.
virtual void pcl::PCLBase::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 95 of file pcl_base.h.
void pcl::SurfaceReconstruction::setSearchMethod | ( | const KdTreePtr & | tree | ) | [inline] |
Provide a pointer to the search object.
tree | a pointer to the spatial search object. |
Definition at line 79 of file reconstruction.h.