#include <orthoverticeaccessorwithholes.h>
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 |
Definition at line 9 of file orthoverticeaccessorwithholes.h.
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.
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 }
friend class OrthoMesh [friend] |
Definition at line 11 of file orthoverticeaccessorwithholes.h.
Definition at line 13 of file orthoverticeaccessorwithholes.h.
unsigned OrthoVerticeAccessorWithHoles::m_newIndex [private] |
Definition at line 14 of file orthoverticeaccessorwithholes.h.