18 #ifndef __itkDecimationQuadEdgeMeshFilter_h
19 #define __itkDecimationQuadEdgeMeshFilter_h
31 template<
class TInput,
class TOutput,
class TCriterion >
60 this->m_Iteration = 0;
70 this->CopyInputMeshToOutputMesh();
80 if ( ProcessWithTopologicalGuarantee() )
87 while ( !IsCriterionSatisfied() );
89 this->GetOutput()->SqueezePointsIds();
93 virtual void FillPriorityQueue() = 0;
95 virtual void Extract() = 0;
97 virtual bool ProcessWithoutAnyTopologicalGuarantee() = 0;
99 virtual bool ProcessWithTopologicalGuarantee() = 0;
101 virtual bool IsCriterionSatisfied() = 0;
103 void PrintSelf(std::ostream & os,
Indent indent)
const
105 this->Superclass::PrintSelf(os, indent);
106 os << indent <<
"Criterion: " << m_Criterion << std::endl;
111 void operator=(
const Self &);