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

#include <GteVEManifoldMesh.h>

Classes

class  Edge
 
class  Vertex
 

Public Types

typedef std::shared_ptr< Edge >(* ECreator) (int, int)
 
typedef std::map< std::pair< int, int >, std::shared_ptr< Edge > > EMap
 
typedef std::shared_ptr< Vertex >(* VCreator) (int)
 
typedef std::map< int, std::shared_ptr< Vertex > > VMap
 

Public Member Functions

void AssertOnNonmanifoldInsertion (bool doAssert)
 
EMap const & GetEdges () const
 
VMap const & GetVertices () const
 
std::shared_ptr< EdgeInsert (int v0, int v1)
 
bool IsClosed () const
 
bool Remove (int v0, int v1)
 
 VEManifoldMesh (VCreator vCreator=nullptr, ECreator eCreator=nullptr)
 
virtual ~VEManifoldMesh ()
 

Static Protected Member Functions

static std::shared_ptr< EdgeCreateEdge (int v0, int v1)
 
static std::shared_ptr< VertexCreateVertex (int v0)
 

Protected Attributes

bool mAssertOnNonmanifoldInsertion
 
ECreator mECreator
 
EMap mEMap
 
VCreator mVCreator
 
VMap mVMap
 

Detailed Description

Definition at line 17 of file GteVEManifoldMesh.h.

Member Typedef Documentation

typedef std::shared_ptr<Edge>(* gte::VEManifoldMesh::ECreator) (int, int)

Definition at line 27 of file GteVEManifoldMesh.h.

typedef std::map<std::pair<int, int>, std::shared_ptr<Edge> > gte::VEManifoldMesh::EMap

Definition at line 28 of file GteVEManifoldMesh.h.

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

Definition at line 22 of file GteVEManifoldMesh.h.

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

Definition at line 23 of file GteVEManifoldMesh.h.

Constructor & Destructor Documentation

VEManifoldMesh::~VEManifoldMesh ( )
virtual

Definition at line 13 of file GteVEManifoldMesh.cpp.

VEManifoldMesh::VEManifoldMesh ( VCreator  vCreator = nullptr,
ECreator  eCreator = nullptr 
)

Definition at line 17 of file GteVEManifoldMesh.cpp.

Member Function Documentation

void VEManifoldMesh::AssertOnNonmanifoldInsertion ( bool  doAssert)

Definition at line 45 of file GteVEManifoldMesh.cpp.

std::shared_ptr< VEManifoldMesh::Edge > VEManifoldMesh::CreateEdge ( int  v0,
int  v1 
)
staticprotected

Definition at line 40 of file GteVEManifoldMesh.cpp.

std::shared_ptr< VEManifoldMesh::Vertex > VEManifoldMesh::CreateVertex ( int  v0)
staticprotected

Definition at line 35 of file GteVEManifoldMesh.cpp.

VEManifoldMesh::EMap const & VEManifoldMesh::GetEdges ( ) const

Definition at line 30 of file GteVEManifoldMesh.cpp.

VEManifoldMesh::VMap const & VEManifoldMesh::GetVertices ( ) const

Definition at line 25 of file GteVEManifoldMesh.cpp.

std::shared_ptr< VEManifoldMesh::Edge > VEManifoldMesh::Insert ( int  v0,
int  v1 
)

Definition at line 50 of file GteVEManifoldMesh.cpp.

bool VEManifoldMesh::IsClosed ( ) const

Definition at line 198 of file GteVEManifoldMesh.cpp.

bool VEManifoldMesh::Remove ( int  v0,
int  v1 
)

Definition at line 124 of file GteVEManifoldMesh.cpp.

Member Data Documentation

bool gte::VEManifoldMesh::mAssertOnNonmanifoldInsertion
protected

Definition at line 96 of file GteVEManifoldMesh.h.

ECreator gte::VEManifoldMesh::mECreator
protected

Definition at line 94 of file GteVEManifoldMesh.h.

EMap gte::VEManifoldMesh::mEMap
protected

Definition at line 95 of file GteVEManifoldMesh.h.

VCreator gte::VEManifoldMesh::mVCreator
protected

Definition at line 89 of file GteVEManifoldMesh.h.

VMap gte::VEManifoldMesh::mVMap
protected

Definition at line 90 of file GteVEManifoldMesh.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