#include <vertex_schedule.h>
Collaboration diagram for Vertex_Schedule:
Public Member Functions | |
void | calculateMoveLocation (Vertex *const) |
void | collectVerticesToMoveNext (const int &) |
void | readVertexSequence (const char *filename) |
vp_cit | beginVset (void) const |
vp_cit | endVset (void) const |
void | incrementNumMovedVertsGroup (void) |
vector3 const * | getVertexDestination (void) const |
Vertex * | getCurrentVertex (void) const |
Vertex * | getSeedVertex (void) const |
int | getNumMovedVertsGroup (void) const |
void | setNumMovedVertsGroup (int const &init_value) |
bool | noMoreVerticesToMove (void) const |
int | getReferenceCountMovedVerts (void) const |
bool | noSetVerticesMoved (void) const |
Static Public Member Functions | |
static Vertex_Schedule & | instance (void) |
Vertex_Schedule & Vertex_Schedule::instance | ( | void | ) | [static] |
void Vertex_Schedule::calculateMoveLocation | ( | Vertex * const | v | ) |
Calculate and record move location of input vertex.
[in] | v | Vertex attempting a move. |
void Vertex_Schedule::collectVerticesToMoveNext | ( | const int & | group | ) |
Identify and record a collection of vertices to move next.
void Vertex_Schedule::readVertexSequence | ( | const char * | filename | ) |
Process vertex move sequence data.
[in] | filename | File containing a list of vertices to be moved in order. |
vp_cit Vertex_Schedule::beginVset | ( | void | ) | const [inline] |
Get an iterator pointing to the first in the collection of vertices to move next.
vp_cit Vertex_Schedule::endVset | ( | void | ) | const [inline] |
Get an iterator pointing to one past the last in the collection of vertices to move next.
void Vertex_Schedule::incrementNumMovedVertsGroup | ( | void | ) | [inline] |
Increment the number of moved vertices in group.
vector3 const* Vertex_Schedule::getVertexDestination | ( | void | ) | const [inline] |
Retrieve the location to which current vertex is attempting to move.
Vertex* Vertex_Schedule::getCurrentVertex | ( | void | ) | const [inline] |
Retrieve vertex attempting to move now.
Vertex* Vertex_Schedule::getSeedVertex | ( | void | ) | const [inline] |
Retrieve pointer to seed vertex of collection of vertices to move.
int Vertex_Schedule::getNumMovedVertsGroup | ( | void | ) | const [inline] |
Retrieve the number of vertices moved so far in this group.
void Vertex_Schedule::setNumMovedVertsGroup | ( | int const & | init_value | ) | [inline] |
Initialize number of moved vertices in group.
[in] | init_value | Initial value of number of moved vertices. |
bool Vertex_Schedule::noMoreVerticesToMove | ( | void | ) | const [inline] |
Check if more vertices in collection to move.
int Vertex_Schedule::getReferenceCountMovedVerts | ( | void | ) | const [inline] |
Retrieve the number of moved vertices in group at start of last set of moved vertices.
bool Vertex_Schedule::noSetVerticesMoved | ( | void | ) | const [inline] |
Determine if any vertices were moved from last set of move candidates.