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

#include <GteVETManifoldMesh.h>

Inheritance diagram for gte::VETManifoldMesh:
Inheritance graph
[legend]

Classes

class  Vertex
 

Public Types

typedef std::shared_ptr< Vertex >(* VCreator) (int)
 
typedef std::map< int, std::shared_ptr< Vertex > > VMap
 
- Public Types inherited from gte::ETManifoldMesh
typedef std::shared_ptr< Edge >(* ECreator) (int, int)
 
typedef std::map< EdgeKey< false >, std::shared_ptr< Edge > > EMap
 
typedef std::shared_ptr< Triangle >(* TCreator) (int, int, int)
 
typedef std::map< TriangleKey< true >, std::shared_ptr< Triangle > > TMap
 

Public Member Functions

virtual void Clear () override
 
VMap const & GetVertices () const
 
virtual std::shared_ptr< TriangleInsert (int v0, int v1, int v2) override
 
VETManifoldMeshoperator= (VETManifoldMesh const &mesh)
 
virtual bool Remove (int v0, int v1, int v2) override
 
 VETManifoldMesh (VCreator vCreator=nullptr, ECreator eCreator=nullptr, TCreator tCreator=nullptr)
 
 VETManifoldMesh (VETManifoldMesh const &mesh)
 
virtual ~VETManifoldMesh ()
 
- Public Member Functions inherited from gte::ETManifoldMesh
bool AssertOnNonmanifoldInsertion (bool doAssert)
 
 ETManifoldMesh (ECreator eCreator=nullptr, TCreator tCreator=nullptr)
 
 ETManifoldMesh (ETManifoldMesh const &mesh)
 
void GetComponents (std::vector< std::vector< std::shared_ptr< Triangle >>> &components) const
 
void GetComponents (std::vector< std::vector< TriangleKey< true >>> &components) const
 
EMap const & GetEdges () const
 
TMap const & GetTriangles () const
 
bool IsClosed () const
 
bool IsOriented () const
 
ETManifoldMeshoperator= (ETManifoldMesh const &mesh)
 
virtual ~ETManifoldMesh ()
 

Static Protected Member Functions

static std::shared_ptr< VertexCreateVertex (int vIndex)
 
- Static Protected Member Functions inherited from gte::ETManifoldMesh
static std::shared_ptr< EdgeCreateEdge (int v0, int v1)
 
static std::shared_ptr< TriangleCreateTriangle (int v0, int v1, int v2)
 

Protected Attributes

VCreator mVCreator
 
VMap mVMap
 
- Protected Attributes inherited from gte::ETManifoldMesh
bool mAssertOnNonmanifoldInsertion
 
ECreator mECreator
 
EMap mEMap
 
TCreator mTCreator
 
TMap mTMap
 

Additional Inherited Members

- Protected Member Functions inherited from gte::ETManifoldMesh
void DepthFirstSearch (std::shared_ptr< Triangle > const &tInitial, std::map< std::shared_ptr< Triangle >, int > &visited, std::vector< std::shared_ptr< Triangle >> &component) const
 

Detailed Description

Definition at line 19 of file GteVETManifoldMesh.h.

Member Typedef Documentation

typedef std::shared_ptr<Vertex>(* gte::VETManifoldMesh::VCreator) (int)

Definition at line 24 of file GteVETManifoldMesh.h.

typedef std::map<int, std::shared_ptr<Vertex> > gte::VETManifoldMesh::VMap

Definition at line 25 of file GteVETManifoldMesh.h.

Constructor & Destructor Documentation

VETManifoldMesh::~VETManifoldMesh ( )
virtual

Definition at line 13 of file GteVETManifoldMesh.cpp.

VETManifoldMesh::VETManifoldMesh ( VCreator  vCreator = nullptr,
ECreator  eCreator = nullptr,
TCreator  tCreator = nullptr 
)

Definition at line 17 of file GteVETManifoldMesh.cpp.

VETManifoldMesh::VETManifoldMesh ( VETManifoldMesh const &  mesh)

Definition at line 24 of file GteVETManifoldMesh.cpp.

Member Function Documentation

void VETManifoldMesh::Clear ( )
overridevirtual

Reimplemented from gte::ETManifoldMesh.

Definition at line 156 of file GteVETManifoldMesh.cpp.

std::shared_ptr< VETManifoldMesh::Vertex > VETManifoldMesh::CreateVertex ( int  vIndex)
staticprotected

Definition at line 162 of file GteVETManifoldMesh.cpp.

VETManifoldMesh::VMap const & VETManifoldMesh::GetVertices ( ) const

Definition at line 37 of file GteVETManifoldMesh.cpp.

std::shared_ptr< VETManifoldMesh::Triangle > VETManifoldMesh::Insert ( int  v0,
int  v1,
int  v2 
)
overridevirtual

Reimplemented from gte::ETManifoldMesh.

Definition at line 42 of file GteVETManifoldMesh.cpp.

VETManifoldMesh & VETManifoldMesh::operator= ( VETManifoldMesh const &  mesh)

Definition at line 29 of file GteVETManifoldMesh.cpp.

bool VETManifoldMesh::Remove ( int  v0,
int  v1,
int  v2 
)
overridevirtual

Reimplemented from gte::ETManifoldMesh.

Definition at line 94 of file GteVETManifoldMesh.cpp.

Member Data Documentation

VCreator gte::VETManifoldMesh::mVCreator
protected

Definition at line 75 of file GteVETManifoldMesh.h.

VMap gte::VETManifoldMesh::mVMap
protected

Definition at line 76 of file GteVETManifoldMesh.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