Public Types | Static Public Member Functions
vcg::tri::Distortion< MeshType, PerWedgeFlag > Class Template Reference

#include <distortion.h>

List of all members.

Public Types

typedef MeshType::CoordType CoordType
typedef
MeshType::FaceType::CurVecType 
CurVecType
enum  DistType {
  AreaDist, EdgeDist, AngleDist, CrossDist,
  L2Stretch, LInfStretch
}
typedef MeshType::FaceType FaceType
typedef MeshType::ScalarType ScalarType
typedef Point2< TexScalarTypeTexCoordType
typedef
MeshType::FaceType::TexCoordType::ScalarType 
TexScalarType
typedef MeshType::VertexType VertexType

Static Public Member Functions

static ScalarType AngleCos3D (const FaceType *f, int e)
static ScalarType AngleCosDistortion (const FaceType *f, int e)
static ScalarType AngleCosUV (const FaceType *f, int e)
static ScalarType AngleDistortion (const FaceType *f)
static ScalarType AngleRad3D (const FaceType *f, int e)
static ScalarType AngleRadDistortion (const FaceType *f, int e)
static ScalarType AngleRadUV (const FaceType *f, int e)
static ScalarType Area3D (const FaceType *f)
static ScalarType AreaDistortion (const FaceType *f, ScalarType AreaScaleVal)
static ScalarType AreaUV (const FaceType *f)
static ScalarType EdgeDistortion (const FaceType *f, int e, ScalarType EdgeScaleVal)
static ScalarType EdgeLenght3D (const FaceType *f, int e)
static ScalarType EdgeLenghtUV (const FaceType *f, int e)
static bool Folded (const FaceType *f)
 return the number of folded faces
static int Folded (const MeshType &m)
static bool GloballyUnFolded (const MeshType &m)
static ScalarType L2StretchEnergySquared (const FaceType *f, ScalarType AreaScaleVal)
static ScalarType LInfStretchEnergy (const FaceType *f, ScalarType AreaScaleVal)
static ScalarType MeshAngleDistortion (const MeshType &m)
static void MeshScalingFactor (const MeshType &m, ScalarType &AreaScale, ScalarType &EdgeScale)
 return the global scaling factors from 3D to UV
static ScalarType SetFQAsCrossDirDistortion (MeshType &m)
static ScalarType SetQasDistorsion (MeshType &m, DistType DType=AreaDist)

Detailed Description

template<class MeshType, bool PerWedgeFlag>
class vcg::tri::Distortion< MeshType, PerWedgeFlag >

Definition at line 53 of file distortion.h.


Member Typedef Documentation

template<class MeshType , bool PerWedgeFlag>
typedef MeshType::CoordType vcg::tri::Distortion< MeshType, PerWedgeFlag >::CoordType

Definition at line 58 of file distortion.h.

template<class MeshType , bool PerWedgeFlag>
typedef MeshType::FaceType::CurVecType vcg::tri::Distortion< MeshType, PerWedgeFlag >::CurVecType

Definition at line 60 of file distortion.h.

template<class MeshType , bool PerWedgeFlag>
typedef MeshType::FaceType vcg::tri::Distortion< MeshType, PerWedgeFlag >::FaceType

Definition at line 56 of file distortion.h.

template<class MeshType , bool PerWedgeFlag>
typedef MeshType::ScalarType vcg::tri::Distortion< MeshType, PerWedgeFlag >::ScalarType

Definition at line 59 of file distortion.h.

template<class MeshType , bool PerWedgeFlag>
typedef Point2<TexScalarType> vcg::tri::Distortion< MeshType, PerWedgeFlag >::TexCoordType

Definition at line 62 of file distortion.h.

template<class MeshType , bool PerWedgeFlag>
typedef MeshType::FaceType::TexCoordType::ScalarType vcg::tri::Distortion< MeshType, PerWedgeFlag >::TexScalarType

Definition at line 61 of file distortion.h.

template<class MeshType , bool PerWedgeFlag>
typedef MeshType::VertexType vcg::tri::Distortion< MeshType, PerWedgeFlag >::VertexType

Definition at line 57 of file distortion.h.


Member Enumeration Documentation

template<class MeshType , bool PerWedgeFlag>
enum vcg::tri::Distortion::DistType
Enumerator:
AreaDist 
EdgeDist 
AngleDist 
CrossDist 
L2Stretch 
LInfStretch 

Definition at line 178 of file distortion.h.


Member Function Documentation

template<class MeshType , bool PerWedgeFlag>
static ScalarType vcg::tri::Distortion< MeshType, PerWedgeFlag >::AngleCos3D ( const FaceType f,
int  e 
) [inline, static]

Definition at line 107 of file distortion.h.

template<class MeshType , bool PerWedgeFlag>
static ScalarType vcg::tri::Distortion< MeshType, PerWedgeFlag >::AngleCosDistortion ( const FaceType f,
int  e 
) [inline, static]

return the absolute difference between angle in 3D space and texture space Actually the difference in cos space

Angle_3D;

Definition at line 182 of file distortion.h.

template<class MeshType , bool PerWedgeFlag>
static ScalarType vcg::tri::Distortion< MeshType, PerWedgeFlag >::AngleCosUV ( const FaceType f,
int  e 
) [inline, static]

Definition at line 122 of file distortion.h.

template<class MeshType , bool PerWedgeFlag>
static ScalarType vcg::tri::Distortion< MeshType, PerWedgeFlag >::AngleDistortion ( const FaceType f) [inline, static]

return the variance of angle, normalized in absolute value

Definition at line 201 of file distortion.h.

template<class MeshType , bool PerWedgeFlag>
static ScalarType vcg::tri::Distortion< MeshType, PerWedgeFlag >::AngleRad3D ( const FaceType f,
int  e 
) [inline, static]

Definition at line 142 of file distortion.h.

template<class MeshType , bool PerWedgeFlag>
static ScalarType vcg::tri::Distortion< MeshType, PerWedgeFlag >::AngleRadDistortion ( const FaceType f,
int  e 
) [inline, static]

return the absolute difference between angle in 3D space and texture space Actually the difference in cos space

Angle_3D;

Definition at line 191 of file distortion.h.

template<class MeshType , bool PerWedgeFlag>
static ScalarType vcg::tri::Distortion< MeshType, PerWedgeFlag >::AngleRadUV ( const FaceType f,
int  e 
) [inline, static]

Definition at line 154 of file distortion.h.

template<class MeshType , bool PerWedgeFlag>
static ScalarType vcg::tri::Distortion< MeshType, PerWedgeFlag >::Area3D ( const FaceType f) [inline, static]

Definition at line 64 of file distortion.h.

template<class MeshType , bool PerWedgeFlag>
static ScalarType vcg::tri::Distortion< MeshType, PerWedgeFlag >::AreaDistortion ( const FaceType f,
ScalarType  AreaScaleVal 
) [inline, static]

return the variance of area, normalized in absolute value, the scalar AreaScaleVal may be calculated by using the ScalingFactor function

Definition at line 248 of file distortion.h.

template<class MeshType , bool PerWedgeFlag>
static ScalarType vcg::tri::Distortion< MeshType, PerWedgeFlag >::AreaUV ( const FaceType f) [inline, static]

Definition at line 69 of file distortion.h.

template<class MeshType , bool PerWedgeFlag>
static ScalarType vcg::tri::Distortion< MeshType, PerWedgeFlag >::EdgeDistortion ( const FaceType f,
int  e,
ScalarType  EdgeScaleVal 
) [inline, static]

return the variance of edge length, normalized in absolute value, the needed scaling factor EdgeScaleVal may be calculated by using the ScalingFactor function

Definition at line 234 of file distortion.h.

template<class MeshType , bool PerWedgeFlag>
static ScalarType vcg::tri::Distortion< MeshType, PerWedgeFlag >::EdgeLenght3D ( const FaceType f,
int  e 
) [inline, static]

Definition at line 85 of file distortion.h.

template<class MeshType , bool PerWedgeFlag>
static ScalarType vcg::tri::Distortion< MeshType, PerWedgeFlag >::EdgeLenghtUV ( const FaceType f,
int  e 
) [inline, static]

Definition at line 92 of file distortion.h.

template<class MeshType , bool PerWedgeFlag>
static bool vcg::tri::Distortion< MeshType, PerWedgeFlag >::Folded ( const FaceType f) [inline, static]

return the number of folded faces

Definition at line 314 of file distortion.h.

template<class MeshType , bool PerWedgeFlag>
static int vcg::tri::Distortion< MeshType, PerWedgeFlag >::Folded ( const MeshType &  m) [inline, static]

Definition at line 322 of file distortion.h.

template<class MeshType , bool PerWedgeFlag>
static bool vcg::tri::Distortion< MeshType, PerWedgeFlag >::GloballyUnFolded ( const MeshType &  m) [inline, static]

Definition at line 333 of file distortion.h.

template<class MeshType , bool PerWedgeFlag>
static ScalarType vcg::tri::Distortion< MeshType, PerWedgeFlag >::L2StretchEnergySquared ( const FaceType f,
ScalarType  AreaScaleVal 
) [inline, static]

Definition at line 259 of file distortion.h.

template<class MeshType , bool PerWedgeFlag>
static ScalarType vcg::tri::Distortion< MeshType, PerWedgeFlag >::LInfStretchEnergy ( const FaceType f,
ScalarType  AreaScaleVal 
) [inline, static]

Definition at line 285 of file distortion.h.

template<class MeshType , bool PerWedgeFlag>
static ScalarType vcg::tri::Distortion< MeshType, PerWedgeFlag >::MeshAngleDistortion ( const MeshType &  m) [inline, static]

Definition at line 339 of file distortion.h.

template<class MeshType , bool PerWedgeFlag>
static void vcg::tri::Distortion< MeshType, PerWedgeFlag >::MeshScalingFactor ( const MeshType &  m,
ScalarType AreaScale,
ScalarType EdgeScale 
) [inline, static]

return the global scaling factors from 3D to UV

Definition at line 209 of file distortion.h.

template<class MeshType , bool PerWedgeFlag>
static ScalarType vcg::tri::Distortion< MeshType, PerWedgeFlag >::SetFQAsCrossDirDistortion ( MeshType &  m) [inline, static]

Definition at line 351 of file distortion.h.

template<class MeshType , bool PerWedgeFlag>
static ScalarType vcg::tri::Distortion< MeshType, PerWedgeFlag >::SetQasDistorsion ( MeshType &  m,
DistType  DType = AreaDist 
) [inline, static]

Definition at line 400 of file distortion.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:13