Classes | Public Types | Public Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
gte::TSManifoldMesh Class Reference

#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< TetrahedronInsert (int v0, int v1, int v2, int v3)
 
bool IsClosed () const
 
TSManifoldMeshoperator= (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< TetrahedronCreateTetrahedron (int v0, int v1, int v2, int v3)
 
static std::shared_ptr< TriangleCreateTriangle (int v0, int v1, int v2)
 

Protected Attributes

bool mAssertOnNonmanifoldInsertion
 
SCreator mSCreator
 
SMap mSMap
 
TCreator mTCreator
 
TMap mTMap
 

Detailed Description

Definition at line 18 of file GteTSManifoldMesh.h.

Member Typedef Documentation

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.

typedef std::shared_ptr<Triangle>(* gte::TSManifoldMesh::TCreator) (int, int, int)

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.

Constructor & Destructor Documentation

TSManifoldMesh::~TSManifoldMesh ( )
virtual

Definition at line 13 of file GteTSManifoldMesh.cpp.

TSManifoldMesh::TSManifoldMesh ( TCreator  tCreator = nullptr,
SCreator  sCreator = nullptr 
)

Definition at line 17 of file GteTSManifoldMesh.cpp.

TSManifoldMesh::TSManifoldMesh ( TSManifoldMesh const &  mesh)

Definition at line 25 of file GteTSManifoldMesh.cpp.

Member Function Documentation

void TSManifoldMesh::AssertOnNonmanifoldInsertion ( bool  doAssert)

Definition at line 65 of file GteTSManifoldMesh.cpp.

void TSManifoldMesh::Clear ( )
virtual

Definition at line 214 of file GteTSManifoldMesh.cpp.

std::shared_ptr< TSManifoldMesh::Tetrahedron > TSManifoldMesh::CreateTetrahedron ( int  v0,
int  v1,
int  v2,
int  v3 
)
staticprotected

Definition at line 60 of file GteTSManifoldMesh.cpp.

std::shared_ptr< TSManifoldMesh::Triangle > TSManifoldMesh::CreateTriangle ( int  v0,
int  v1,
int  v2 
)
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.

bool TSManifoldMesh::Remove ( int  v0,
int  v1,
int  v2,
int  v3 
)

Definition at line 147 of file GteTSManifoldMesh.cpp.

Member Data Documentation

bool gte::TSManifoldMesh::mAssertOnNonmanifoldInsertion
protected

Definition at line 117 of file GteTSManifoldMesh.h.

SCreator gte::TSManifoldMesh::mSCreator
protected

Definition at line 115 of file GteTSManifoldMesh.h.

SMap gte::TSManifoldMesh::mSMap
protected

Definition at line 116 of file GteTSManifoldMesh.h.

TCreator gte::TSManifoldMesh::mTCreator
protected

Definition at line 110 of file GteTSManifoldMesh.h.

TMap gte::TSManifoldMesh::mTMap
protected

Definition at line 111 of file GteTSManifoldMesh.h.


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


geometric_tools_engine
Author(s): Yijiang Huang
autogenerated on Thu Jul 18 2019 04:00:07