Hide menu
cadex::ModelSimplifier_MeshSimplifierTool Class Reference
Inheritance diagram for cadex::ModelSimplifier_MeshSimplifierTool:
cadex::ModelSimplifier_SimplifierTool

Public Member Functions

 ModelSimplifier_MeshSimplifierTool ()
 Constructor. More...
 
ModelData_Model Perform (const ModelData_Model &theSource) const override
 Performs mesh simplification. More...
 
void SetParameters (const ModelSimplifier_MeshSimplifierParameters &theParameters)
 
const ModelSimplifier_MeshSimplifierParametersParameters () const
 
- Public Member Functions inherited from cadex::ModelSimplifier_SimplifierTool
 ModelSimplifier_SimplifierTool (const std::shared_ptr< internal::ModelSimplifierImpl_SimplifierTool > &theImpl)
 
void SetShapePredicate (const std::shared_ptr< ModelSimplifier_ShapePredicate > &theShapePredicate)
 Sets what shapes can be split during simplification and what shapes can be simplified.
 

Additional Inherited Members

- Protected Member Functions inherited from cadex::ModelSimplifier_SimplifierTool
template<typename T >
T * Impl () const
 

Detailed Description

Provides mesh simplification tool for ModelSimplifier.

Warning
This class is a part of Model Simplification add-on, which is licensed separately from the base CAD Exchanger SDK.

Constructor & Destructor Documentation

◆ ModelSimplifier_MeshSimplifierTool()

cadex::ModelSimplifier_MeshSimplifierTool::ModelSimplifier_MeshSimplifierTool ( )

Constructor.

Sets default parameter values.

Exceptions
LicenseManager_LicenseErrorif no Model Simplifier license was activated.

Member Function Documentation

◆ Parameters()

const ModelSimplifier_MeshSimplifierParameters & cadex::ModelSimplifier_MeshSimplifierTool::Parameters ( ) const

Returns parameters of mesh simplification.

◆ Perform()

ModelData_Model cadex::ModelSimplifier_MeshSimplifierTool::Perform ( const ModelData_Model theSource) const
overridevirtual

Performs mesh simplification.

Original model will not be changed.

Implements cadex::ModelSimplifier_SimplifierTool.

◆ SetParameters()

void cadex::ModelSimplifier_MeshSimplifierTool::SetParameters ( const ModelSimplifier_MeshSimplifierParameters theParameters)

Sets parameters of mesh simplification.