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>
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_ |
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.
Definition at line 59 of file vtk_mesh_subdivision.h.
Empty constructor.
Definition at line 48 of file vtk_mesh_subdivision.cpp.
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.
void pcl::MeshSubdivisionVTK::setFilterType | ( | MeshSubdivisionVTKFilterType | type | ) | [inline] |
Set the mesh subdivision filter type.
[in] | type | the filter type |
Definition at line 66 of file vtk_mesh_subdivision.h.
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.