Point Cloud Library (PCL)  1.6.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Types | Public Member Functions
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

Empty constructor.


Member Function Documentation

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]outputthe resultant processed surface model

Set the mesh subdivision filter type.

Parameters:
[in]typethe 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]inputthe 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