Point Cloud Library (PCL)  1.3.1
Public Types | Public Member Functions
pcl::OrganizedFastMesh Class Reference

Simple triangulation/surface reconstruction for organized point clouds. More...

#include <pcl/surface/organized_fast_mesh.h>

Inheritance diagram for pcl::OrganizedFastMesh:
Inheritance graph
[legend]
Collaboration diagram for pcl::OrganizedFastMesh:
Collaboration graph
[legend]

List of all members.

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.

Detailed Description

Simple triangulation/surface reconstruction for organized point clouds.

Neighboring points (pixels in image space) are connected to construct a triangular mesh.

Author:
Dirk Holz

Member Typedef Documentation

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.

Definition at line 60 of file organized_fast_mesh.h.

Definition at line 62 of file organized_fast_mesh.h.


Member Enumeration Documentation

Enumerator:
TRIANGLE_RIGHT_CUT 
TRIANGLE_LEFT_CUT 
TRIANGLE_ADAPTIVE_CUT 
QUAD_MESH 

Definition at line 64 of file organized_fast_mesh.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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!

Parameters:
outputthe 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 ()>

Parameters:
outputthe 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]

Set a maximum edge length.

TODO: Implement!

Definition at line 98 of file organized_fast_mesh.h.

void pcl::SurfaceReconstruction::setSearchMethod ( const KdTreePtr tree) [inline, inherited]

Provide a pointer to the search object.

Parameters:
treea 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.

Parameters:
triangle_sizeedge 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)

Parameters:
typequad 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.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines