Edge removal in a tetrahedral mesh. More...
#include <EdgeRemoval.h>
Public Types | |
| typedef _QualityMetric | QualityMetric |
| The tetrahedron quality metric. | |
| typedef _Point | Point |
| The point type. | |
| typedef _Number | Number |
| The number type;. | |
Public Member Functions | |
| void | fillTables () |
| CONTINUE. | |
| void | buildTriangles () |
| CONTINUE. | |
| void | buildTrianglesRecurse (const int i, const int j) |
| CONTINUE. | |
| Number | computeQuality (const int i, const int k, const int j) const |
| CONTINUE. | |
| Number | computeQualityWithEdge () const |
| CONTINUE. | |
| Number | computeQuality (const int i) const |
| CONTINUE. | |
Constructors and Destructor. | |
| EdgeRemoval () | |
| Default constructor. Unititialized memory. | |
| ~EdgeRemoval () | |
| Destructor. | |
Accessors. | |
| int | getNumberOfTriangles () const |
| Return the number of triangles in the triangulation of the ring. | |
| const ads::FixedArray< 3, int > & | getTriangle (const int n) const |
| Return the n_th triangle of the triangulation of the ring. | |
Manipulators. | |
| void | setSource (const Point &src) |
| Set the source vertex of the edge. | |
| void | setTarget (const Point &tgt) |
| Set the target vertex of the edge. | |
| template<typename InputIterator > | |
| void | setRing (InputIterator begin, InputIterator end) |
| Set the ring of vertices around the edge. | |
Tetrahedralization. | |
| bool | solve () |
Try to find a tetrahedralization with better quality that threshhold. | |
Edge removal in a tetrahedral mesh.
| void EdgeRemoval< _QualityMetric, _Point, _Number >::setRing | ( | InputIterator | begin, | |
| InputIterator | end | |||
| ) | [inline] |
Set the ring of vertices around the edge.
The vertices should go around the edge in the positive direction.
| bool EdgeRemoval< _QualityMetric, _Point, _Number >::solve | ( | ) |
Try to find a tetrahedralization with better quality that threshhold.
1.6.3