|
typedef MeshType::VertexType | VertexType |
|
typedef MeshType::ScalarType | ScalarType |
|
typedef MeshType::FacePointer | FacePointer |
|
|
| IsotropicDistance (MeshType &m, float variance) |
|
ScalarType | operator() (VertexType *v0, VertexType *v1) |
|
◆ IsotropicDistance()
template<class MeshType >
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.
The documentation for this class was generated from the following file:
- /home/cignoni/devel/vcglib/vcg/complex/algorithms/geodesic.h