Priority based on minimizing homeometry. More...
#include <halfedge_quad_clean.h>
Public Types | |
typedef EdgeFlipPriority < MeshType > | Base |
typedef MeshType::EdgePointer | EdgePointer |
typedef MeshType::FacePointer | FacePointer |
typedef Base::FlipType | FlipType |
Possible types of rotation. | |
typedef MeshType::HEdgePointer | HEdgePointer |
typedef MeshType::VertexPointer | VertexPointer |
Public Member Functions | |
Homeometry () | |
Default Constructor. | |
~Homeometry () | |
Static Public Member Functions | |
static FlipType | best_flip (HEdgePointer hp) |
Static Protected Member Functions | |
static float | area (vector< VertexPointer > &vertices) |
static float | distance_from_homeometry (vector< VertexPointer > &face1, vector< VertexPointer > &face2, int i) |
Priority based on minimizing homeometry.
Definition at line 587 of file halfedge_quad_clean.h.
typedef EdgeFlipPriority<MeshType> vcg::tri::Homeometry< MeshType >::Base |
Definition at line 598 of file halfedge_quad_clean.h.
typedef MeshType::EdgePointer vcg::tri::Homeometry< MeshType >::EdgePointer |
Definition at line 593 of file halfedge_quad_clean.h.
typedef MeshType::FacePointer vcg::tri::Homeometry< MeshType >::FacePointer |
Definition at line 595 of file halfedge_quad_clean.h.
typedef Base::FlipType vcg::tri::Homeometry< MeshType >::FlipType |
Possible types of rotation.
Reimplemented from vcg::tri::EdgeFlipPriority< MeshType >.
Definition at line 599 of file halfedge_quad_clean.h.
typedef MeshType::HEdgePointer vcg::tri::Homeometry< MeshType >::HEdgePointer |
Reimplemented from vcg::tri::EdgeFlipPriority< MeshType >.
Definition at line 594 of file halfedge_quad_clean.h.
typedef MeshType::VertexPointer vcg::tri::Homeometry< MeshType >::VertexPointer |
Definition at line 592 of file halfedge_quad_clean.h.
vcg::tri::Homeometry< MeshType >::Homeometry | ( | ) | [inline] |
Default Constructor.
Definition at line 602 of file halfedge_quad_clean.h.
vcg::tri::Homeometry< MeshType >::~Homeometry | ( | ) | [inline] |
Definition at line 604 of file halfedge_quad_clean.h.
static float vcg::tri::Homeometry< MeshType >::area | ( | vector< VertexPointer > & | vertices | ) | [inline, static, protected] |
Computes the area of a quad
vertices | Vector of the four vertices of the quad |
Definition at line 664 of file halfedge_quad_clean.h.
static FlipType vcg::tri::Homeometry< MeshType >::best_flip | ( | HEdgePointer | hp | ) | [inline, static] |
Computes the best rotation to perform for minimizing the distance from homeometry
hp | Pointer to an halfedge representing the edge to rotate |
Reimplemented from vcg::tri::EdgeFlipPriority< MeshType >.
Definition at line 613 of file halfedge_quad_clean.h.
static float vcg::tri::Homeometry< MeshType >::distance_from_homeometry | ( | vector< VertexPointer > & | face1, |
vector< VertexPointer > & | face2, | ||
int | i | ||
) | [inline, static, protected] |
Computes the distance of two faces from being homeometirc
face1 | Vector of vertices belonging to the first face |
face2 | Vector of vertices belonging to the second face |
i | Index of the edge to compute |
Definition at line 684 of file halfedge_quad_clean.h.