Describes an interface that B-Rep simplification tools should implement. More...
Public Member Functions | |
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. | |
virtual ModelData_Model | Perform (const ModelData_Model &theSource) const =0 |
Performs the simplification algorithm. | |
Protected Member Functions | |
template<typename T > | |
T * | Impl () const |
Describes an interface that B-Rep simplification tools should implement.
|
pure virtual |
Performs the simplification algorithm.
Returns a copy of the source model with some scene graph elements simplified or removed.
Implemented in cadex::ModelSimplifier_HoleRemoverTool, cadex::ModelSimplifier_InternalFacesRemoverTool, cadex::ModelSimplifier_MeshSimplifierTool, and cadex::ModelSimplifier_SmallBodiesRemoverTool.