MeshKit
1.0
|
Decimate a set of triangles. More...
#include <QslimMesher.hpp>
Public Member Functions | |
QslimMesher (MKCore *mk_core, const MEntVector &me_vec) | |
virtual void | setup_this () |
Pure virtual, derived class must define. | |
virtual void | execute_this () |
Pure virtual, derived class must define. | |
void | set_options (QslimOptions &opts) |
virtual const moab::EntityType * | mesh_types_arr () const |
Return the mesh entity types operated on by this scheme. | |
~QslimMesher () | |
Static Public Member Functions | |
static const char * | name () |
Get class name. | |
static bool | can_mesh (iBase_EntityType dim) |
static bool | can_mesh (ModelEnt *me) |
Function returning whether this scheme can mesh the specified entity. | |
static const moab::EntityType * | output_types () |
Get list of mesh entity types that can be generated. | |
Private Attributes | |
QslimOptions | _opts |
QslimDecimation * | _worker |
Decimate a set of triangles.
QslimMesher decimates a set of triangles that form a 3d surface It uses edge collapse sequentially, while keeping the error in the quadric sense minimal at each step.
Definition at line 44 of file QslimMesher.hpp.
QslimMesher | ( | MKCore * | mk_core, |
const MEntVector & | me_vec | ||
) |
Definition at line 22 of file QslimMesher.cpp.
~QslimMesher | ( | ) |
Definition at line 51 of file QslimMesher.cpp.
static bool can_mesh | ( | iBase_EntityType | dim | ) | [inline, static] |
Definition at line 67 of file QslimMesher.hpp.
Function returning whether this scheme can mesh the specified entity.
Used by MeshOpFactory to find scheme for an entity.
me | ModelEnt being queried |
Definition at line 78 of file QslimMesher.hpp.
void execute_this | ( | ) | [virtual] |
Pure virtual, derived class must define.
Implements GraphNode.
Definition at line 42 of file QslimMesher.cpp.
virtual const moab::EntityType* mesh_types_arr | ( | ) | const [inline, virtual] |
Return the mesh entity types operated on by this scheme.
moab::MBMAXTYPE
Implements MeshOp.
Definition at line 91 of file QslimMesher.hpp.
static const char* name | ( | ) | [inline, static] |
Get class name.
Definition at line 58 of file QslimMesher.hpp.
const moab::EntityType * output_types | ( | ) | [static] |
Get list of mesh entity types that can be generated.
moab::MBMAXTYPE
Definition at line 17 of file QslimMesher.cpp.
void set_options | ( | QslimOptions & | opts | ) | [inline] |
Definition at line 62 of file QslimMesher.hpp.
void setup_this | ( | ) | [virtual] |
Pure virtual, derived class must define.
Implements GraphNode.
Definition at line 30 of file QslimMesher.cpp.
QslimOptions _opts [private] |
Definition at line 100 of file QslimMesher.hpp.
QslimDecimation* _worker [private] |
Definition at line 101 of file QslimMesher.hpp.