#include <GteTSManifoldMesh.h>
Classes | |
class | Tetrahedron |
class | Triangle |
Public Types | |
typedef std::shared_ptr< Tetrahedron >(* | SCreator) (int, int, int, int) |
typedef std::map< TetrahedronKey< true >, std::shared_ptr< Tetrahedron > > | SMap |
typedef std::shared_ptr< Triangle >(* | TCreator) (int, int, int) |
typedef std::map< TriangleKey< false >, std::shared_ptr< Triangle > > | TMap |
Public Member Functions | |
void | AssertOnNonmanifoldInsertion (bool doAssert) |
virtual void | Clear () |
SMap const & | GetTetrahedra () const |
TMap const & | GetTriangles () const |
std::shared_ptr< Tetrahedron > | Insert (int v0, int v1, int v2, int v3) |
bool | IsClosed () const |
TSManifoldMesh & | operator= (TSManifoldMesh const &mesh) |
bool | Remove (int v0, int v1, int v2, int v3) |
TSManifoldMesh (TCreator tCreator=nullptr, SCreator sCreator=nullptr) | |
TSManifoldMesh (TSManifoldMesh const &mesh) | |
virtual | ~TSManifoldMesh () |
Static Protected Member Functions | |
static std::shared_ptr< Tetrahedron > | CreateTetrahedron (int v0, int v1, int v2, int v3) |
static std::shared_ptr< Triangle > | CreateTriangle (int v0, int v1, int v2) |
Protected Attributes | |
bool | mAssertOnNonmanifoldInsertion |
SCreator | mSCreator |
SMap | mSMap |
TCreator | mTCreator |
TMap | mTMap |
Definition at line 18 of file GteTSManifoldMesh.h.
typedef std::shared_ptr<Tetrahedron>(* gte::TSManifoldMesh::SCreator) (int, int, int, int) |
Definition at line 28 of file GteTSManifoldMesh.h.
typedef std::map<TetrahedronKey<true>, std::shared_ptr<Tetrahedron> > gte::TSManifoldMesh::SMap |
Definition at line 29 of file GteTSManifoldMesh.h.
Definition at line 23 of file GteTSManifoldMesh.h.
typedef std::map<TriangleKey<false>, std::shared_ptr<Triangle> > gte::TSManifoldMesh::TMap |
Definition at line 24 of file GteTSManifoldMesh.h.
|
virtual |
Definition at line 13 of file GteTSManifoldMesh.cpp.
Definition at line 17 of file GteTSManifoldMesh.cpp.
TSManifoldMesh::TSManifoldMesh | ( | TSManifoldMesh const & | mesh | ) |
Definition at line 25 of file GteTSManifoldMesh.cpp.
void TSManifoldMesh::AssertOnNonmanifoldInsertion | ( | bool | doAssert | ) |
Definition at line 65 of file GteTSManifoldMesh.cpp.
|
virtual |
Definition at line 214 of file GteTSManifoldMesh.cpp.
|
staticprotected |
Definition at line 60 of file GteTSManifoldMesh.cpp.
|
staticprotected |
Definition at line 55 of file GteTSManifoldMesh.cpp.
TSManifoldMesh::SMap const & TSManifoldMesh::GetTetrahedra | ( | ) | const |
Definition at line 50 of file GteTSManifoldMesh.cpp.
TSManifoldMesh::TMap const & TSManifoldMesh::GetTriangles | ( | ) | const |
Definition at line 45 of file GteTSManifoldMesh.cpp.
std::shared_ptr< TSManifoldMesh::Tetrahedron > TSManifoldMesh::Insert | ( | int | v0, |
int | v1, | ||
int | v2, | ||
int | v3 | ||
) |
Definition at line 70 of file GteTSManifoldMesh.cpp.
bool TSManifoldMesh::IsClosed | ( | ) | const |
Definition at line 220 of file GteTSManifoldMesh.cpp.
TSManifoldMesh & TSManifoldMesh::operator= | ( | TSManifoldMesh const & | mesh | ) |
Definition at line 30 of file GteTSManifoldMesh.cpp.
Definition at line 147 of file GteTSManifoldMesh.cpp.
|
protected |
Definition at line 117 of file GteTSManifoldMesh.h.
|
protected |
Definition at line 115 of file GteTSManifoldMesh.h.
|
protected |
Definition at line 116 of file GteTSManifoldMesh.h.
|
protected |
Definition at line 110 of file GteTSManifoldMesh.h.
|
protected |
Definition at line 111 of file GteTSManifoldMesh.h.