BoundaryMesh Class Reference

The CellComplex of Boundary elements. More...

#include </usr1/tp517/Tumble/trunk/src/tumble/boundarymesh.h>

Inheritance diagram for BoundaryMesh:

[legend]
Collaboration diagram for BoundaryMesh:
[legend]
List of all members.

Public Types

typedef Vertex_Hash_T Boundary_Vertex_Hash_T
typedef Edge_Hash_T Boundary_Edge_Hash_T
typedef Face_Hash_T Boundary_Face_Hash_T

Public Member Functions

 BoundaryMesh (PersistantStore &, DataStore *)
void set_bezier_mesh (BezierMesh *)
BoundaryVertexadd_boundary_vertex (const Point2D &p)
 Add a new vertex with given geometric location.
BoundaryEdgeadd_boundary_edge (BoundaryVertex *v0, BoundaryVertex *v1, const std::vector< Point2D > &newd, const std::vector< double > &newk, Movement fixed, int color, double restlength)
BoundaryEdgeadd_boundary_edge (BoundaryVertex *v0, BoundaryVertex *v1, const std::vector< Point2D > &newd, const std::vector< double > &newk)
BoundaryFaceadd_boundary_face (const std::vector< BoundaryEdge * > &edges, double minangle, int color)
void delete_vertex (BoundaryVertex *v)
void delete_edge (BoundaryEdge *e)
void bbox (Point2D &top, Point2D &bot)
 Get a bounding box for the entier mesh.

Private Member Functions

 BoundaryMesh (const BoundaryMesh &o)
const BoundaryMeshoperator= (const BoundaryMesh &o)

Private Attributes

BezierMeshbeziermesh
DataStoredatastore

Friends

std::ostream & operator<< (std::ostream &stream, const BoundaryMesh &bm)

Detailed Description

The CellComplex of Boundary elements.

Definition at line 24 of file boundarymesh.h.


Member Typedef Documentation

typedef Vertex_Hash_T BoundaryMesh::Boundary_Vertex_Hash_T

Definition at line 50 of file boundarymesh.h.

typedef Edge_Hash_T BoundaryMesh::Boundary_Edge_Hash_T

Definition at line 51 of file boundarymesh.h.

typedef Face_Hash_T BoundaryMesh::Boundary_Face_Hash_T

Definition at line 52 of file boundarymesh.h.


Constructor & Destructor Documentation

BoundaryMesh::BoundaryMesh ( const BoundaryMesh o  )  [private]

BoundaryMesh::BoundaryMesh ( PersistantStore ,
DataStore  
)

Definition at line 19 of file boundarymesh.C.


Member Function Documentation

const BoundaryMesh& BoundaryMesh::operator= ( const BoundaryMesh o  )  [private]

void BoundaryMesh::set_bezier_mesh ( BezierMesh  ) 

Definition at line 24 of file boundarymesh.C.

References beziermesh.

Referenced by Simulation::initialize_structures().

BoundaryVertex * BoundaryMesh::add_boundary_vertex ( const Point2D p  ) 

Add a new vertex with given geometric location.

Parameters:
p The geometric location of the vertex
Returns:
The new BoundaryVertex

Definition at line 34 of file boundarymesh.C.

References DataStore::add_cp(), CellComplex< class BoundaryVertex, class BoundaryEdge, class BoundaryFace, BoundaryTuple >::add_vertex(), datastore, and CellComplex< class BoundaryVertex, class BoundaryEdge, class BoundaryFace, BoundaryTuple >::get_store().

Referenced by MeshConstructor::add_vertex(), MeshBinaryInput::read(), and MeshInput::read().

Here is the call graph for this function:

BoundaryEdge* BoundaryMesh::add_boundary_edge ( BoundaryVertex v0,
BoundaryVertex v1,
const std::vector< Point2D > &  newd,
const std::vector< double > &  newk,
Movement  fixed,
int  color,
double  restlength 
)

Referenced by MeshBinaryInput::read(), and MeshInput::read().

BoundaryEdge* BoundaryMesh::add_boundary_edge ( BoundaryVertex v0,
BoundaryVertex v1,
const std::vector< Point2D > &  newd,
const std::vector< double > &  newk 
)

BoundaryFace* BoundaryMesh::add_boundary_face ( const std::vector< BoundaryEdge * > &  edges,
double  minangle,
int  color 
)

Referenced by MeshBinaryInput::read(), and MeshInput::read().

void BoundaryMesh::delete_vertex ( BoundaryVertex v  )  [virtual]

Reimplemented from CellComplex< class BoundaryVertex, class BoundaryEdge, class BoundaryFace, BoundaryTuple >.

Definition at line 89 of file boundarymesh.C.

References datastore, delete_edge(), CellComplex< class BoundaryVertex, class BoundaryEdge, class BoundaryFace, BoundaryTuple >::delete_vertex(), VertexCell::get_any_edge(), BoundaryVertex::get_control_point(), VertexCell::num_edges(), and DataStore::rem_cp().

Here is the call graph for this function:

void BoundaryMesh::delete_edge ( BoundaryEdge e  )  [virtual]

Reimplemented from CellComplex< class BoundaryVertex, class BoundaryEdge, class BoundaryFace, BoundaryTuple >.

Definition at line 99 of file boundarymesh.C.

References QBSpline::b, datastore, CellComplex< class BoundaryVertex, class BoundaryEdge, class BoundaryFace, BoundaryTuple >::delete_edge(), BoundaryEdge::get_spline(), and DataStore::rem_cp().

Referenced by delete_vertex().

Here is the call graph for this function:

void BoundaryMesh::bbox ( Point2D top,
Point2D bot 
)

Get a bounding box for the entier mesh.

Parameters:
[out] top The top, right corner of the mesh
[out] bot The bottom, left corner of the mesh

Definition at line 112 of file boundarymesh.C.

References Point2D::coords, CellComplex< class BoundaryVertex, class BoundaryEdge, class BoundaryFace, BoundaryTuple >::get_edges_begin(), CellComplex< class BoundaryVertex, class BoundaryEdge, class BoundaryFace, BoundaryTuple >::get_edges_end(), CellComplex< class BoundaryVertex, class BoundaryEdge, class BoundaryFace, BoundaryTuple >::get_vertices_begin(), and CellComplex< class BoundaryVertex, class BoundaryEdge, class BoundaryFace, BoundaryTuple >::get_vertices_end().

Referenced by Visualization::compute_world_size(), ConformalMesher::create_bbox(), and EPSWrite::EPSWrite().

Here is the call graph for this function:


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  stream,
const BoundaryMesh bm 
) [friend]


Member Data Documentation

BezierMesh* BoundaryMesh::beziermesh [private]

Definition at line 33 of file boundarymesh.h.

Referenced by operator<<(), and set_bezier_mesh().

DataStore* BoundaryMesh::datastore [private]

Definition at line 34 of file boundarymesh.h.

Referenced by add_boundary_vertex(), delete_edge(), delete_vertex(), and operator<<().


The documentation for this class was generated from the following files:
Generated on Mon May 24 09:53:33 2010 for TUMBLE by  doxygen 1.5.2