pcl::MeshSubdivisionVTK Class Reference

PCL mesh smoothing based on the vtkLinearSubdivisionFilter, vtkLoopSubdivisionFilter, vtkButterflySubdivisionFilter depending on the selected MeshSubdivisionVTKFilterType algorithm from the VTK library. More...

#include <pcl/surface/vtk_smoothing/vtk_mesh_subdivision.h>

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

List of all members.

Public Types

enum  MeshSubdivisionVTKFilterType { LINEAR, LOOP, BUTTERFLY }
typedef PolygonMesh::ConstPtr PolygonMeshConstPtr

Public Member Functions

 MeshSubdivisionVTK ()
 Empty constructor.
void setFilterType (MeshSubdivisionVTKFilterType type)
 Set the mesh subdivision filter type.
MeshSubdivisionVTKFilterType getFilterType ()
 Get the mesh subdivision filter type.
void setInputMesh (const pcl::PolygonMeshConstPtr &input)
 Set the input mesh that we want to process.
void process (pcl::PolygonMesh &output)
 Process the input surface mesh and store the results.

Detailed Description

PCL mesh smoothing based on the vtkLinearSubdivisionFilter, vtkLoopSubdivisionFilter, vtkButterflySubdivisionFilter depending on the selected MeshSubdivisionVTKFilterType algorithm from the VTK library.

Please check out the original documentation for more details on the inner workings of the algorithm Warning: This wrapper does two fairly computationally expensive conversions from the PCL PolygonMesh data structure to the vtkPolyData data structure and back.

Definition at line 53 of file vtk_mesh_subdivision.h.


Member Typedef Documentation

Definition at line 91 of file processing.h.


Member Enumeration Documentation

Enumerator:
LINEAR 
LOOP 
BUTTERFLY 

Definition at line 59 of file vtk_mesh_subdivision.h.


Constructor & Destructor Documentation

pcl::MeshSubdivisionVTK::MeshSubdivisionVTK (  ) 

Empty constructor.


Member Function Documentation

MeshSubdivisionVTKFilterType pcl::MeshSubdivisionVTK::getFilterType (  )  [inline]

Get the mesh subdivision filter type.

Definition at line 73 of file vtk_mesh_subdivision.h.

void pcl::MeshProcessing::process ( pcl::PolygonMesh &  output  )  [inherited]

Process the input surface mesh and store the results.

Parameters:
[out] output the resultant processed surface model
void pcl::MeshSubdivisionVTK::setFilterType ( MeshSubdivisionVTKFilterType  type  )  [inline]

Set the mesh subdivision filter type.

Parameters:
[in] type the filter type

Definition at line 66 of file vtk_mesh_subdivision.h.

void pcl::MeshProcessing::setInputMesh ( const pcl::PolygonMeshConstPtr &  input  )  [inline, inherited]

Set the input mesh that we want to process.

Parameters:
[in] input the input polygonal mesh

Definition at line 103 of file processing.h.


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

Generated on 16 Oct 2012 for Point Cloud Library (PCL) by  doxygen 1.6.1