C3D Toolkit  Kernel - 118069, Vision - 2.16.7.1844
MbMeshSegmenter Class Referenceabstract

An abstract class for segmenting polygonal objects. More...

#include <action_polymesh_operations.h>

Public Member Functions

virtual ~MbMeshSegmenter ()=default
 Destructor.
 
virtual MbResultType Segment (const MbSegmentationParams &params)=0
 Segment the polygonal object. More...
 
virtual MbResultType Segment (const MbSegmentationParams &params, MbSegmentationResults &results)=0
 Segment the polygonal object. More...
 
virtual void RepairSegmentation (const MbRepairSegmentationParams &params)=0
 Repair the segmentation of the polygonal object. More...
 
virtual void ClassifyRegions (double tolerance)=0
 Classify the segmentation regions by surface types. More...
 
virtual void ClassifyRegions (const MbClassifyRegionsParams &params)=0
 Classify the segmentation regions by surface types. More...
 

Static Public Member Functions

static MbMeshSegmenter * Create (MbPolymesh &mesh)
 Create an object by MbPolymesh. More...
 

Protected Member Functions

 MbMeshSegmenter ()=default
 Constructor.
 

Detailed Description

An abstract class for segmenting polygonal objects.

An abstract class for segmenting polygonal objects.

Warning
Under development.

Member Function Documentation

◆ Create()

static MbMeshSegmenter* MbMeshSegmenter::Create ( MbPolymesh &  mesh)
static

Create an object by MbPolymesh.

Parameters
[in]mesh- A polygonal geometric object.
Returns
Returns the pointer to a created object.

◆ Segment() [1/2]

virtual MbResultType MbMeshSegmenter::Segment ( const MbSegmentationParams &  params)
pure virtual

Segment the polygonal object.

Parameters
[in]params- Segmentation parameters.
Returns
Returns the operation result code.

◆ Segment() [2/2]

virtual MbResultType MbMeshSegmenter::Segment ( const MbSegmentationParams &  params,
MbSegmentationResults &  results 
)
pure virtual

Segment the polygonal object.

Parameters
[in]params- Segmentation parameters.
[out]results- Segmentation results.
Returns
Returns the operation result code.

◆ RepairSegmentation()

virtual void MbMeshSegmenter::RepairSegmentation ( const MbRepairSegmentationParams &  params)
pure virtual

Repair the segmentation of the polygonal object.

Parameters
[in]params- Parameters for repairing the segmentation.

◆ ClassifyRegions() [1/2]

virtual void MbMeshSegmenter::ClassifyRegions ( double  tolerance)
pure virtual

Classify the segmentation regions by surface types.

Parameters
[in]tolerance- Surface fitting tolerance.

◆ ClassifyRegions() [2/2]

virtual void MbMeshSegmenter::ClassifyRegions ( const MbClassifyRegionsParams &  params)
pure virtual

Classify the segmentation regions by surface types.

Parameters
[in]params- Parameters for classifying the segmentation regions.

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