OrthoVerticeAccessorWithHoles Class Reference

#include <orthoverticeaccessorwithholes.h>

Inheritance diagram for OrthoVerticeAccessorWithHoles:
Inheritance graph
[legend]
Collaboration diagram for OrthoVerticeAccessorWithHoles:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ~OrthoVerticeAccessorWithHoles ()
void operator++ (int)
unsigned index ()

Private Member Functions

 OrthoVerticeAccessorWithHoles (const OrthoMesh &mesh, unsigned rawIndex)

Private Attributes

DelIndexLst::Iterator m_delIt
unsigned m_newIndex

Friends

class OrthoMesh

Detailed Description

Definition at line 9 of file orthoverticeaccessorwithholes.h.


Constructor & Destructor Documentation

OrthoVerticeAccessorWithHoles::OrthoVerticeAccessorWithHoles ( const OrthoMesh mesh,
unsigned  rawIndex 
) [private]

Definition at line 4 of file orthoverticeaccessorwithholes.cpp.

00005    :OrthoVerticeAccessor(mesh,rawIndex)
00006  {
00007    m_delIt = m_mesh->_delVertLst.findLUEntry(rawIndex);
00008    m_newIndex=rawIndex-m_delIt->off();
00009  }

OrthoVerticeAccessorWithHoles::~OrthoVerticeAccessorWithHoles (  )  [inline]

Definition at line 20 of file orthoverticeaccessorwithholes.h.

00020 {}


Member Function Documentation

unsigned OrthoVerticeAccessorWithHoles::index (  )  [inline]

Reimplemented from OrthoVerticeAccessor.

Definition at line 22 of file orthoverticeaccessorwithholes.h.

00022 {return m_newIndex;}

void OrthoVerticeAccessorWithHoles::operator++ ( int   ) 

Reimplemented from OrthoVerticeAccessor.

Definition at line 15 of file orthoverticeaccessorwithholes.cpp.

00016 {
00017   OrthoVerticeAccessor &rawVert = *this;
00018   rawVert++;
00019   if (rawVert.index() < m_delIt->index())
00020     m_newIndex=rawVert.index()-m_delIt->off();
00021   else
00022   {
00023     do {
00024       rawVert++;
00025       m_delIt++;
00026     }while (m_delIt->index() == rawVert.index());
00027     m_newIndex=rawVert.index()-m_delIt->off();
00028   }
00029 }


Friends And Related Function Documentation

friend class OrthoMesh [friend]

Definition at line 11 of file orthoverticeaccessorwithholes.h.


Member Data Documentation

Definition at line 13 of file orthoverticeaccessorwithholes.h.

Definition at line 14 of file orthoverticeaccessorwithholes.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Sun Apr 8 23:13:26 2012 for CO2INJECTION by  doxygen 1.6.3