Vertex_Schedule Class Reference

#include <vertex_schedule.h>

Collaboration diagram for Vertex_Schedule:

Collaboration graph
[legend]
List of all members.

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
VertexgetCurrentVertex (void) const
VertexgetSeedVertex (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_Scheduleinstance (void)

Member Function Documentation

Vertex_Schedule & Vertex_Schedule::instance ( void   )  [static]

void Vertex_Schedule::calculateMoveLocation ( Vertex * const  v  ) 

Calculate and record move location of input vertex.

Parameters:
[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.

Parameters:
[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.

Returns:
Iterator pointing to the first vertex 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.

Returns:
Iterator pointing to one past the last vertex 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.

Returns:
Recorded move location of current vertex.

Vertex* Vertex_Schedule::getCurrentVertex ( void   )  const [inline]

Retrieve vertex attempting to move now.

Returns:
Pointer to vertex attempting to move now.

Vertex* Vertex_Schedule::getSeedVertex ( void   )  const [inline]

Retrieve pointer to seed vertex of collection of vertices to move.

Returns:
Pointer to seed vertex.

int Vertex_Schedule::getNumMovedVertsGroup ( void   )  const [inline]

Retrieve the number of vertices moved so far in this group.

Returns:
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.

Parameters:
[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.

Returns:
True if no more vertices to move; false otherwise.

int Vertex_Schedule::getReferenceCountMovedVerts ( void   )  const [inline]

Retrieve the number of moved vertices in group at start of last set of moved vertices.

Returns:
Reference count of moved vertices in group.

bool Vertex_Schedule::noSetVerticesMoved ( void   )  const [inline]

Determine if any vertices were moved from last set of move candidates.

Returns:
True if no vertices were moved; false otherwise.


The documentation for this class was generated from the following files:
Generated on Fri Feb 13 13:58:42 2009 for meshmorph by  doxygen 1.5.1