#include <Wm4ETManifoldMesh.h>
Classes | |
class | Edge |
class | Triangle |
Public Types | |
typedef const Edge * | ECPtr |
typedef EPtr(* | ECreator )(int, int) |
typedef std::map< EdgeKey, Edge * > | EMap |
typedef EMap::const_iterator | EMapCIterator |
typedef EMap::iterator | EMapIterator |
typedef Edge * | EPtr |
typedef const Triangle * | TCPtr |
typedef TPtr(* | TCreator )(int, int, int) |
typedef std::map< TriangleKey, Triangle * > | TMap |
typedef TMap::const_iterator | TMapCIterator |
typedef TMap::iterator | TMapIterator |
typedef Triangle * | TPtr |
Public Member Functions | |
ETManifoldMesh (ECreator oECreator=0, TCreator oTCreator=0) | |
const EMap & | GetEdges () const |
const TMap & | GetTriangles () const |
TPtr | InsertTriangle (int iV0, int iV1, int iV2) |
bool | IsClosed () const |
void | Print (const char *acFilename) |
bool | RemoveTriangle (int iV0, int iV1, int iV2) |
virtual | ~ETManifoldMesh () |
Static Protected Member Functions | |
static EPtr | CreateEdge (int iV0, int iV1) |
static TPtr | CreateTriangle (int iV0, int iV1, int iV2) |
Protected Attributes | |
EMap | m_kEMap |
TMap | m_kTMap |
ECreator | m_oECreator |
TCreator | m_oTCreator |
Definition at line 27 of file Wm4ETManifoldMesh.h.
typedef const Edge* Wm4::ETManifoldMesh::ECPtr |
Definition at line 33 of file Wm4ETManifoldMesh.h.
typedef EPtr(* Wm4::ETManifoldMesh::ECreator)(int, int) |
Definition at line 34 of file Wm4ETManifoldMesh.h.
typedef std::map<EdgeKey,Edge*> Wm4::ETManifoldMesh::EMap |
Definition at line 35 of file Wm4ETManifoldMesh.h.
typedef EMap::const_iterator Wm4::ETManifoldMesh::EMapCIterator |
Definition at line 37 of file Wm4ETManifoldMesh.h.
typedef EMap::iterator Wm4::ETManifoldMesh::EMapIterator |
Definition at line 36 of file Wm4ETManifoldMesh.h.
typedef Edge* Wm4::ETManifoldMesh::EPtr |
Definition at line 31 of file Wm4ETManifoldMesh.h.
typedef const Triangle* Wm4::ETManifoldMesh::TCPtr |
Definition at line 42 of file Wm4ETManifoldMesh.h.
typedef TPtr(* Wm4::ETManifoldMesh::TCreator)(int, int, int) |
Definition at line 43 of file Wm4ETManifoldMesh.h.
typedef std::map<TriangleKey,Triangle*> Wm4::ETManifoldMesh::TMap |
Definition at line 44 of file Wm4ETManifoldMesh.h.
typedef TMap::const_iterator Wm4::ETManifoldMesh::TMapCIterator |
Definition at line 46 of file Wm4ETManifoldMesh.h.
typedef TMap::iterator Wm4::ETManifoldMesh::TMapIterator |
Definition at line 45 of file Wm4ETManifoldMesh.h.
typedef Triangle* Wm4::ETManifoldMesh::TPtr |
Definition at line 40 of file Wm4ETManifoldMesh.h.
Definition at line 22 of file Wm4ETManifoldMesh.cpp.
References CreateEdge(), CreateTriangle(), m_oECreator, and m_oTCreator.
ETManifoldMesh::~ETManifoldMesh | ( | ) | [virtual] |
Definition at line 28 of file Wm4ETManifoldMesh.cpp.
References m_kEMap, m_kTMap, and WM4_DELETE.
ETManifoldMesh::EPtr ETManifoldMesh::CreateEdge | ( | int | iV0, | |
int | iV1 | |||
) | [static, protected] |
Definition at line 43 of file Wm4ETManifoldMesh.cpp.
References WM4_NEW.
Referenced by ETManifoldMesh().
ETManifoldMesh::TPtr ETManifoldMesh::CreateTriangle | ( | int | iV0, | |
int | iV1, | |||
int | iV2 | |||
) | [static, protected] |
Definition at line 48 of file Wm4ETManifoldMesh.cpp.
References WM4_NEW.
Referenced by ETManifoldMesh().
const ETManifoldMesh::EMap & Wm4::ETManifoldMesh::GetEdges | ( | ) | const [inline] |
Definition at line 20 of file Wm4ETManifoldMesh.inl.
References m_kEMap.
const ETManifoldMesh::TMap & Wm4::ETManifoldMesh::GetTriangles | ( | ) | const [inline] |
Definition at line 25 of file Wm4ETManifoldMesh.inl.
References m_kTMap.
ETManifoldMesh::TPtr ETManifoldMesh::InsertTriangle | ( | int | iV0, | |
int | iV1, | |||
int | iV2 | |||
) |
Definition at line 54 of file Wm4ETManifoldMesh.cpp.
References Wm4::ETManifoldMesh::Triangle::E, m_kEMap, m_kTMap, m_oECreator, m_oTCreator, Wm4::ETManifoldMesh::Triangle::T, Wm4::ETManifoldMesh::Edge::T, and Wm4::ETManifoldMesh::Triangle::V.
bool ETManifoldMesh::IsClosed | ( | ) | const |
Definition at line 180 of file Wm4ETManifoldMesh.cpp.
References m_kEMap, and Wm4::ETManifoldMesh::Edge::T.
void ETManifoldMesh::Print | ( | const char * | acFilename | ) |
Definition at line 194 of file Wm4ETManifoldMesh.cpp.
References Py::int, m_kEMap, m_kTMap, RobotExample::t, Wm4::ETManifoldMesh::Edge::T, and Wm4::ETManifoldMesh::Edge::V.
bool ETManifoldMesh::RemoveTriangle | ( | int | iV0, | |
int | iV1, | |||
int | iV2 | |||
) |
Definition at line 120 of file Wm4ETManifoldMesh.cpp.
References Wm4::ETManifoldMesh::Triangle::E, m_kEMap, m_kTMap, Wm4::ETManifoldMesh::Triangle::T, Wm4::ETManifoldMesh::Edge::T, Wm4::ETManifoldMesh::Edge::V, and WM4_DELETE.
EMap Wm4::ETManifoldMesh::m_kEMap [protected] |
Definition at line 104 of file Wm4ETManifoldMesh.h.
Referenced by GetEdges(), InsertTriangle(), IsClosed(), Print(), RemoveTriangle(), and ~ETManifoldMesh().
TMap Wm4::ETManifoldMesh::m_kTMap [protected] |
Definition at line 109 of file Wm4ETManifoldMesh.h.
Referenced by GetTriangles(), InsertTriangle(), Print(), RemoveTriangle(), and ~ETManifoldMesh().
ECreator Wm4::ETManifoldMesh::m_oECreator [protected] |
Definition at line 103 of file Wm4ETManifoldMesh.h.
Referenced by ETManifoldMesh(), and InsertTriangle().
TCreator Wm4::ETManifoldMesh::m_oTCreator [protected] |
Definition at line 108 of file Wm4ETManifoldMesh.h.
Referenced by ETManifoldMesh(), and InsertTriangle().