Point Cloud Library (PCL)  1.3.1
Public Member Functions
pcl::EarClipping Class Reference

The ear clipping triangulation algorithm. More...

#include <pcl/surface/ear_clipping.h>

List of all members.

Public Member Functions

void setInputPolygonMesh (pcl::PolygonMeshConstPtr polygon)
 Provide a pointer to the input PolygonMesh.
void triangulate (PolygonMesh &output)
 Decompose a polygon mesh into a set of triangles.

Detailed Description

The ear clipping triangulation algorithm.

The code is inspired by Flavien Brebion implementation, which is in n^3 and does not handle holes.

Author:
Nicolas Burrus

Member Function Documentation

void pcl::EarClipping::setInputPolygonMesh ( pcl::PolygonMeshConstPtr  polygon) [inline]

Provide a pointer to the input PolygonMesh.

Parameters:
polygonthe const boost shared pointer to a PolygonMesh

Definition at line 61 of file ear_clipping.h.

void pcl::EarClipping::triangulate ( PolygonMesh output) [inline]

Decompose a polygon mesh into a set of triangles.

Every polygon of the input PolygonMesh will be divided into triangle polygons.

Parameters:
outputthe resultant mesh with triangular polygons

Definition at line 74 of file ear_clipping.h.


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