MeshKit  1.0
MBVolOp Class Reference

#include <MBVolOp.hpp>

Inheritance diagram for MBVolOp:

List of all members.

Public Member Functions

 MBVolOp (MKCore *mk_core, const MEntVector &me_vec)
virtual ~MBVolOp ()
void add_pair (int source, int target)
void set_direction (double x, double y, double z)
virtual void setup_this ()
 Pure virtual, derived class must define.
virtual void execute_this ()
 Pure virtual, derived class must define.
virtual const moab::EntityType * mesh_types_arr () const
 Return the mesh entity types operated on by this scheme.

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 Member Functions

void establish_mapping ()
 find correspondence between vertices, edges, surfaces, for later weaving used later to weave between source and target

Private Attributes

double _direction [3]
moab::GeomTopoTool * _pGTT
moab::EntityHandle _rootSet
std::map< moab::EntityHandle,
moab::EntityHandle > 
vertexMap
std::map< moab::EntityHandle,
moab::EntityHandle > 
edgeMap
std::map< moab::EntityHandle,
moab::EntityHandle > 
faceMap
moab::FBEngine * _fbe

Detailed Description

Examples:
example_mbvolop.cpp.

Definition at line 16 of file MBVolOp.hpp.


Constructor & Destructor Documentation

MBVolOp ( MKCore mk_core,
const MEntVector me_vec 
)

Definition at line 26 of file MBVolOp.cpp.

~MBVolOp ( ) [virtual]

Definition at line 36 of file MBVolOp.cpp.


Member Function Documentation

void add_pair ( int  source,
int  target 
)
static bool can_mesh ( iBase_EntityType  dim) [inline, static]

Definition at line 41 of file MBVolOp.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 52 of file MBVolOp.hpp.

void establish_mapping ( ) [private]

find correspondence between vertices, edges, surfaces, for later weaving used later to weave between source and target

Definition at line 90 of file MBVolOp.cpp.

void execute_this ( ) [virtual]

Pure virtual, derived class must define.

Implements GraphNode.

Definition at line 329 of file MBVolOp.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 65 of file MBVolOp.hpp.

static const char* name ( ) [inline, static]

Get class name.

Definition at line 36 of file MBVolOp.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 21 of file MBVolOp.cpp.

void set_direction ( double  x,
double  y,
double  z 
) [inline]
Examples:
example_mbvolop.cpp.

Definition at line 27 of file MBVolOp.hpp.

void setup_this ( ) [virtual]

Pure virtual, derived class must define.

Implements GraphNode.

Definition at line 39 of file MBVolOp.cpp.


Member Data Documentation

double _direction[3] [private]

Definition at line 78 of file MBVolOp.hpp.

moab::FBEngine* _fbe [private]

Definition at line 84 of file MBVolOp.hpp.

moab::GeomTopoTool* _pGTT [private]

Definition at line 79 of file MBVolOp.hpp.

moab::EntityHandle _rootSet [private]

Definition at line 80 of file MBVolOp.hpp.

std::map<moab::EntityHandle, moab::EntityHandle> edgeMap [private]

Definition at line 82 of file MBVolOp.hpp.

std::map<moab::EntityHandle, moab::EntityHandle> faceMap [private]

Definition at line 83 of file MBVolOp.hpp.

std::map<moab::EntityHandle, moab::EntityHandle> vertexMap [private]

Definition at line 81 of file MBVolOp.hpp.


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