W3cubDocs

/PointCloudLibrary

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

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

Public Member Functions

MeshQuadricDecimationVTK ()
Empty constructor. More...
void setTargetReductionFactor (float factor)
Set the percentage of faces that should be removed. More...
float getTargetReductionFactor () const
Get the target reduction factor. More...
- Public Member Functions inherited from pcl::MeshProcessing
MeshProcessing ()
Constructor. More...
virtual ~MeshProcessing ()
Destructor. More...
void setInputMesh (const pcl::PolygonMeshConstPtr &input)
Set the input mesh that we want to process. More...
pcl::PolygonMeshConstPtr getInputMesh () const
Get the input mesh to be processed. More...
void process (pcl::PolygonMesh &output)
Process the input surface mesh and store the results. More...

Protected Member Functions

void performProcessing (pcl::PolygonMesh &output) override
Abstract surface processing method. More...
- Protected Member Functions inherited from pcl::MeshProcessing
virtual bool initCompute ()
Initialize computation. More...
virtual void deinitCompute ()
UnInitialize computation. More...
virtual std::string getClassName () const
Abstract class get name method. More...

Additional Inherited Members

- Public Types inherited from pcl::MeshProcessing
using Ptr = shared_ptr< MeshProcessing >
using ConstPtr = shared_ptr< const MeshProcessing >
using PolygonMeshConstPtr = PolygonMesh::ConstPtr
- Protected Attributes inherited from pcl::MeshProcessing
pcl::PolygonMeshConstPtr input_mesh_
Input polygonal mesh. More...

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 51 of file vtk_mesh_quadric_decimation.h.

Constructor & Destructor Documentation

MeshQuadricDecimationVTK()

pcl::MeshQuadricDecimationVTK::MeshQuadricDecimationVTK ( )

Empty constructor.

Member Function Documentation

getTargetReductionFactor()

float pcl::MeshQuadricDecimationVTK::getTargetReductionFactor ( ) const
inline

Get the target reduction factor.

Definition at line 68 of file vtk_mesh_quadric_decimation.h.

performProcessing()

void pcl::MeshQuadricDecimationVTK::performProcessing ( pcl::PolygonMesh & output )
overrideprotectedvirtual

Abstract surface processing method.

Implements pcl::MeshProcessing.

setTargetReductionFactor()

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

Set the percentage of faces that should be removed.

Parameters
[in] factor the factor

Definition at line 61 of file vtk_mesh_quadric_decimation.h.


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

© 2009–2012, Willow Garage, Inc.
© 2012–, Open Perception, Inc.
Licensed under the BSD License.
https://pointclouds.org/documentation/classpcl_1_1_mesh_quadric_decimation_v_t_k.html