#include <GteVETManifoldMesh.h>
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< Triangle > | Insert (int v0, int v1, int v2) override |
VETManifoldMesh & | operator= (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 |
ETManifoldMesh & | operator= (ETManifoldMesh const &mesh) |
virtual | ~ETManifoldMesh () |
Static Protected Member Functions | |
static std::shared_ptr< Vertex > | CreateVertex (int vIndex) |
Static Protected Member Functions inherited from gte::ETManifoldMesh | |
static std::shared_ptr< Edge > | CreateEdge (int v0, int v1) |
static std::shared_ptr< Triangle > | CreateTriangle (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 |
Definition at line 19 of file GteVETManifoldMesh.h.
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.
|
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.
|
overridevirtual |
Reimplemented from gte::ETManifoldMesh.
Definition at line 156 of file GteVETManifoldMesh.cpp.
|
staticprotected |
Definition at line 162 of file GteVETManifoldMesh.cpp.
VETManifoldMesh::VMap const & VETManifoldMesh::GetVertices | ( | ) | const |
Definition at line 37 of file GteVETManifoldMesh.cpp.
|
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.
Reimplemented from gte::ETManifoldMesh.
Definition at line 94 of file GteVETManifoldMesh.cpp.
|
protected |
Definition at line 75 of file GteVETManifoldMesh.h.
|
protected |
Definition at line 76 of file GteVETManifoldMesh.h.