Isis 3.0 Object Programmers' Reference |
Home |
Encapsulation of a vertex in a minimum spanning tree. More...
Public Member Functions | |
ControlVertex (ControlCubeGraphNode *node) | |
Construct a vertex from a Graph Node. | |
ControlVertex (ControlPoint *point) | |
Construct a vertex from a Control Point. | |
~ControlVertex () | |
Does not own any of its private data. | |
void | setParent (ControlVertex *v) |
Set the parent vertex, removing the root node status. | |
ControlVertex * | getRoot () |
Get the root node, or greatest ancestor. | |
ControlVertex * | getParent () |
Get the parent node. A root node has no parent. | |
ControlCubeGraphNode * | getNode () |
Get the node representation of this vertex. | |
ControlPoint * | getPoint () |
Get the point representation of this vertex. |
Static Public Member Functions | |
static void | join (ControlVertex *v1, ControlVertex *v2) |
Join two nodes by setting one root to be the other's parent. |
Private Attributes | |
ControlCubeGraphNode * | m_node |
The possibly non-existant graph node. | |
ControlPoint * | m_point |
The possibly non-existant control point. | |
ControlVertex * | m_parent |
The possibly non-existant parent vertex. |
Encapsulation of a vertex in a minimum spanning tree.
Can be either a Control Point or a Graph Node. Each vertex is connected to another by a measure. A vertex without a parent vertex is considered a root node, or the base of its own tree.
Definition at line 345 of file ControlNet.h.
|
inline |
Construct a vertex from a Graph Node.
Definition at line 348 of file ControlNet.h.
|
inline |
|
inline |
Does not own any of its private data.
Definition at line 362 of file ControlNet.h.
|
inline |
Get the node representation of this vertex.
Definition at line 379 of file ControlNet.h.
References m_node.
|
inline |
Get the parent node. A root node has no parent.
Definition at line 376 of file ControlNet.h.
References m_parent.
Referenced by getRoot().
|
inline |
Get the point representation of this vertex.
Definition at line 382 of file ControlNet.h.
References m_point.
Referenced by Isis::ControlNet::MinimumSpanningTree().
|
inline |
Get the root node, or greatest ancestor.
Definition at line 368 of file ControlNet.h.
References getParent().
Referenced by join(), and Isis::ControlNet::MinimumSpanningTree().
|
inlinestatic |
Join two nodes by setting one root to be the other's parent.
Definition at line 385 of file ControlNet.h.
References getRoot(), and setParent().
|
inline |
Set the parent vertex, removing the root node status.
Definition at line 365 of file ControlNet.h.
References m_parent.
Referenced by join().
|
private |
The possibly non-existant graph node.
Definition at line 391 of file ControlNet.h.
Referenced by ControlVertex(), and getNode().
|
private |
The possibly non-existant parent vertex.
Definition at line 397 of file ControlNet.h.
Referenced by ControlVertex(), getParent(), and setParent().
|
private |
The possibly non-existant control point.
Definition at line 394 of file ControlNet.h.
Referenced by ControlVertex(), and getPoint().