Point Cloud Library (PCL)  1.6.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Types | Public Member Functions
pcl::MeshSmoothingWindowedSincVTK Class Reference

PCL mesh smoothing based on the vtkWindowedSincPolyDataFilter algorithm from the VTK library. More...

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

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

List of all members.

Public Types

typedef PolygonMesh::ConstPtr PolygonMeshConstPtr

Public Member Functions

 MeshSmoothingWindowedSincVTK ()
 Empty constructor that sets the values of the algorithm parameters to the VTK defaults.
void setNumIter (int num_iter)
 Set the number of iterations for the smoothing filter.
int getNumIter ()
 Get the number of iterations.
void setPassBand (float pass_band)
 Set the pass band value for windowed sinc filtering.
float getPassBand ()
 Get the pass band value.
void setNormalizeCoordinates (bool normalize_coordinates)
 Turn on/off coordinate normalization.
bool getNormalizeCoordinates ()
 Get whether the coordinate normalization is active or not.
void setFeatureEdgeSmoothing (bool feature_edge_smoothing)
 Turn on/off smoothing along sharp interior edges.
bool getFeatureEdgeSmoothing ()
 Get the status of the feature edge smoothing.
void setFeatureAngle (float feature_angle)
 Specify the feature angle for sharp edge identification.
float getFeatureAngle ()
 Get the angle threshold for considering an edge to be sharp.
void setEdgeAngle (float edge_angle)
 Specify the edge angle to control smoothing along edges (either interior or boundary).
float getEdgeAngle ()
 Get the edge angle to control smoothing along edges.
void setBoundarySmoothing (bool boundary_smoothing)
 Turn on/off the smoothing of vertices on the boundary of the mesh.
bool getBoundarySmoothing ()
 Get the status of the boundary smoothing.
void setInputMesh (const pcl::PolygonMeshConstPtr &input)
 Set the input mesh that we want to process.
void process (pcl::PolygonMesh &output)
 Process the input surface mesh and store the results.

Detailed Description

PCL mesh smoothing based on the vtkWindowedSincPolyDataFilter 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 52 of file vtk_mesh_smoothing_windowed_sinc.h.


Member Typedef Documentation

Definition at line 91 of file processing.h.


Constructor & Destructor Documentation

Empty constructor that sets the values of the algorithm parameters to the VTK defaults.

Definition at line 56 of file vtk_mesh_smoothing_windowed_sinc.h.


Member Function Documentation

Get the status of the boundary smoothing.

Definition at line 178 of file vtk_mesh_smoothing_windowed_sinc.h.

Get the edge angle to control smoothing along edges.

Definition at line 161 of file vtk_mesh_smoothing_windowed_sinc.h.

Get the angle threshold for considering an edge to be sharp.

Definition at line 145 of file vtk_mesh_smoothing_windowed_sinc.h.

Get the status of the feature edge smoothing.

Definition at line 129 of file vtk_mesh_smoothing_windowed_sinc.h.

Get whether the coordinate normalization is active or not.

Definition at line 113 of file vtk_mesh_smoothing_windowed_sinc.h.

Get the number of iterations.

Definition at line 78 of file vtk_mesh_smoothing_windowed_sinc.h.

Get the pass band value.

Definition at line 94 of file vtk_mesh_smoothing_windowed_sinc.h.

void pcl::MeshProcessing::process ( pcl::PolygonMesh output) [inherited]

Process the input surface mesh and store the results.

Parameters:
[out]outputthe resultant processed surface model
void pcl::MeshSmoothingWindowedSincVTK::setBoundarySmoothing ( bool  boundary_smoothing) [inline]

Turn on/off the smoothing of vertices on the boundary of the mesh.

Parameters:
[in]boundary_smoothingdecision whether boundary smoothing is on or off

Definition at line 171 of file vtk_mesh_smoothing_windowed_sinc.h.

void pcl::MeshSmoothingWindowedSincVTK::setEdgeAngle ( float  edge_angle) [inline]

Specify the edge angle to control smoothing along edges (either interior or boundary).

Parameters:
[in]edge_anglethe angle to control smoothing along edges

Definition at line 154 of file vtk_mesh_smoothing_windowed_sinc.h.

void pcl::MeshSmoothingWindowedSincVTK::setFeatureAngle ( float  feature_angle) [inline]

Specify the feature angle for sharp edge identification.

Parameters:
[in]feature_anglethe angle threshold for considering an edge to be sharp

Definition at line 138 of file vtk_mesh_smoothing_windowed_sinc.h.

void pcl::MeshSmoothingWindowedSincVTK::setFeatureEdgeSmoothing ( bool  feature_edge_smoothing) [inline]

Turn on/off smoothing along sharp interior edges.

Parameters:
[in]statusdecision whether to enable/disable smoothing along sharp interior edges

Definition at line 122 of file vtk_mesh_smoothing_windowed_sinc.h.

void pcl::MeshProcessing::setInputMesh ( const pcl::PolygonMeshConstPtr input) [inline, inherited]

Set the input mesh that we want to process.

Parameters:
[in]inputthe input polygonal mesh

Definition at line 103 of file processing.h.

void pcl::MeshSmoothingWindowedSincVTK::setNormalizeCoordinates ( bool  normalize_coordinates) [inline]

Turn on/off coordinate normalization.

The positions can be translated and scaled such that they fit within a [-1, 1] prior to the smoothing computation. The default is off. The numerical stability of the solution can be improved by turning normalization on. If normalization is on, the coordinates will be rescaled to the original coordinate system after smoothing has completed.

Parameters:
[in]normalize_coordinatesdecision whether to normalize coordinates or not

Definition at line 106 of file vtk_mesh_smoothing_windowed_sinc.h.

void pcl::MeshSmoothingWindowedSincVTK::setNumIter ( int  num_iter) [inline]

Set the number of iterations for the smoothing filter.

Parameters:
[in]num_iterthe number of iterations

Definition at line 71 of file vtk_mesh_smoothing_windowed_sinc.h.

void pcl::MeshSmoothingWindowedSincVTK::setPassBand ( float  pass_band) [inline]

Set the pass band value for windowed sinc filtering.

Parameters:
[in]pass_bandvalue for the pass band.

Definition at line 87 of file vtk_mesh_smoothing_windowed_sinc.h.


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