|
C3D Toolkit
Kernel - 118057, Vision - 2.14.7.1821
|
Triangulation simplification parameters. More...
#include <op_mesh_parameter.h>
Collaboration diagram for MbMeshSimplificationParams:Public Types | |
| enum class | MbeMeshSimplificationMethod { precise , fast } |
| Triangulation simplification method. More... | |
Public Member Functions | |
| MbMeshSimplificationParams (const c3d::DoubleVector &toleranceLevels, IProgressIndicator *prog=nullptr) | |
| Constructor for tolerance target. | |
| MbMeshSimplificationParams (const c3d::IndicesVector &triangleCountLevels, IProgressIndicator *prog=nullptr) | |
| Constructor for triangles count target. | |
| ~MbMeshSimplificationParams () | |
| Destructor. More... | |
| bool | IsTriangleCountTarget () const |
| Is target tolerance. | |
| bool | IsToleranceTarget () const |
| Get simplification levels for tolerance. | |
| const c3d::DoubleVector & | ToleranceLevels () const |
| Get simplification levels for triangles count. | |
| const c3d::IndicesVector & | TrianglesCountLevels () const |
| Is parameters valid? | |
| bool | IsValid () const |
| Set the simplification method. | |
| void | SetSimplificationMethod (MbeMeshSimplificationMethod method) |
| Get the simplification method. | |
| MbeMeshSimplificationMethod | GetSimplificationMethod () const |
| Set the dihedral angle threshold for collapsing edges (in degrees). | |
| void | SetDihedralAngleThreshold (double angle) |
| Get the dihedral angle threshold for collapsing edges (in degrees). | |
| double | GetDihedralAngleThreshold () const |
| Set the threshold of the angle between adjacent boundary edges (in degrees). | |
| void | SetAdjacentBoundaryEdgesAngleThreshold (double angle) |
| Get the threshold of the angle between adjacent boundary edges (in degrees). | |
Public Attributes | |
| IProgressIndicator * | _progress |
| A progress indicator of the operation. | |
Triangulation simplification parameters.
Triangulation simplification parameters. Simplification can be carried out until target triangles count reaching or until exceeding of specified tolerance. The dihedral angle threshold can be specified - edges with a bigger angle will be skipped during simplification. The threshold of the angle between adjacent boundary edges can be specified - boundary cracks will be skipped during simplification.
|
inline |
Destructor.
Is target triangles count.