#include </usr1/tp517/Tumble/trunk/src/tumble/cell.h>
Inheritance diagram for BoundaryVertex:
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 Point2D & | get_cp () const |
Get the ControlPoint value. | |
Point2D & | access_cp () |
const ControlPoint & | get_control_point () const |
const BezierVertex * | get_bezier () const |
BezierVertex * | get_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) | |
BoundaryVertex & | operator= (const BoundaryVertex &o) |
Private Attributes | |
BezierVertex * | bezier_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. |
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.
typedef VertexCell BoundaryVertex::super [private] |
BoundaryVertex::BoundaryVertex | ( | PersistantStore & | store, | |
const ControlPoint & | cp | |||
) |
Create an empty BoundaryVertex.
Ensure that BoundaryVertex is not fixed in its movement.
virtual BoundaryVertex::~BoundaryVertex | ( | ) | [inline, virtual] |
BoundaryVertex::BoundaryVertex | ( | const BoundaryVertex & | other | ) | [private] |
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 | ( | ) |
Movement BoundaryVertex::get_fixed | ( | ) | const |
Definition at line 417 of file cell.C.
References fixed_.
Referenced by increase_fixed(), and operator<<().
BoundaryVertex::declare_iterators_any | ( | edge | , | |
edges | , | |||
BoundaryEdge | ||||
) |
BoundaryVertex& BoundaryVertex::operator= | ( | const BoundaryVertex & | o | ) | [private] |
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().