|
C3D Toolkit
Kernel - 118069, Vision - 2.16.7.1844
|
Parameters for segmenting a polygonal object. More...
#include <op_polymesh_parameter.h>
Collaboration diagram for MbSegmentationParams:Public Member Functions | |
| MbSegmentationParams (IProgressIndicator *prog=nullptr) | |
| Constructor. | |
| ~MbSegmentationParams () | |
| Destructor. | |
| void | InitializeWithSharpEdges (double angleSharp) |
| Initialize the parameters with sharp edges (in degrees). | |
| void | InitializeWithCurvature (double curvMaxValue, MbeCurvatureType curvType) |
| Initialize the parameters with a curvature value. | |
| MbeSegmentationCriterion | GetCriterion () const |
| Get the segmentation criterion. | |
| double | GetAngleSharp () const |
| Get the angle threshold for sharp edges (in degrees). | |
| double | GetMaxCurvatureValue () const |
| Get the curvature threshold value. | |
| MbeCurvatureType | GetCurvatureType () const |
| Get the curvature threshold type. | |
| c3d::IndicesVector & | GetSelectedRegions () |
| Get the selected regions for editing. | |
| const c3d::IndicesVector & | GetSelectedRegions () const |
| Get the selected regions. | |
| void | SetKeepExisting (bool bKeep) |
| Set the flag of keeping the existing segmentation. | |
| bool | GetKeepExisting () const |
| Get the flag of keeping the existing segmentation. | |
| void | ResetParameters () |
| Reset parameters. | |
Public Attributes | |
| IProgressIndicator * | _progress |
| A progress indicator of the operation. | |
Parameters for segmenting a polygonal object.
Parameters for segmenting a polygonal object. It can be segmented based on open boundaries, on sharp edges, on curvature.