#include <geodesic.h>
Public Types | |
typedef MeshType::FacePointer | FacePointer |
typedef MeshType::ScalarType | ScalarType |
typedef MeshType::VertexType | VertexType |
Public Member Functions | |
IsotropicDistance (MeshType &m, float variance) | |
ScalarType | operator() (VertexType *v0, VertexType *v1) |
Private Attributes | |
MeshType::template PerVertexAttributeHandle < float > | wH |
Definition at line 51 of file geodesic.h.
typedef MeshType::FacePointer vcg::tri::IsotropicDistance< MeshType >::FacePointer |
Definition at line 58 of file geodesic.h.
typedef MeshType::ScalarType vcg::tri::IsotropicDistance< MeshType >::ScalarType |
Definition at line 57 of file geodesic.h.
typedef MeshType::VertexType vcg::tri::IsotropicDistance< MeshType >::VertexType |
Definition at line 56 of file geodesic.h.
vcg::tri::IsotropicDistance< MeshType >::IsotropicDistance | ( | MeshType & | m, |
float | variance | ||
) | [inline] |
The constructor reads per vertex quality and transfer it into a per vertex attribute mapping it into the specified range. The variance parameter specify how the distance is biased by the quality the distance is scaled by a factor that range from 1/variance to variance according to a linear mapping of quality range. So for example if you have a quality distributed in the 0..1 range and you specify a variance of 2 it means that the distance will be scaled from 0.5 to 2 their original values.
Definition at line 66 of file geodesic.h.
ScalarType vcg::tri::IsotropicDistance< MeshType >::operator() | ( | VertexType * | v0, |
VertexType * | v1 | ||
) | [inline] |
Definition at line 81 of file geodesic.h.
MeshType::template PerVertexAttributeHandle<float> vcg::tri::IsotropicDistance< MeshType >::wH [private] |
Definition at line 54 of file geodesic.h.