CellTuple< Vertex, Edge, Face > Class Template Reference

A Tuple of Cells. More...

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

Collaboration diagram for CellTuple< Vertex, Edge, Face >:

[legend]
List of all members.

Public Member Functions

 CellTuple ()
 Create an empty Tuple with NULL for each Cell.
 CellTuple (Vertex *nv, Edge *ne, Face *nf)
 Create an empty Tuple with given Cells.
 CellTuple (const CellTuple &tup)
 The copy constructor.
CellTupleoperator= (const CellTuple &tup)
 The assignmnet operator.
bool operator== (const CellTuple &other) const
 Do we represent the same tuple.
bool operator!= (const CellTuple &other) const
void print ()
 Print info.
void print_detail ()
 Print each Cell individually.

Public Attributes

Vertex * v
 A pointer to the Vertex.
Edge * e
 A pointer to the Edge.
Face * f
 A pointer to the Face.

Detailed Description

template<class Vertex, class Edge, class Face>
class CellTuple< Vertex, Edge, Face >

A Tuple of Cells.

A CellTuple is the essential datastructure for representing a topological position within a CellComplex. In general a cell tuple is a contruct of Brison (ref?) that gives a handle within a CellComplex. It consists of one Cell from each dimention. In two dimenstion, this equates to a triple of Vertex, Edge, and Face.

A CellComplex takes a Tuple as one of its templated types. When using a BezierMesh, one uses a BezierTuple, and when using a BoundaryMesh, one uses a BoundaryTuple

Definition at line 20 of file celltuple.h.


Constructor & Destructor Documentation

template<class Vertex, class Edge, class Face>
CellTuple< Vertex, Edge, Face >::CellTuple (  )  [inline]

Create an empty Tuple with NULL for each Cell.

Definition at line 27 of file celltuple.h.

template<class Vertex, class Edge, class Face>
CellTuple< Vertex, Edge, Face >::CellTuple ( Vertex *  nv,
Edge *  ne,
Face *  nf 
) [inline]

Create an empty Tuple with given Cells.

Parameters:
nv The Vertex of the new Tuple
ne The Edge of the new Tuple
nf The Face of the new Tuple

Definition at line 36 of file celltuple.h.

template<class Vertex, class Edge, class Face>
CellTuple< Vertex, Edge, Face >::CellTuple ( const CellTuple< Vertex, Edge, Face > &  tup  )  [inline]

The copy constructor.

Definition at line 41 of file celltuple.h.


Member Function Documentation

template<class Vertex, class Edge, class Face>
CellTuple& CellTuple< Vertex, Edge, Face >::operator= ( const CellTuple< Vertex, Edge, Face > &  tup  )  [inline]

The assignmnet operator.

Definition at line 46 of file celltuple.h.

References CellTuple< Vertex, Edge, Face >::e, CellTuple< Vertex, Edge, Face >::f, and CellTuple< Vertex, Edge, Face >::v.

template<class Vertex, class Edge, class Face>
bool CellTuple< Vertex, Edge, Face >::operator== ( const CellTuple< Vertex, Edge, Face > &  other  )  const [inline]

Do we represent the same tuple.

Definition at line 54 of file celltuple.h.

References CellTuple< Vertex, Edge, Face >::e, CellTuple< Vertex, Edge, Face >::f, and CellTuple< Vertex, Edge, Face >::v.

Referenced by CellTuple< Vertex, Edge, Face >::operator!=().

template<class Vertex, class Edge, class Face>
bool CellTuple< Vertex, Edge, Face >::operator!= ( const CellTuple< Vertex, Edge, Face > &  other  )  const [inline]

Definition at line 59 of file celltuple.h.

References CellTuple< Vertex, Edge, Face >::operator==().

Here is the call graph for this function:

template<class Vertex, class Edge, class Face>
void CellTuple< Vertex, Edge, Face >::print (  )  [inline]

Print info.

Definition at line 64 of file celltuple.h.

References CellTuple< Vertex, Edge, Face >::e, CellTuple< Vertex, Edge, Face >::f, and CellTuple< Vertex, Edge, Face >::v.

template<class Vertex, class Edge, class Face>
void CellTuple< Vertex, Edge, Face >::print_detail (  )  [inline]

Print each Cell individually.

Definition at line 69 of file celltuple.h.

References CellTuple< Vertex, Edge, Face >::e, CellTuple< Vertex, Edge, Face >::f, and CellTuple< Vertex, Edge, Face >::v.


Member Data Documentation

template<class Vertex, class Edge, class Face>
Vertex* CellTuple< Vertex, Edge, Face >::v

A pointer to the Vertex.

Definition at line 22 of file celltuple.h.

Referenced by BezierMesh::check_consistency(), BezierMesh::clean_insert_point(), Visualization::draw_tuple(), ConformalMesher::excavate_holes(), BezierMesh::insert_edge_midpoint(), BezierMesh::insert_point(), BezierMesh::locate_point_in_linear_mesh(), BezierMesh::locate_point_in_quadratic_triangle(), CellTuple< Vertex, Edge, Face >::operator=(), CellTuple< Vertex, Edge, Face >::operator==(), CellTuple< Vertex, Edge, Face >::print(), CellTuple< Vertex, Edge, Face >::print_detail(), BezierMesh::protect_boundarys(), BezierMesh::remove_vertex(), ConformalMesher::segment_appears(), EPSWrite::shade_triangle(), and BezierMesh::should_flip().

template<class Vertex, class Edge, class Face>
Edge* CellTuple< Vertex, Edge, Face >::e

A pointer to the Edge.

Definition at line 23 of file celltuple.h.

Referenced by BezierMesh::check_consistency(), BezierMesh::clean_insert_point(), Visualization::draw_tuple(), ConformalMesher::excavate_holes(), BezierMesh::insert_edge_midpoint(), BezierMesh::insert_point(), BezierMesh::locate_point_in_linear_mesh(), BezierMesh::locate_point_in_quadratic_triangle(), CellTuple< Vertex, Edge, Face >::operator=(), CellTuple< Vertex, Edge, Face >::operator==(), CellTuple< Vertex, Edge, Face >::print(), CellTuple< Vertex, Edge, Face >::print_detail(), BezierMesh::protect_boundarys(), BezierMesh::remove_vertex(), BezierMesh::replace_control_point(), ConformalMesher::segment_appears(), EPSWrite::shade_triangle(), and Visualization::visual_locate().

template<class Vertex, class Edge, class Face>
Face* CellTuple< Vertex, Edge, Face >::f

A pointer to the Face.

Definition at line 24 of file celltuple.h.

Referenced by BezierMesh::check_consistency(), BezierMesh::clean_insert_point(), Visualization::draw_tuple(), BezierMesh::insert_edge_midpoint(), BezierMesh::locate_point(), BezierMesh::locate_point_in_linear_mesh(), BezierMesh::locate_point_in_quadratic_triangle(), CellTuple< Vertex, Edge, Face >::operator=(), CellTuple< Vertex, Edge, Face >::operator==(), CellTuple< Vertex, Edge, Face >::print(), CellTuple< Vertex, Edge, Face >::print_detail(), BezierMesh::remove_vertex(), BezierMesh::replace_control_point(), and Visualization::visual_locate().


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