MeshKit  1.0
CopyGeom Class Reference

#include <CopyGeom.hpp>

Inheritance diagram for CopyGeom:

List of all members.

Public Member Functions

 CopyGeom (MKCore *mkcore, const MEntVector &me_vec)
virtual ~CopyGeom ()
virtual const moab::EntityType * mesh_types_arr () const
 Return the mesh entity types operated on by this scheme.
virtual bool add_modelent (ModelEnt *model_ent)
 Re-implemented here so we can check topological dimension of model_ent.
virtual void setup_this ()
 Setup is a no-op, but must be provided since it's pure virtual.
virtual void execute_this ()
 The only setup/execute function we need, since meshing vertices is trivial.
void set_location (const Vector< 3 > &dx)
void tag_copied_sets (const char **tag_names, const char **tag_vals, const int num_tags)

Static Public Member Functions

static const char * name ()
 Get class name.
static bool can_mesh (iBase_EntityType dim)
 Function returning whether this scheme can mesh entities of t the specified dimension.
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

iGeomigeomImpl
Vector< 3 > m_x

Detailed Description

Examples:
example_copygeom.cpp.

Definition at line 26 of file CopyGeom.hpp.


Constructor & Destructor Documentation

CopyGeom ( MKCore mkcore,
const MEntVector me_vec 
)

Definition at line 23 of file CopyGeom.cpp.

~CopyGeom ( ) [virtual]

Definition at line 32 of file CopyGeom.cpp.


Member Function Documentation

bool add_modelent ( ModelEnt model_ent) [virtual]

Re-implemented here so we can check topological dimension of model_ent.

Parameters:
model_entModelEnt being added

Reimplemented from MeshOp.

Definition at line 35 of file CopyGeom.cpp.

bool can_mesh ( iBase_EntityType  dim) [inline, static]

Function returning whether this scheme can mesh entities of t the specified dimension.

Parameters:
dimentity dimension

Definition at line 97 of file CopyGeom.hpp.

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 104 of file CopyGeom.hpp.

void execute_this ( ) [virtual]

The only setup/execute function we need, since meshing vertices is trivial.

Implements GraphNode.

Definition at line 43 of file CopyGeom.cpp.

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 109 of file CopyGeom.hpp.

const char * name ( ) [inline, static]

Get class name.

Definition at line 92 of file CopyGeom.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 20 of file CopyGeom.cpp.

void set_location ( const Vector< 3 > &  dx)
Examples:
example_copygeom.cpp.

Definition at line 57 of file CopyGeom.cpp.

void setup_this ( ) [virtual]

Setup is a no-op, but must be provided since it's pure virtual.

Implements GraphNode.

Definition at line 40 of file CopyGeom.cpp.

void tag_copied_sets ( const char **  tag_names,
const char **  tag_vals,
const int  num_tags 
)

Definition at line 62 of file CopyGeom.cpp.


Member Data Documentation

iGeom* igeomImpl [private]

Definition at line 88 of file CopyGeom.hpp.

Vector<3> m_x [private]

Definition at line 89 of file CopyGeom.hpp.


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