Public Types | Public Member Functions | Private Attributes
vcg::tri::IsotropicDistance< MeshType > Class Template Reference

#include <geodesic.h>

List of all members.

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

Detailed Description

template<class MeshType>
class vcg::tri::IsotropicDistance< MeshType >

Definition at line 51 of file geodesic.h.


Member Typedef Documentation

template<class MeshType >
typedef MeshType::FacePointer vcg::tri::IsotropicDistance< MeshType >::FacePointer

Definition at line 58 of file geodesic.h.

template<class MeshType >
typedef MeshType::ScalarType vcg::tri::IsotropicDistance< MeshType >::ScalarType

Definition at line 57 of file geodesic.h.

template<class MeshType >
typedef MeshType::VertexType vcg::tri::IsotropicDistance< MeshType >::VertexType

Definition at line 56 of file geodesic.h.


Constructor & Destructor Documentation

template<class MeshType >
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.


Member Function Documentation

template<class MeshType >
ScalarType vcg::tri::IsotropicDistance< MeshType >::operator() ( VertexType v0,
VertexType v1 
) [inline]

Definition at line 81 of file geodesic.h.


Member Data Documentation

template<class MeshType >
MeshType::template PerVertexAttributeHandle<float> vcg::tri::IsotropicDistance< MeshType >::wH [private]

Definition at line 54 of file geodesic.h.


The documentation for this class was generated from the following file:


shape_reconstruction
Author(s): Roberto Martín-Martín
autogenerated on Sat Jun 8 2019 18:42:41