ml::CSOPathPointConstIterator Class Reference

#include <CSOPathPointIterator.h>

List of all members.

Public Member Functions

 CSOPathPointConstIterator ()
 Default constructor.
 CSOPathPointConstIterator (const CSO *cso, unsigned int startPathIndex=0, unsigned int startPointIndex=0)
 Constructor.
 CSOPathPointConstIterator (const CSO *cso, const CSOPathPoints *pathPoints, unsigned int startPathIndex, unsigned int startPointIndex=0)
 Constructor.
 CSOPathPointConstIterator (const CSO *cso, const CSOPathPoints *pathPoints, unsigned int startPointIndex=0)
 Constructor.
 CSOPathPointConstIterator (const CSO *cso, const CSOSeedPoint *startSeedPoint)
 Constructor.
 CSOPathPointConstIterator (const CSOPathPointConstIterator &rhs)
 Copy constructor.
 ~CSOPathPointConstIterator ()
 Default destructor.
CSOPathPointConstIteratoroperator++ ()
 Steps to the next point on the cso (prefix).
CSOPathPointConstIterator operator++ (int dummy)
 Steps to the next point on the cso (postfix).
CSOPathPointConstIteratoroperator-- ()
 Steps to the previous point on the cso (prefix).
CSOPathPointConstIterator operator-- (int dummy)
 Steps to the previous point on the cso (postfix).
CSOPathPointConstIteratoroperator+= (int offset)
 Steps to the next point by the given offest.
CSOPathPointConstIteratoroperator-= (int offset)
 Steps to the previous point by the given offest.
CSOPathPointConstIterator operator+ (int offset) const
 Steps to the next point by the given offest.
CSOPathPointConstIterator operator- (int offset) const
 Steps to the previous point by the given offest.
CSOPathPointConstIteratoroperator= (const CSOPathPointConstIterator &rhs)
 Assignment operator.
bool operator== (const CSOPathPointConstIterator &rhs) const
 Comparison operator.
bool operator!= (const CSOPathPointConstIterator &rhs) const
 Comparison operator.
bool operator> (const CSOPathPointConstIterator &rhs) const
 Comparison operator.
bool operator>= (const CSOPathPointConstIterator &rhs) const
 Comparison operator.
bool operator< (const CSOPathPointConstIterator &rhs) const
 Comparison operator.
bool operator<= (const CSOPathPointConstIterator &rhs) const
 Comparison operator.
const CSOgetCSO () const
 Returns the cso.
unsigned int getPathIndex () const
 Returns the index of the current path.
unsigned int getPointIndex () const
 Returns the index of the current point.
const CSOPathPointsgetPathPoints () const
Vector3 getPos () const
 Returns the current point.
const Vector4getPosValue () const
 Returns the current point including its value.
double getValue () const
 Returns the value of the current point.
unsigned int numPoints () const
 Returns the total number of points of the cso.
unsigned int numProcessedPoints () const
 Returns the number of processed points (relative to the start).
unsigned int numTotalProcessedPoints () const
 Returns the total number of processed points (i.e.
void makeEnd ()
 Makes this iterator pointing to the "end" of the cso.
bool isEnd () const
 Returns if this iterator points to the end of the cso.
CSOPathPointConstIterator next () const
 Returns an iterator to the next path point if available and otherwise a CSOPathPointIteratorEnd.
CSOPathPointConstIterator prev () const
 Returns an iterator to the prev path point if available and otherwise a CSOPathPointIteratorEnd.

Static Public Attributes

static const unsigned int INVALID_INDEX


Detailed Description

Definition at line 177 of file CSOPathPointIterator.h.


Constructor & Destructor Documentation

ml::CSOPathPointConstIterator::CSOPathPointConstIterator (  ) 

Default constructor.

ml::CSOPathPointConstIterator::CSOPathPointConstIterator ( const CSO cso,
unsigned int  startPathIndex = 0,
unsigned int  startPointIndex = 0 
)

Constructor.

ml::CSOPathPointConstIterator::CSOPathPointConstIterator ( const CSO cso,
const CSOPathPoints pathPoints,
unsigned int  startPathIndex,
unsigned int  startPointIndex = 0 
)

Constructor.

ml::CSOPathPointConstIterator::CSOPathPointConstIterator ( const CSO cso,
const CSOPathPoints pathPoints,
unsigned int  startPointIndex = 0 
)

Constructor.

ml::CSOPathPointConstIterator::CSOPathPointConstIterator ( const CSO cso,
const CSOSeedPoint startSeedPoint 
)

Constructor.

ml::CSOPathPointConstIterator::CSOPathPointConstIterator ( const CSOPathPointConstIterator rhs  ) 

Copy constructor.

ml::CSOPathPointConstIterator::~CSOPathPointConstIterator (  )  [inline]

Default destructor.

Definition at line 201 of file CSOPathPointIterator.h.


Member Function Documentation

const CSO* ml::CSOPathPointConstIterator::getCSO (  )  const [inline]

Returns the cso.

Definition at line 244 of file CSOPathPointIterator.h.

unsigned int ml::CSOPathPointConstIterator::getPathIndex (  )  const [inline]

Returns the index of the current path.

Definition at line 247 of file CSOPathPointIterator.h.

const CSOPathPoints* ml::CSOPathPointConstIterator::getPathPoints (  )  const [inline]

Definition at line 252 of file CSOPathPointIterator.h.

unsigned int ml::CSOPathPointConstIterator::getPointIndex (  )  const [inline]

Returns the index of the current point.

Definition at line 249 of file CSOPathPointIterator.h.

Vector3 ml::CSOPathPointConstIterator::getPos (  )  const [inline]

Returns the current point.

Definition at line 255 of file CSOPathPointIterator.h.

const Vector4& ml::CSOPathPointConstIterator::getPosValue (  )  const [inline]

Returns the current point including its value.

Definition at line 257 of file CSOPathPointIterator.h.

double ml::CSOPathPointConstIterator::getValue (  )  const [inline]

Returns the value of the current point.

Definition at line 259 of file CSOPathPointIterator.h.

bool ml::CSOPathPointConstIterator::isEnd (  )  const [inline]

Returns if this iterator points to the end of the cso.

I.e. all points have been processed or the end of the cso has been reached.

Definition at line 276 of file CSOPathPointIterator.h.

void ml::CSOPathPointConstIterator::makeEnd (  ) 

Makes this iterator pointing to the "end" of the cso.

CSOPathPointConstIterator ml::CSOPathPointConstIterator::next (  )  const

Returns an iterator to the next path point if available and otherwise a CSOPathPointIteratorEnd.

unsigned int ml::CSOPathPointConstIterator::numPoints (  )  const [inline]

Returns the total number of points of the cso.

Definition at line 262 of file CSOPathPointIterator.h.

unsigned int ml::CSOPathPointConstIterator::numProcessedPoints (  )  const [inline]

Returns the number of processed points (relative to the start).

The maximum value returned by this function is equal numPoints()+1.

Definition at line 265 of file CSOPathPointIterator.h.

References ml::mlAbs().

unsigned int ml::CSOPathPointConstIterator::numTotalProcessedPoints (  )  const [inline]

Returns the total number of processed points (i.e.

using both increments and decrements). The number returned by this function might be much larger than numPoints() when mixing up increments and decrements.

Definition at line 268 of file CSOPathPointIterator.h.

bool ml::CSOPathPointConstIterator::operator!= ( const CSOPathPointConstIterator rhs  )  const

Comparison operator.

CSOPathPointConstIterator ml::CSOPathPointConstIterator::operator+ ( int  offset  )  const

Steps to the next point by the given offest.

CSOPathPointConstIterator ml::CSOPathPointConstIterator::operator++ ( int  dummy  ) 

Steps to the next point on the cso (postfix).

CSOPathPointConstIterator& ml::CSOPathPointConstIterator::operator++ (  ) 

Steps to the next point on the cso (prefix).

CSOPathPointConstIterator& ml::CSOPathPointConstIterator::operator+= ( int  offset  ) 

Steps to the next point by the given offest.

CSOPathPointConstIterator ml::CSOPathPointConstIterator::operator- ( int  offset  )  const

Steps to the previous point by the given offest.

CSOPathPointConstIterator ml::CSOPathPointConstIterator::operator-- ( int  dummy  ) 

Steps to the previous point on the cso (postfix).

CSOPathPointConstIterator& ml::CSOPathPointConstIterator::operator-- (  ) 

Steps to the previous point on the cso (prefix).

CSOPathPointConstIterator& ml::CSOPathPointConstIterator::operator-= ( int  offset  ) 

Steps to the previous point by the given offest.

bool ml::CSOPathPointConstIterator::operator< ( const CSOPathPointConstIterator rhs  )  const

Comparison operator.

bool ml::CSOPathPointConstIterator::operator<= ( const CSOPathPointConstIterator rhs  )  const

Comparison operator.

CSOPathPointConstIterator& ml::CSOPathPointConstIterator::operator= ( const CSOPathPointConstIterator rhs  ) 

Assignment operator.

bool ml::CSOPathPointConstIterator::operator== ( const CSOPathPointConstIterator rhs  )  const

Comparison operator.

bool ml::CSOPathPointConstIterator::operator> ( const CSOPathPointConstIterator rhs  )  const

Comparison operator.

bool ml::CSOPathPointConstIterator::operator>= ( const CSOPathPointConstIterator rhs  )  const

Comparison operator.

CSOPathPointConstIterator ml::CSOPathPointConstIterator::prev (  )  const

Returns an iterator to the prev path point if available and otherwise a CSOPathPointIteratorEnd.


Member Data Documentation

const unsigned int ml::CSOPathPointConstIterator::INVALID_INDEX [static]

Definition at line 183 of file CSOPathPointIterator.h.


The documentation for this class was generated from the following file:

Generated on Sat Sep 3 18:39:42 2011 for MeVisLab Toolbox Reference by  doxygen 1.5.8