#include <GteVertexCollapseMesh.h>
Classes | |
| struct | Record |
| struct | VCVertex |
Public Member Functions | |
| bool | DoCollapse (Record &record) |
| ETManifoldMesh const & | GetMesh () const |
| VertexCollapseMesh (int numPositions, Vector3< Real > const *positions, int numIndices, int const *indices) | |
Private Types | |
| enum | { VCM_NO_MORE_ALLOWED, VCM_ALLOWED, VCM_DEFERRED, VCM_UNEXPECTED_ERROR } |
Private Member Functions | |
| int | Collapsed (std::vector< TriangleKey< true >> const &removed, std::vector< TriangleKey< true >> const &inserted, std::vector< int > const &linkVertices) |
| int | TriangulateLink (std::shared_ptr< VCVertex > const &vertex, std::vector< TriangleKey< true >> &removed, std::vector< TriangleKey< true >> &inserted, std::vector< int > &linkVertices) const |
Private Attributes | |
| std::map< int, typename MinHeap< int, Real >::Record * > | mHeapRecords |
| VETManifoldMesh | mMesh |
| MinHeap< int, Real > | mMinHeap |
| int | mNumPositions |
| Vector3< Real > const * | mPositions |
Definition at line 22 of file GteVertexCollapseMesh.h.
|
private |
| Enumerator | |
|---|---|
| VCM_NO_MORE_ALLOWED | |
| VCM_ALLOWED | |
| VCM_DEFERRED | |
| VCM_UNEXPECTED_ERROR | |
Definition at line 103 of file GteVertexCollapseMesh.h.
| gte::VertexCollapseMesh< Real >::VertexCollapseMesh | ( | int | numPositions, |
| Vector3< Real > const * | positions, | ||
| int | numIndices, | ||
| int const * | indices | ||
| ) |
Definition at line 127 of file GteVertexCollapseMesh.h.
|
private |
Definition at line 403 of file GteVertexCollapseMesh.h.
| bool gte::VertexCollapseMesh< Real >::DoCollapse | ( | Record & | record | ) |
Definition at line 190 of file GteVertexCollapseMesh.h.
|
inline |
Definition at line 297 of file GteVertexCollapseMesh.h.
|
private |
Definition at line 303 of file GteVertexCollapseMesh.h.
|
private |
Definition at line 122 of file GteVertexCollapseMesh.h.
|
private |
Definition at line 119 of file GteVertexCollapseMesh.h.
|
private |
Definition at line 121 of file GteVertexCollapseMesh.h.
|
private |
Definition at line 117 of file GteVertexCollapseMesh.h.
|
private |
Definition at line 118 of file GteVertexCollapseMesh.h.