#include <tri_edge_collapse_quadric_tex.h>
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 |
Definition at line 180 of file tri_edge_collapse_quadric_tex.h.
typedef TriMeshType::CoordType vcg::tri::TriEdgeCollapseQuadricTex< TriMeshType, VertexPair, MYTYPE, HelperType >::CoordType [private] |
Reimplemented from vcg::tri::TriEdgeCollapse< TriMeshType, VertexPair, MYTYPE >.
Definition at line 187 of file tri_edge_collapse_quadric_tex.h.
typedef TriMeshType::FaceType vcg::tri::TriEdgeCollapseQuadricTex< TriMeshType, VertexPair, MYTYPE, HelperType >::FaceType [private] |
Reimplemented from vcg::tri::TriEdgeCollapse< TriMeshType, VertexPair, MYTYPE >.
Definition at line 185 of file tri_edge_collapse_quadric_tex.h.
typedef tri::TriEdgeCollapse<TriMeshType, VertexPair, MYTYPE>::HeapElem vcg::tri::TriEdgeCollapseQuadricTex< TriMeshType, VertexPair, MYTYPE, HelperType >::HeapElem [private] |
Reimplemented from vcg::tri::TriEdgeCollapse< TriMeshType, VertexPair, MYTYPE >.
Definition at line 184 of file tri_edge_collapse_quadric_tex.h.
typedef tri::TriEdgeCollapse<TriMeshType, VertexPair, MYTYPE>::HeapType vcg::tri::TriEdgeCollapseQuadricTex< TriMeshType, VertexPair, MYTYPE, HelperType >::HeapType [private] |
Reimplemented from vcg::tri::TriEdgeCollapse< TriMeshType, VertexPair, MYTYPE >.
Definition at line 183 of file tri_edge_collapse_quadric_tex.h.
typedef HelperType vcg::tri::TriEdgeCollapseQuadricTex< TriMeshType, VertexPair, MYTYPE, HelperType >::QH [private] |
Definition at line 182 of file tri_edge_collapse_quadric_tex.h.
typedef TriMeshType::CoordType::ScalarType vcg::tri::TriEdgeCollapseQuadricTex< TriMeshType, VertexPair, MYTYPE, HelperType >::ScalarType [private] |
Reimplemented from vcg::tri::TriEdgeCollapse< TriMeshType, VertexPair, MYTYPE >.
Definition at line 188 of file tri_edge_collapse_quadric_tex.h.
typedef TriMeshType::VertexPointer vcg::tri::TriEdgeCollapseQuadricTex< TriMeshType, VertexPair, MYTYPE, HelperType >::VertexPointer [private] |
Definition at line 189 of file tri_edge_collapse_quadric_tex.h.
typedef TriMeshType::VertexType vcg::tri::TriEdgeCollapseQuadricTex< TriMeshType, VertexPair, MYTYPE, HelperType >::VertexType [private] |
Reimplemented from vcg::tri::TriEdgeCollapse< TriMeshType, VertexPair, MYTYPE >.
Definition at line 186 of file tri_edge_collapse_quadric_tex.h.
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.
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.
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.
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.
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.
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.
void vcg::tri::TriEdgeCollapseQuadricTex< TriMeshType, VertexPair, MYTYPE, HelperType >::Execute | ( | TriMeshType & | m, |
BaseParameterClass * | _pp | ||
) | [inline] |
Reimplemented from vcg::tri::TriEdgeCollapse< TriMeshType, VertexPair, MYTYPE >.
Definition at line 686 of file tri_edge_collapse_quadric_tex.h.
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.
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.
static void vcg::tri::TriEdgeCollapseQuadricTex< TriMeshType, VertexPair, MYTYPE, HelperType >::Init | ( | TriMeshType & | m, |
HeapType & | h_ret, | ||
BaseParameterClass * | _pp | ||
) | [inline, static] |
Reimplemented from vcg::tri::TriEdgeCollapse< TriMeshType, VertexPair, MYTYPE >.
Definition at line 591 of file tri_edge_collapse_quadric_tex.h.
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.
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.
static TriEdgeCollapseQuadricTexParameter& vcg::tri::TriEdgeCollapseQuadricTex< TriMeshType, VertexPair, MYTYPE, HelperType >::Params | ( | ) | [inline, static] |
Definition at line 209 of file tri_edge_collapse_quadric_tex.h.
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.
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.