Public Member Functions | Static Public Member Functions | Private Types
vcg::tri::TriEdgeCollapseQuadricTex< TriMeshType, VertexPair, MYTYPE, HelperType > Class Template Reference

#include <tri_edge_collapse_quadric_tex.h>

Inheritance diagram for vcg::tri::TriEdgeCollapseQuadricTex< TriMeshType, VertexPair, MYTYPE, HelperType >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

void ComputeMinimal (double vv[5], const double v0[5], const double v1[5], const Quadric5< double > qsum, BaseParameterClass *_pp)
ScalarType ComputeMinimalsAndPriority (double dest_1[5], double dest_2[5], Quadric5< double > &qsum_1, Quadric5< double > &qsum_2, const vcg::TexCoord2f &tcoord0_1, const vcg::TexCoord2f &tcoord1_1, const vcg::TexCoord2f &tcoord0_2, const vcg::TexCoord2f &tcoord1_2, int ncoords, BaseParameterClass *_pp)
void ComputeMinimalWithGeoContraints (double vv[5], const double v0[5], const double v1[5], const Quadric5< double > qsum, const double geo[5], BaseParameterClass *_pp)
ScalarType ComputePriority (BaseParameterClass *_pp)
 Compute the priority to be used in the heap.
ScalarType ComputeTexPriority (const double vv[5], Quadric5< double > &qsum, BaseParameterClass *_pp)
void Execute (TriMeshType &m, BaseParameterClass *_pp)
int GetTexCoords (vcg::TexCoord2f &tcoord0_1, vcg::TexCoord2f &tcoord1_1, vcg::TexCoord2f &tcoord0_2, vcg::TexCoord2f &tcoord1_2)
 TriEdgeCollapseQuadricTex (const VertexPair &p, int mark, BaseParameterClass *_pp)
void UpdateHeap (HeapType &h_ret, BaseParameterClass *_pp)
 Update the heap as a consequence of this operation.

Static Public Member Functions

static void Finalize (TriMeshType &m, HeapType &, BaseParameterClass *_pp)
static void Init (TriMeshType &m, HeapType &h_ret, BaseParameterClass *_pp)
static void InitQuadric (TriMeshType &m, BaseParameterClass *_pp)
static int matchVertexID (FaceType *f, VertexType *v)
static
TriEdgeCollapseQuadricTexParameter
Params ()
static std::vector
< VertexPointer > & 
WV ()

Private Types

typedef TriMeshType::CoordType CoordType
typedef TriMeshType::FaceType FaceType
typedef tri::TriEdgeCollapse
< TriMeshType, VertexPair,
MYTYPE >::HeapElem 
HeapElem
typedef tri::TriEdgeCollapse
< TriMeshType, VertexPair,
MYTYPE >::HeapType 
HeapType
typedef HelperType QH
typedef
TriMeshType::CoordType::ScalarType 
ScalarType
typedef TriMeshType::VertexPointer VertexPointer
typedef TriMeshType::VertexType VertexType

Detailed Description

template<class TriMeshType, class VertexPair, class MYTYPE, class HelperType = tri::QInfoStandard<typename TriMeshType::VertexType>>
class vcg::tri::TriEdgeCollapseQuadricTex< TriMeshType, VertexPair, MYTYPE, HelperType >

Definition at line 180 of file tri_edge_collapse_quadric_tex.h.


Member Typedef Documentation

template<class TriMeshType, class VertexPair, class MYTYPE, class HelperType = tri::QInfoStandard<typename TriMeshType::VertexType>>
typedef TriMeshType::CoordType vcg::tri::TriEdgeCollapseQuadricTex< TriMeshType, VertexPair, MYTYPE, HelperType >::CoordType [private]
template<class TriMeshType, class VertexPair, class MYTYPE, class HelperType = tri::QInfoStandard<typename TriMeshType::VertexType>>
typedef TriMeshType::FaceType vcg::tri::TriEdgeCollapseQuadricTex< TriMeshType, VertexPair, MYTYPE, HelperType >::FaceType [private]
template<class TriMeshType, class VertexPair, class MYTYPE, class HelperType = tri::QInfoStandard<typename TriMeshType::VertexType>>
typedef tri::TriEdgeCollapse<TriMeshType, VertexPair, MYTYPE>::HeapElem vcg::tri::TriEdgeCollapseQuadricTex< TriMeshType, VertexPair, MYTYPE, HelperType >::HeapElem [private]
template<class TriMeshType, class VertexPair, class MYTYPE, class HelperType = tri::QInfoStandard<typename TriMeshType::VertexType>>
typedef tri::TriEdgeCollapse<TriMeshType, VertexPair, MYTYPE>::HeapType vcg::tri::TriEdgeCollapseQuadricTex< TriMeshType, VertexPair, MYTYPE, HelperType >::HeapType [private]
template<class TriMeshType, class VertexPair, class MYTYPE, class HelperType = tri::QInfoStandard<typename TriMeshType::VertexType>>
typedef HelperType vcg::tri::TriEdgeCollapseQuadricTex< TriMeshType, VertexPair, MYTYPE, HelperType >::QH [private]

Definition at line 182 of file tri_edge_collapse_quadric_tex.h.

template<class TriMeshType, class VertexPair, class MYTYPE, class HelperType = tri::QInfoStandard<typename TriMeshType::VertexType>>
typedef TriMeshType::CoordType::ScalarType vcg::tri::TriEdgeCollapseQuadricTex< TriMeshType, VertexPair, MYTYPE, HelperType >::ScalarType [private]
template<class TriMeshType, class VertexPair, class MYTYPE, class HelperType = tri::QInfoStandard<typename TriMeshType::VertexType>>
typedef TriMeshType::VertexPointer vcg::tri::TriEdgeCollapseQuadricTex< TriMeshType, VertexPair, MYTYPE, HelperType >::VertexPointer [private]

Definition at line 189 of file tri_edge_collapse_quadric_tex.h.

template<class TriMeshType, class VertexPair, class MYTYPE, class HelperType = tri::QInfoStandard<typename TriMeshType::VertexType>>
typedef TriMeshType::VertexType vcg::tri::TriEdgeCollapseQuadricTex< TriMeshType, VertexPair, MYTYPE, HelperType >::VertexType [private]

Constructor & Destructor Documentation

template<class TriMeshType, class VertexPair, class MYTYPE, class HelperType = tri::QInfoStandard<typename TriMeshType::VertexType>>
vcg::tri::TriEdgeCollapseQuadricTex< TriMeshType, VertexPair, MYTYPE, HelperType >::TriEdgeCollapseQuadricTex ( const VertexPair p,
int  mark,
BaseParameterClass _pp 
) [inline]

Definition at line 194 of file tri_edge_collapse_quadric_tex.h.


Member Function Documentation

template<class TriMeshType, class VertexPair, class MYTYPE, class HelperType = tri::QInfoStandard<typename TriMeshType::VertexType>>
void vcg::tri::TriEdgeCollapseQuadricTex< TriMeshType, VertexPair, MYTYPE, HelperType >::ComputeMinimal ( double  vv[5],
const double  v0[5],
const double  v1[5],
const Quadric5< double >  qsum,
BaseParameterClass _pp 
) [inline]

Definition at line 467 of file tri_edge_collapse_quadric_tex.h.

template<class TriMeshType, class VertexPair, class MYTYPE, class HelperType = tri::QInfoStandard<typename TriMeshType::VertexType>>
ScalarType vcg::tri::TriEdgeCollapseQuadricTex< TriMeshType, VertexPair, MYTYPE, HelperType >::ComputeMinimalsAndPriority ( double  dest_1[5],
double  dest_2[5],
Quadric5< double > &  qsum_1,
Quadric5< double > &  qsum_2,
const vcg::TexCoord2f tcoord0_1,
const vcg::TexCoord2f tcoord1_1,
const vcg::TexCoord2f tcoord0_2,
const vcg::TexCoord2f tcoord1_2,
int  ncoords,
BaseParameterClass _pp 
) [inline]

Definition at line 383 of file tri_edge_collapse_quadric_tex.h.

template<class TriMeshType, class VertexPair, class MYTYPE, class HelperType = tri::QInfoStandard<typename TriMeshType::VertexType>>
void vcg::tri::TriEdgeCollapseQuadricTex< TriMeshType, VertexPair, MYTYPE, HelperType >::ComputeMinimalWithGeoContraints ( double  vv[5],
const double  v0[5],
const double  v1[5],
const Quadric5< double >  qsum,
const double  geo[5],
BaseParameterClass _pp 
) [inline]

Definition at line 517 of file tri_edge_collapse_quadric_tex.h.

template<class TriMeshType, class VertexPair, class MYTYPE, class HelperType = tri::QInfoStandard<typename TriMeshType::VertexType>>
ScalarType vcg::tri::TriEdgeCollapseQuadricTex< TriMeshType, VertexPair, MYTYPE, HelperType >::ComputePriority ( BaseParameterClass pp) [inline, virtual]

Compute the priority to be used in the heap.

Reimplemented from vcg::tri::TriEdgeCollapse< TriMeshType, VertexPair, MYTYPE >.

Definition at line 278 of file tri_edge_collapse_quadric_tex.h.

template<class TriMeshType, class VertexPair, class MYTYPE, class HelperType = tri::QInfoStandard<typename TriMeshType::VertexType>>
ScalarType vcg::tri::TriEdgeCollapseQuadricTex< TriMeshType, VertexPair, MYTYPE, HelperType >::ComputeTexPriority ( const double  vv[5],
Quadric5< double > &  qsum,
BaseParameterClass _pp 
) [inline]

Definition at line 304 of file tri_edge_collapse_quadric_tex.h.

template<class TriMeshType, class VertexPair, class MYTYPE, class HelperType = tri::QInfoStandard<typename TriMeshType::VertexType>>
void vcg::tri::TriEdgeCollapseQuadricTex< TriMeshType, VertexPair, MYTYPE, HelperType >::Execute ( TriMeshType &  m,
BaseParameterClass _pp 
) [inline]
template<class TriMeshType, class VertexPair, class MYTYPE, class HelperType = tri::QInfoStandard<typename TriMeshType::VertexType>>
static void vcg::tri::TriEdgeCollapseQuadricTex< TriMeshType, VertexPair, MYTYPE, HelperType >::Finalize ( TriMeshType &  m,
HeapType ,
BaseParameterClass _pp 
) [inline, static]

Definition at line 212 of file tri_edge_collapse_quadric_tex.h.

template<class TriMeshType, class VertexPair, class MYTYPE, class HelperType = tri::QInfoStandard<typename TriMeshType::VertexType>>
int vcg::tri::TriEdgeCollapseQuadricTex< TriMeshType, VertexPair, MYTYPE, HelperType >::GetTexCoords ( vcg::TexCoord2f tcoord0_1,
vcg::TexCoord2f tcoord1_1,
vcg::TexCoord2f tcoord0_2,
vcg::TexCoord2f tcoord1_2 
) [inline]

Definition at line 238 of file tri_edge_collapse_quadric_tex.h.

template<class TriMeshType, class VertexPair, class MYTYPE, class HelperType = tri::QInfoStandard<typename TriMeshType::VertexType>>
static void vcg::tri::TriEdgeCollapseQuadricTex< TriMeshType, VertexPair, MYTYPE, HelperType >::Init ( TriMeshType &  m,
HeapType h_ret,
BaseParameterClass _pp 
) [inline, static]
template<class TriMeshType, class VertexPair, class MYTYPE, class HelperType = tri::QInfoStandard<typename TriMeshType::VertexType>>
static void vcg::tri::TriEdgeCollapseQuadricTex< TriMeshType, VertexPair, MYTYPE, HelperType >::InitQuadric ( TriMeshType &  m,
BaseParameterClass _pp 
) [inline, static]

Definition at line 562 of file tri_edge_collapse_quadric_tex.h.

template<class TriMeshType, class VertexPair, class MYTYPE, class HelperType = tri::QInfoStandard<typename TriMeshType::VertexType>>
static int vcg::tri::TriEdgeCollapseQuadricTex< TriMeshType, VertexPair, MYTYPE, HelperType >::matchVertexID ( FaceType f,
VertexType v 
) [inline, static]

Definition at line 229 of file tri_edge_collapse_quadric_tex.h.

template<class TriMeshType, class VertexPair, class MYTYPE, class HelperType = tri::QInfoStandard<typename TriMeshType::VertexType>>
static TriEdgeCollapseQuadricTexParameter& vcg::tri::TriEdgeCollapseQuadricTex< TriMeshType, VertexPair, MYTYPE, HelperType >::Params ( ) [inline, static]

Definition at line 209 of file tri_edge_collapse_quadric_tex.h.

template<class TriMeshType, class VertexPair, class MYTYPE, class HelperType = tri::QInfoStandard<typename TriMeshType::VertexType>>
void vcg::tri::TriEdgeCollapseQuadricTex< TriMeshType, VertexPair, MYTYPE, HelperType >::UpdateHeap ( HeapType ,
BaseParameterClass pp 
) [inline, virtual]

Update the heap as a consequence of this operation.

Reimplemented from vcg::tri::TriEdgeCollapse< TriMeshType, VertexPair, MYTYPE >.

Definition at line 640 of file tri_edge_collapse_quadric_tex.h.

template<class TriMeshType, class VertexPair, class MYTYPE, class HelperType = tri::QInfoStandard<typename TriMeshType::VertexType>>
static std::vector<VertexPointer>& vcg::tri::TriEdgeCollapseQuadricTex< TriMeshType, VertexPair, MYTYPE, HelperType >::WV ( ) [inline, static]

Definition at line 203 of file tri_edge_collapse_quadric_tex.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:43:10