Wm4::ETManifoldMesh Class Reference

#include <Wm4ETManifoldMesh.h>

List of all members.

Classes

class  Edge
class  Triangle

Public Types

typedef const EdgeECPtr
typedef EPtr(* ECreator )(int, int)
typedef std::map< EdgeKey, Edge * > EMap
typedef EMap::const_iterator EMapCIterator
typedef EMap::iterator EMapIterator
typedef EdgeEPtr
typedef const TriangleTCPtr
typedef TPtr(* TCreator )(int, int, int)
typedef std::map< TriangleKey,
Triangle * > 
TMap
typedef TMap::const_iterator TMapCIterator
typedef TMap::iterator TMapIterator
typedef TriangleTPtr

Public Member Functions

 ETManifoldMesh (ECreator oECreator=0, TCreator oTCreator=0)
const EMapGetEdges () const
const TMapGetTriangles () 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

Detailed Description

Definition at line 27 of file Wm4ETManifoldMesh.h.


Member Typedef Documentation

Definition at line 33 of file Wm4ETManifoldMesh.h.

typedef EPtr(* Wm4::ETManifoldMesh::ECreator)(int, int)

Definition at line 34 of file Wm4ETManifoldMesh.h.

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.

Definition at line 31 of file Wm4ETManifoldMesh.h.

Definition at line 42 of file Wm4ETManifoldMesh.h.

typedef TPtr(* Wm4::ETManifoldMesh::TCreator)(int, int, int)

Definition at line 43 of file Wm4ETManifoldMesh.h.

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.

Definition at line 40 of file Wm4ETManifoldMesh.h.


Constructor & Destructor Documentation

ETManifoldMesh::ETManifoldMesh ( ECreator  oECreator = 0,
TCreator  oTCreator = 0 
)

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.


Member Function Documentation

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 
)
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  ) 
bool ETManifoldMesh::RemoveTriangle ( int  iV0,
int  iV1,
int  iV2 
)

Member Data Documentation

Definition at line 103 of file Wm4ETManifoldMesh.h.

Referenced by ETManifoldMesh(), and InsertTriangle().

Definition at line 108 of file Wm4ETManifoldMesh.h.

Referenced by ETManifoldMesh(), and InsertTriangle().


The documentation for this class was generated from the following files:

Generated on Wed Nov 23 19:02:49 2011 for FreeCAD by  doxygen 1.6.1