PCL mesh decimation based on vtkQuadricDecimation 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_quadric_decimation.h>
Public Member Functions | |
float | getTargetReductionFactor () |
Get the target reduction factor. | |
MeshQuadricDecimationVTK () | |
Empty constructor. | |
void | setTargetReductionFactor (float factor) |
Set the percentage of faces that should be removed. | |
Protected Member Functions | |
void | performProcessing (pcl::PolygonMesh &output) |
Abstract surface processing method. | |
Private Attributes | |
float | target_reduction_factor_ |
vtkSmartPointer< vtkPolyData > | vtk_polygons_ |
PCL mesh decimation based on vtkQuadricDecimation 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 52 of file vtk_mesh_quadric_decimation.h.
Empty constructor.
Definition at line 45 of file vtk_mesh_quadric_decimation.cpp.
float pcl::MeshQuadricDecimationVTK::getTargetReductionFactor | ( | ) | [inline] |
Get the target reduction factor.
Definition at line 69 of file vtk_mesh_quadric_decimation.h.
void pcl::MeshQuadricDecimationVTK::performProcessing | ( | pcl::PolygonMesh & | output | ) | [protected, virtual] |
Abstract surface processing method.
Implements pcl::MeshProcessing.
Definition at line 54 of file vtk_mesh_quadric_decimation.cpp.
void pcl::MeshQuadricDecimationVTK::setTargetReductionFactor | ( | float | factor | ) | [inline] |
Set the percentage of faces that should be removed.
[in] | float | the factor |
Definition at line 62 of file vtk_mesh_quadric_decimation.h.
float pcl::MeshQuadricDecimationVTK::target_reduction_factor_ [private] |
Definition at line 79 of file vtk_mesh_quadric_decimation.h.
vtkSmartPointer<vtkPolyData> pcl::MeshQuadricDecimationVTK::vtk_polygons_ [private] |
Definition at line 81 of file vtk_mesh_quadric_decimation.h.