Public Types | Public Member Functions | Protected Member Functions | Private Attributes
pcl::MeshSubdivisionVTK Class Reference

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. More...

#include <vtk_mesh_subdivision.h>

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

List of all members.

Public Types

enum  MeshSubdivisionVTKFilterType { LINEAR, LOOP, BUTTERFLY }

Public Member Functions

MeshSubdivisionVTKFilterType getFilterType ()
 Get the mesh subdivision filter type.
 MeshSubdivisionVTK ()
 Empty constructor.
void setFilterType (MeshSubdivisionVTKFilterType type)
 Set the mesh subdivision filter type.

Protected Member Functions

void performProcessing (pcl::PolygonMesh &output)
 Abstract surface processing method.

Private Attributes

MeshSubdivisionVTKFilterType filter_type_
vtkSmartPointer< vtkPolyData > vtk_polygons_

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 Enumeration Documentation

Enumerator:
LINEAR 
LOOP 
BUTTERFLY 

Definition at line 59 of file vtk_mesh_subdivision.h.


Constructor & Destructor Documentation

Empty constructor.

Definition at line 48 of file vtk_mesh_subdivision.cpp.


Member Function Documentation

Get the mesh subdivision filter type.

Definition at line 73 of file vtk_mesh_subdivision.h.

void pcl::MeshSubdivisionVTK::performProcessing ( pcl::PolygonMesh &  output) [protected, virtual]

Abstract surface processing method.

Implements pcl::MeshProcessing.

Definition at line 57 of file vtk_mesh_subdivision.cpp.

Set the mesh subdivision filter type.

Parameters:
[in]typethe filter type

Definition at line 66 of file vtk_mesh_subdivision.h.


Member Data Documentation

Definition at line 83 of file vtk_mesh_subdivision.h.

vtkSmartPointer<vtkPolyData> pcl::MeshSubdivisionVTK::vtk_polygons_ [private]

Definition at line 85 of file vtk_mesh_subdivision.h.


The documentation for this class was generated from the following files:


pcl
Author(s): Open Perception
autogenerated on Mon Oct 6 2014 03:19:37