BoundaryVertex Class Reference

The Vertex type for a BoundaryMesh. More...

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

Inheritance diagram for BoundaryVertex:

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

Public Member Functions

 BoundaryVertex (PersistantStore &, const ControlPoint &)
 Create an empty BoundaryVertex.
virtual ~BoundaryVertex ()
 Destructor.
void set_bezier (BezierVertex *bv)
 Set the pointer to the corresponding Bezier vertex.
void increase_fixed (Movement)
 Add a direction in which movement is fixed.
void set_cp (const Point2D &p)
 Set the ControlPoint value.
const Point2Dget_cp () const
 Get the ControlPoint value.
Point2Daccess_cp ()
const ControlPointget_control_point () const
const BezierVertexget_bezier () const
BezierVertexget_bezier ()
Movement get_fixed () const
void print () const
 Print info.
 declare_iterators_any (edge, edges, BoundaryEdge)

Private Types

typedef VertexCell super

Private Member Functions

 BoundaryVertex (const BoundaryVertex &other)
BoundaryVertexoperator= (const BoundaryVertex &o)

Private Attributes

BezierVertexbezier_vertex_
 The BezierVertex associated with this vertex (if any).
ControlPoint cp_
 The Iterator pointing to the Geometric Data.
Movement fixed_
 The amount of freedom of movement.

Detailed Description

The Vertex type for a BoundaryMesh.

BoundaryVertexs have a fixed flag which determines how much freedom of movement they have. The also have a single ControlPoint. While this ControlPoint is associated with a DataPoint, the DataPoint normally has little meaning for the BoundaryVertex. The bezier_vertex is a pointer to the BezierVertex that sits on this BoundaryVertex, and the bezier_vertex does have a pointer to the DataPoint.

Definition at line 323 of file cell.h.


Member Typedef Documentation

typedef VertexCell BoundaryVertex::super [private]

Definition at line 325 of file cell.h.


Constructor & Destructor Documentation

BoundaryVertex::BoundaryVertex ( PersistantStore store,
const ControlPoint cp 
)

Create an empty BoundaryVertex.

Ensure that BoundaryVertex is not fixed in its movement.

Definition at line 339 of file cell.C.

virtual BoundaryVertex::~BoundaryVertex (  )  [inline, virtual]

Destructor.

Definition at line 332 of file cell.h.

BoundaryVertex::BoundaryVertex ( const BoundaryVertex other  )  [private]


Member Function Documentation

void BoundaryVertex::set_bezier ( BezierVertex bv  ) 

Set the pointer to the corresponding Bezier vertex.

Definition at line 382 of file cell.C.

References bezier_vertex_, and get_bezier().

Referenced by BezierVertex::set_bdry().

Here is the call graph for this function:

void BoundaryVertex::increase_fixed ( Movement   ) 

Add a direction in which movement is fixed.

Definition at line 345 of file cell.C.

References fixed_, FixedAll, FixedHorizontal, FixedNone, FixedVertical, and get_fixed().

Referenced by BoundaryEdge::set_fixed().

Here is the call graph for this function:

void BoundaryVertex::set_cp ( const Point2D p  ) 

Set the ControlPoint value.

Definition at line 389 of file cell.C.

References access_cp().

Referenced by MeshConstructor::add_arc(), MeshConstructor::add_bezier(), MeshConstructor::add_circle(), MeshConstructor::add_line(), and MeshConstructor::add_spiral().

Here is the call graph for this function:

const Point2D & BoundaryVertex::get_cp (  )  const

Get the ControlPoint value.

Definition at line 395 of file cell.C.

References cp_.

Referenced by MeshConstructor::add_line(), Visualization::draw_boundary_vertex(), Visualization::is_visible(), and operator<<().

Point2D & BoundaryVertex::access_cp (  ) 

Definition at line 399 of file cell.C.

References PersistantList< Value >::iterator::access(), and cp_.

Referenced by set_cp().

Here is the call graph for this function:

const ControlPoint & BoundaryVertex::get_control_point (  )  const

Definition at line 412 of file cell.C.

References cp_.

Referenced by BoundaryMesh::delete_vertex(), and MeshBinaryInput::read().

const BezierVertex * BoundaryVertex::get_bezier (  )  const

Definition at line 404 of file cell.C.

References bezier_vertex_.

Referenced by BoundaryEdge::get_d0_vertex(), operator<<(), and set_bezier().

BezierVertex * BoundaryVertex::get_bezier (  ) 

Definition at line 408 of file cell.C.

References bezier_vertex_.

Movement BoundaryVertex::get_fixed (  )  const

Definition at line 417 of file cell.C.

References fixed_.

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

void BoundaryVertex::print (  )  const

Print info.

Definition at line 423 of file cell.C.

BoundaryVertex::declare_iterators_any ( edge  ,
edges  ,
BoundaryEdge   
)

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


Member Data Documentation

BezierVertex* BoundaryVertex::bezier_vertex_ [private]

The BezierVertex associated with this vertex (if any).

Definition at line 352 of file cell.h.

Referenced by get_bezier(), and set_bezier().

ControlPoint BoundaryVertex::cp_ [private]

The Iterator pointing to the Geometric Data.

Definition at line 353 of file cell.h.

Referenced by access_cp(), get_control_point(), and get_cp().

Movement BoundaryVertex::fixed_ [private]

The amount of freedom of movement.

Definition at line 354 of file cell.h.

Referenced by get_fixed(), and increase_fixed().


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