Class implementing simplification of quad meshes by diagonal collapses priority of the operations is weighted with a value computed by class WeightType Feasibility is checked with class CheckType. More...
#include <quad_diag_collapse.h>
Public Member Functions | |
ScalarType | ComputePriority () |
bool | IsFeasible () |
QuadDiagonalCollapse () | |
Default constructor. | |
QuadDiagonalCollapse (HEdgePointer he, int mark) | |
Protected Types | |
typedef MeshType::CoordType | CoordType |
typedef MeshType::FacePointer | FacePointer |
typedef vcg::GridStaticPtr < TriFaceType, typename TriFaceType::ScalarType > | GRID |
typedef LocalOptimization < MeshType >::HeapElem | HeapElem |
typedef LocalOptimization < MeshType >::HeapType | HeapType |
typedef MeshType::HEdgePointer | HEdgePointer |
typedef Pos< MeshType > | PosType |
typedef MeshType::ScalarType | ScalarType |
typedef TriMeshType::FaceType | TriFaceType |
typedef MeshType::VertexPointer | VertexPointer |
Class implementing simplification of quad meshes by diagonal collapses priority of the operations is weighted with a value computed by class WeightType Feasibility is checked with class CheckType.
Definition at line 544 of file quad_diag_collapse.h.
typedef MeshType::CoordType vcg::tri::QuadDiagonalCollapse< MeshType, MYTYPE, TriMeshType, OptimizationType, WeightType, CheckType >::CoordType [protected] |
Reimplemented from vcg::tri::QuadDiagonalCollapseBase< MeshType, MYTYPE, TriMeshType, OptimizationType >.
Definition at line 556 of file quad_diag_collapse.h.
typedef MeshType::FacePointer vcg::tri::QuadDiagonalCollapse< MeshType, MYTYPE, TriMeshType, OptimizationType, WeightType, CheckType >::FacePointer [protected] |
Reimplemented from vcg::tri::QuadDiagonalCollapseBase< MeshType, MYTYPE, TriMeshType, OptimizationType >.
Definition at line 551 of file quad_diag_collapse.h.
typedef vcg::GridStaticPtr<TriFaceType, typename TriFaceType::ScalarType> vcg::tri::QuadDiagonalCollapse< MeshType, MYTYPE, TriMeshType, OptimizationType, WeightType, CheckType >::GRID [protected] |
Reimplemented from vcg::tri::QuadDiagonalCollapseBase< MeshType, MYTYPE, TriMeshType, OptimizationType >.
Definition at line 559 of file quad_diag_collapse.h.
typedef LocalOptimization<MeshType>::HeapElem vcg::tri::QuadDiagonalCollapse< MeshType, MYTYPE, TriMeshType, OptimizationType, WeightType, CheckType >::HeapElem [protected] |
Reimplemented from vcg::tri::QuadDiagonalCollapseBase< MeshType, MYTYPE, TriMeshType, OptimizationType >.
Definition at line 553 of file quad_diag_collapse.h.
typedef LocalOptimization<MeshType>::HeapType vcg::tri::QuadDiagonalCollapse< MeshType, MYTYPE, TriMeshType, OptimizationType, WeightType, CheckType >::HeapType [protected] |
Reimplemented from vcg::tri::QuadDiagonalCollapseBase< MeshType, MYTYPE, TriMeshType, OptimizationType >.
Definition at line 554 of file quad_diag_collapse.h.
typedef MeshType::HEdgePointer vcg::tri::QuadDiagonalCollapse< MeshType, MYTYPE, TriMeshType, OptimizationType, WeightType, CheckType >::HEdgePointer [protected] |
Reimplemented from vcg::tri::QuadDiagonalCollapseBase< MeshType, MYTYPE, TriMeshType, OptimizationType >.
Definition at line 552 of file quad_diag_collapse.h.
typedef Pos<MeshType> vcg::tri::QuadDiagonalCollapse< MeshType, MYTYPE, TriMeshType, OptimizationType, WeightType, CheckType >::PosType [protected] |
Reimplemented from vcg::tri::QuadDiagonalCollapseBase< MeshType, MYTYPE, TriMeshType, OptimizationType >.
Definition at line 549 of file quad_diag_collapse.h.
typedef MeshType::ScalarType vcg::tri::QuadDiagonalCollapse< MeshType, MYTYPE, TriMeshType, OptimizationType, WeightType, CheckType >::ScalarType [protected] |
Reimplemented from vcg::tri::QuadDiagonalCollapseBase< MeshType, MYTYPE, TriMeshType, OptimizationType >.
Definition at line 555 of file quad_diag_collapse.h.
typedef TriMeshType::FaceType vcg::tri::QuadDiagonalCollapse< MeshType, MYTYPE, TriMeshType, OptimizationType, WeightType, CheckType >::TriFaceType [protected] |
Reimplemented from vcg::tri::QuadDiagonalCollapseBase< MeshType, MYTYPE, TriMeshType, OptimizationType >.
Definition at line 558 of file quad_diag_collapse.h.
typedef MeshType::VertexPointer vcg::tri::QuadDiagonalCollapse< MeshType, MYTYPE, TriMeshType, OptimizationType, WeightType, CheckType >::VertexPointer [protected] |
Reimplemented from vcg::tri::QuadDiagonalCollapseBase< MeshType, MYTYPE, TriMeshType, OptimizationType >.
Definition at line 550 of file quad_diag_collapse.h.
vcg::tri::QuadDiagonalCollapse< MeshType, MYTYPE, TriMeshType, OptimizationType, WeightType, CheckType >::QuadDiagonalCollapse | ( | ) | [inline] |
Default constructor.
Definition at line 564 of file quad_diag_collapse.h.
vcg::tri::QuadDiagonalCollapse< MeshType, MYTYPE, TriMeshType, OptimizationType, WeightType, CheckType >::QuadDiagonalCollapse | ( | HEdgePointer | he, |
int | mark | ||
) | [inline] |
Constructor
he | Pointer to an halfedge representing a diagonal |
mark | Temporal mark of the operation |
Definition at line 572 of file quad_diag_collapse.h.
ScalarType vcg::tri::QuadDiagonalCollapse< MeshType, MYTYPE, TriMeshType, OptimizationType, WeightType, CheckType >::ComputePriority | ( | ) | [inline] |
Computes priority of the operation as length * weight
Reimplemented from vcg::tri::QuadDiagonalCollapseBase< MeshType, MYTYPE, TriMeshType, OptimizationType >.
Definition at line 584 of file quad_diag_collapse.h.
bool vcg::tri::QuadDiagonalCollapse< MeshType, MYTYPE, TriMeshType, OptimizationType, WeightType, CheckType >::IsFeasible | ( | ) | [inline] |
Checks if the operation can be done without generation of degenerate configurations
Reimplemented from vcg::tri::QuadDiagonalCollapseBase< MeshType, MYTYPE, TriMeshType, OptimizationType >.
Definition at line 601 of file quad_diag_collapse.h.