Point Cloud Library (PCL)
1.3.1
|
Simple triangulation/surface reconstruction for organized point clouds. More...
#include <pcl/surface/organized_fast_mesh.h>
Public Types | |
enum | TriangulationType { TRIANGLE_RIGHT_CUT, TRIANGLE_LEFT_CUT, TRIANGLE_ADAPTIVE_CUT, QUAD_MESH } |
typedef pcl::PointCloud < PointInT >::Ptr | PointCloudPtr |
typedef std::vector < pcl::Vertices > | Polygons |
typedef pcl::search::Search < PointInT > | KdTree |
typedef pcl::search::Search < PointInT >::Ptr | KdTreePtr |
Public Member Functions | |
OrganizedFastMesh () | |
~OrganizedFastMesh () | |
void | performReconstruction (pcl::PolygonMesh &output) |
Create the surface. | |
void | reconstructPolygons (std::vector< pcl::Vertices > &polygons) |
void | setMaxEdgeLength (float max_edge_length) |
Set a maximum edge length. | |
void | setTrianglePixelSize (int triangle_size) |
Set the edge length (in pixels) used for constructing the fixed mesh. | |
void | setTriangulationType (TriangulationType type) |
Set the triangulation type (see TriangulationType) | |
void | storeShadowedFaces (bool enable) |
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. |
Simple triangulation/surface reconstruction for organized point clouds.
Neighboring points (pixels in image space) are connected to construct a triangular mesh.
typedef pcl::search::Search<PointInT> pcl::SurfaceReconstruction::KdTree [inherited] |
Reimplemented in pcl::GreedyProjectionTriangulation.
Definition at line 63 of file reconstruction.h.
typedef pcl::search::Search<PointInT>::Ptr pcl::SurfaceReconstruction::KdTreePtr [inherited] |
Reimplemented in pcl::GreedyProjectionTriangulation.
Definition at line 64 of file reconstruction.h.
typedef pcl::PointCloud<PointInT>::Ptr pcl::OrganizedFastMesh::PointCloudPtr |
Definition at line 60 of file organized_fast_mesh.h.
typedef std::vector<pcl::Vertices> pcl::OrganizedFastMesh::Polygons |
Definition at line 62 of file organized_fast_mesh.h.
Definition at line 64 of file organized_fast_mesh.h.
pcl::OrganizedFastMesh::OrganizedFastMesh | ( | ) | [inline] |
Definition at line 72 of file organized_fast_mesh.h.
pcl::OrganizedFastMesh::~OrganizedFastMesh | ( | ) | [inline] |
Definition at line 81 of file organized_fast_mesh.h.
KdTreePtr pcl::SurfaceReconstruction::getSearchMethod | ( | ) | [inline, inherited] |
Get a pointer to the search method used.
Definition at line 86 of file reconstruction.h.
void pcl::OrganizedFastMesh::performReconstruction | ( | pcl::PolygonMesh & | output | ) | [virtual] |
Create the surface.
Simply uses image indices to create an initial polygonal mesh for organized point clouds. indices_ are ignored!
output | the resultant polygonal mesh |
Implements pcl::SurfaceReconstruction< PointInT >.
Definition at line 47 of file organized_fast_mesh.hpp.
void pcl::SurfaceReconstruction::reconstruct | ( | pcl::PolygonMesh & | output | ) | [inherited] |
Base method for surface reconstruction for all points given in <setInputCloud (), setIndices ()>
output | the resultant reconstructed surface model |
void pcl::OrganizedFastMesh::reconstructPolygons | ( | std::vector< pcl::Vertices > & | polygons | ) |
Definition at line 61 of file organized_fast_mesh.hpp.
void pcl::OrganizedFastMesh::setMaxEdgeLength | ( | float | max_edge_length | ) | [inline] |
void pcl::SurfaceReconstruction::setSearchMethod | ( | const KdTreePtr & | tree | ) | [inline, inherited] |
Provide a pointer to the search object.
tree | a pointer to the spatial search object. |
Definition at line 79 of file reconstruction.h.
void pcl::OrganizedFastMesh::setTrianglePixelSize | ( | int | triangle_size | ) | [inline] |
Set the edge length (in pixels) used for constructing the fixed mesh.
triangle_size | edge length in pixels (Default: 1 = neighboring pixels are connected) |
Definition at line 109 of file organized_fast_mesh.h.
void pcl::OrganizedFastMesh::setTriangulationType | ( | TriangulationType | type | ) | [inline] |
Set the triangulation type (see TriangulationType)
type | quad mesh, triangle mesh with fixed left, right cut, or adaptive cut (splits a quad wrt. the depth (z) of the points) |
Definition at line 120 of file organized_fast_mesh.h.
void pcl::OrganizedFastMesh::storeShadowedFaces | ( | bool | enable | ) | [inline] |
Definition at line 126 of file organized_fast_mesh.h.