Developer Documentation
RAVL, Recognition And Vision Library
USER HOME PAGE CLASS LIST CONTENTS
Ravl - 3D - Half Edge Mesh - HEMeshVertexIterC
 

  PUBLIC
HEMeshVertexIterC::HEMeshVertexIterC(void)
HEMeshVertexIterC::HEMeshVertexIterC(IntrDListC &)
HEMeshVertexIterC::Data(void)
HEMeshVertexIterC::Data(void) const
HEMeshVertexIterC::operator *(void)
HEMeshVertexIterC::operator *(void) const
IntrDLIterC::IsValid(void) const
IntrDLIterC::First(void)
IntrDLIterC::Last(void)
IntrDLIterC::operator bool(void) const
IntrDLIterC::IsElm(void) const
IntrDLIterC::IsFirst(void) const
IntrDLIterC::IsLast(void) const
IntrDLIterC::operator ++(void)
IntrDLIterC::operator ++(int)
IntrDLIterC::operator --(int)
IntrDLIterC::Next(void)
IntrDLIterC::Prev(void)
IntrDLIterC::NextCrc(void)
IntrDLIterC::PrevCrc(void)
IntrDLIterC::operator *(void)
IntrDLIterC::operator *(void) const
IntrDLIterC::operator ->(void)
IntrDLIterC::operator ->(void) const
IntrDLIterC::Data(void)
IntrDLIterC::Data(void) const
IntrDLIterC::Extract(void)
IntrDLIterC::Del(void)
IntrDLIterC::InsertBef(DataT &)
IntrDLIterC::InsertAft(DataT &)
IntrDLIterC::List(void)
IntrDLIterC::List(void) const
IntrDLIterC::Invalidate(void)
IntrDLIterC::SetIter(const IntrDListC &,DataT &)
IntrDLIterC::Head(void)
IntrDLIterC::Head(void) const

   HEMeshVertexIterC   
 
Mesh vertex iterator.
 
include "Ravl/3D/HEMeshVertexIter.hh"
Created:22/5/2002 
Source file:Ravl/3D/Mesh/HEMeshVertexIter.hh
User Level:Normal
Library:Ravl3D
In Scope:Ravl3DN

Comments:
Note: It is the users responsibility to ensure the current vertex of the interator is NOT deleted until the iterator is moved to another element.

Parent Classes: Methods:
HEMeshVertexIterC()
Default constructor.

HEMeshVertexIterC(IntrDListC<HEMeshVertexBodyC> & iter)
Constructor from a IntrDListC.

HEMeshVertexC Data()
Access Vertex.

const HEMeshVertexC Data() const
Access Vertex.

HEMeshVertexC operator *()
Access Vertex.

const HEMeshVertexC operator *() const
Access Vertex.

#include "Ravl/InDLIter.hh"
bool IsValid() const
Is iterator valid ?
true is returned for a valid iterator.

void First()
Goto first element in the list.

void Last()
Goto the last element in the list.

operator bool() const
At a valid node ?

bool IsElm() const
At a valid element in the list ?
AMMA compatibilty function, use operator bool() instread.

bool IsFirst() const
At the first element in the list ?
AMMA compatibilty function.

bool IsLast() const
At the last element in the list ?
AMMA compatibilty function.

void operator ++()
Goto next element in list.

void operator ++(int)
Goto next element in list.

void operator --(int)
Goto previous element in list.

void Next()
Goto next element in list.
AMMA compatibilty function, use operator++() instread.

void Prev()
Goto previous element in list.
AMMA compatibilty function, use operator--() instread.

void NextCrc()
Goto next element in list, skip the head element.
AMMA compatibilty function.

void PrevCrc()
Goto previous element in list, skip the head element.
AMMA compatibilty function.

HEMeshVertexBodyC & operator *()
Access data.
NB. The iterator MUST be valid. check with 'operator bool()'.

const HEMeshVertexBodyC & operator *() const
Constant access to data.
NB. The iterator MUST be valid. check with 'operator bool()'.

HEMeshVertexBodyC * operator ->()
Access data.
NB. The iterator MUST be valid. check with 'operator bool()'.

const HEMeshVertexBodyC * operator ->() const
Constant access to data.
NB. The iterator MUST be valid. check with 'operator bool()'.

HEMeshVertexBodyC & Data()
Access data.
NB. The iterator MUST be valid. check with 'operator bool()'.

const HEMeshVertexBodyC & Data() const
Constant access to data.
NB. The iterator MUST be valid. check with 'operator bool()'.

HEMeshVertexBodyC & Extract()
Extract the current element from the list.
Do not delete it, the user is responsible for ensuring this happens at an approprate time. The iteration is left pointing at the element before the one extracted. The iterator must be valid.

void Del()
Delete the current element from the list.
actuall delete the element where appropriate. The iterator must be valid.

void InsertBef(HEMeshVertexBodyC & dat)
Insert data before current element.
if at the head of the list (i.e. operator bool() failes.) then add at end.

void InsertAft(HEMeshVertexBodyC & dat)
Insert data after current element.
if at the head of the list (i.e. operator bool() failes.) then add at begining.

IntrDListC<HEMeshVertexBodyC> & List()
Access the list we're iterating.

const IntrDListC<HEMeshVertexBodyC> & List() const
Access the list we're iterating.

bool Invalidate()
Point interator at an invalid element.

void SetIter(const IntrDListC<HEMeshVertexBodyC> & lst,HEMeshVertexBodyC & nplace)
Set iterator to new value.

DLinkC & Head()
Get head of list.

const DLinkC & Head() const
Get head of list.


Maintainer:Charles Galambos, Created: 22/5/2002, Documentation by CxxDoc: Tue Aug 13 09:59:30 2002