openalea.phenomenal.mesh.algorithms.smoothing
- openalea.phenomenal.mesh.algorithms.smoothing(vtk_poly_data, feature_angle=120.0, number_of_iteration=5, pass_band=0.01, verbose=False)[source]
Call of vtkWindowedSincPolyDataFilter on a vtk_poly_data to smoothing the edge of poly_data
- Parameters:
vtk_poly_data (vtkPolyData) – vtkPolyData is a data object that is a concrete implementation of vtkDataSet. vtkPolyData represents a geometric structure consisting of vertices, lines, polygons, and/or triangle strips. Point and cell attribute values (e.g., scalars, vectors, etc.) also are represented.
feature_angle (float, optional) – Feature angle for sharp edge identification.
number_of_iteration (float, optional) – Number of iteration of smoothing
pass_band (float, optional) – Passband value for the windowed sinc filter
verbose (bool, optional) – If True, print for some information of each part of the algorithms
- Returns:
out – vtkPolyData is a data object that is a concrete implementation of vtkDataSet. vtkPolyData represents a geometric structure consisting of vertices, lines, polygons, and/or triangle strips. Point and cell attribute values (e.g., scalars, vectors, etc.)
- Return type:
vtkPolyData