#include <Wm4VEManifoldMesh.h>
Classes | |
class | Edge |
class | Vertex |
Public Types | |
typedef const Edge * | ECPtr |
typedef EPtr(* | ECreator )(int, int) |
typedef std::map< std::pair < int, int >, Edge * > | EMap |
typedef EMap::const_iterator | EMapCIterator |
typedef EMap::iterator | EMapIterator |
typedef Edge * | EPtr |
typedef const Vertex * | VCPtr |
typedef VPtr(* | VCreator )(int) |
typedef std::map< int, Vertex * > | VMap |
typedef VMap::const_iterator | VMapCIterator |
typedef VMap::iterator | VMapIterator |
typedef Vertex * | VPtr |
Public Member Functions | |
const EMap & | GetEdges () const |
const VMap & | GetVertices () const |
EPtr | InsertEdge (int iV0, int iV1) |
bool | IsClosed () const |
void | Print (const char *acFilename) |
bool | RemoveEdge (int iV0, int iV1) |
VEManifoldMesh (VCreator oVCreator=0, ECreator oECreator=0) | |
virtual | ~VEManifoldMesh () |
Static Protected Member Functions | |
static EPtr | CreateEdge (int iV0, int iV1) |
static VPtr | CreateVertex (int iV0) |
Protected Attributes | |
EMap | m_kEMap |
VMap | m_kVMap |
ECreator | m_oECreator |
VCreator | m_oVCreator |
Definition at line 26 of file Wm4VEManifoldMesh.h.
typedef const Edge* Wm4::VEManifoldMesh::ECPtr |
Definition at line 41 of file Wm4VEManifoldMesh.h.
typedef EPtr(* Wm4::VEManifoldMesh::ECreator)(int, int) |
Definition at line 42 of file Wm4VEManifoldMesh.h.
typedef std::map<std::pair<int,int>,Edge*> Wm4::VEManifoldMesh::EMap |
Definition at line 43 of file Wm4VEManifoldMesh.h.
typedef EMap::const_iterator Wm4::VEManifoldMesh::EMapCIterator |
Definition at line 45 of file Wm4VEManifoldMesh.h.
typedef EMap::iterator Wm4::VEManifoldMesh::EMapIterator |
Definition at line 44 of file Wm4VEManifoldMesh.h.
typedef Edge* Wm4::VEManifoldMesh::EPtr |
Definition at line 39 of file Wm4VEManifoldMesh.h.
typedef const Vertex* Wm4::VEManifoldMesh::VCPtr |
Definition at line 32 of file Wm4VEManifoldMesh.h.
typedef VPtr(* Wm4::VEManifoldMesh::VCreator)(int) |
Definition at line 33 of file Wm4VEManifoldMesh.h.
typedef std::map<int,Vertex*> Wm4::VEManifoldMesh::VMap |
Definition at line 34 of file Wm4VEManifoldMesh.h.
typedef VMap::const_iterator Wm4::VEManifoldMesh::VMapCIterator |
Definition at line 36 of file Wm4VEManifoldMesh.h.
typedef VMap::iterator Wm4::VEManifoldMesh::VMapIterator |
Definition at line 35 of file Wm4VEManifoldMesh.h.
typedef Vertex* Wm4::VEManifoldMesh::VPtr |
Definition at line 30 of file Wm4VEManifoldMesh.h.
Definition at line 22 of file Wm4VEManifoldMesh.cpp.
References CreateEdge(), CreateVertex(), m_oECreator, and m_oVCreator.
VEManifoldMesh::~VEManifoldMesh | ( | ) | [virtual] |
Definition at line 28 of file Wm4VEManifoldMesh.cpp.
References m_kEMap, m_kVMap, and WM4_DELETE.
VEManifoldMesh::EPtr VEManifoldMesh::CreateEdge | ( | int | iV0, | |
int | iV1 | |||
) | [static, protected] |
Definition at line 48 of file Wm4VEManifoldMesh.cpp.
References WM4_NEW.
Referenced by VEManifoldMesh().
VEManifoldMesh::VPtr VEManifoldMesh::CreateVertex | ( | int | iV0 | ) | [static, protected] |
Definition at line 43 of file Wm4VEManifoldMesh.cpp.
References WM4_NEW.
Referenced by VEManifoldMesh().
const VEManifoldMesh::EMap & Wm4::VEManifoldMesh::GetEdges | ( | ) | const [inline] |
Definition at line 25 of file Wm4VEManifoldMesh.inl.
References m_kEMap.
const VEManifoldMesh::VMap & Wm4::VEManifoldMesh::GetVertices | ( | ) | const [inline] |
Definition at line 20 of file Wm4VEManifoldMesh.inl.
References m_kVMap.
VEManifoldMesh::EPtr VEManifoldMesh::InsertEdge | ( | int | iV0, | |
int | iV1 | |||
) |
Definition at line 53 of file Wm4VEManifoldMesh.cpp.
References Wm4::VEManifoldMesh::Edge::E, Wm4::VEManifoldMesh::Vertex::E, m_kEMap, m_kVMap, m_oECreator, m_oVCreator, and Wm4::VEManifoldMesh::Edge::V.
bool VEManifoldMesh::IsClosed | ( | ) | const |
Definition at line 177 of file Wm4VEManifoldMesh.cpp.
References Wm4::VEManifoldMesh::Vertex::E, and m_kVMap.
void VEManifoldMesh::Print | ( | const char * | acFilename | ) |
Definition at line 191 of file Wm4VEManifoldMesh.cpp.
References Wm4::VEManifoldMesh::Vertex::E, Py::int, m_kEMap, m_kVMap, and Wm4::VEManifoldMesh::Vertex::V.
bool VEManifoldMesh::RemoveEdge | ( | int | iV0, | |
int | iV1 | |||
) |
Definition at line 116 of file Wm4VEManifoldMesh.cpp.
References Wm4::VEManifoldMesh::Edge::E, m_kEMap, m_kVMap, Wm4::VEManifoldMesh::Edge::V, and WM4_DELETE.
EMap Wm4::VEManifoldMesh::m_kEMap [protected] |
Definition at line 101 of file Wm4VEManifoldMesh.h.
Referenced by GetEdges(), InsertEdge(), Print(), RemoveEdge(), and ~VEManifoldMesh().
VMap Wm4::VEManifoldMesh::m_kVMap [protected] |
Definition at line 96 of file Wm4VEManifoldMesh.h.
Referenced by GetVertices(), InsertEdge(), IsClosed(), Print(), RemoveEdge(), and ~VEManifoldMesh().
ECreator Wm4::VEManifoldMesh::m_oECreator [protected] |
Definition at line 100 of file Wm4VEManifoldMesh.h.
Referenced by InsertEdge(), and VEManifoldMesh().
VCreator Wm4::VEManifoldMesh::m_oVCreator [protected] |
Definition at line 95 of file Wm4VEManifoldMesh.h.
Referenced by InsertEdge(), and VEManifoldMesh().