pcl::MeshQuadricDecimationVTK Class Reference

PCL mesh decimation based on vtkQuadricDecimation from the VTK library. More...

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

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

List of all members.

Public Member Functions

 MeshQuadricDecimationVTK ()
 Empty constructor.
void setTargetReductionFactor (float factor)
 Set the percentage of faces that should be removed.
float getTargetReductionFactor ()
 Get the target reduction factor.

Protected Member Functions

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

Detailed Description

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.


Constructor & Destructor Documentation

pcl::MeshQuadricDecimationVTK::MeshQuadricDecimationVTK (  ) 

Empty constructor.


Member Function Documentation

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.

void pcl::MeshQuadricDecimationVTK::setTargetReductionFactor ( float  factor  )  [inline]

Set the percentage of faces that should be removed.

Parameters:
[in] float the factor

Definition at line 62 of file vtk_mesh_quadric_decimation.h.


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