MeshKit  1.0
QslimMesher Class Reference

Decimate a set of triangles. More...

#include <QslimMesher.hpp>

Inheritance diagram for QslimMesher:

List of all members.

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

Detailed Description

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.

Examples:
example_qslimmesher.cpp, and example_setpnt2quad.cpp.

Definition at line 44 of file QslimMesher.hpp.


Constructor & Destructor Documentation

QslimMesher ( MKCore mk_core,
const MEntVector me_vec 
)

Definition at line 22 of file QslimMesher.cpp.

Definition at line 51 of file QslimMesher.cpp.


Member Function Documentation

static bool can_mesh ( iBase_EntityType  dim) [inline, static]

Definition at line 67 of file QslimMesher.hpp.

static bool can_mesh ( ModelEnt me) [inline, static]

Function returning whether this scheme can mesh the specified entity.

Used by MeshOpFactory to find scheme for an entity.

Parameters:
meModelEnt being queried
Returns:
If true, this scheme can mesh the specified ModelEnt

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.

Returns:
array terminated with 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.

Returns:
array terminated with moab::MBMAXTYPE

Definition at line 17 of file QslimMesher.cpp.

void set_options ( QslimOptions opts) [inline]
Examples:
example_qslimmesher.cpp, and example_setpnt2quad.cpp.

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.


Member Data Documentation

QslimOptions _opts [private]

Definition at line 100 of file QslimMesher.hpp.

Definition at line 101 of file QslimMesher.hpp.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines