![Logo](itkLogoSmall.png) |
ITK
5.1.0
Insight Toolkit
|
Go to the documentation of this file.
18 #ifndef itkQuadEdgeMeshDecimationCriteria_h
19 #define itkQuadEdgeMeshDecimationCriteria_h
31 template <
typename TMesh,
33 typename TMeasure = double,
34 typename TPriorityQueueWrapper =
35 MinPriorityQueueElementWrapper<typename TMesh::QEType *, std::pair<bool, TMeasure>>>
53 using PriorityType =
typename PriorityQueueWrapperType::ElementPriorityType;
69 itkGetConstMacro(TopologicalChange,
bool);
70 itkSetMacro(TopologicalChange,
bool);
90 os << indent <<
"SizeCriterion: " << (
m_SizeCriterion ?
"On" :
"Off") << std::endl;
108 template <
typename TMesh,
110 typename TMeasure = double,
111 typename TPriorityQueueWrapper =
151 template <
typename TMesh,
153 typename TMeasure = double,
154 typename TPriorityQueueWrapper =
155 MinPriorityQueueElementWrapper<typename TMesh::QEType *, std::pair<bool, TMeasure>>>
182 const MeasureType & itkNotUsed(iValue))
const override
197 template <
typename TMesh,
199 typename TMeasure = double,
200 typename TPriorityQueueWrapper =
201 MinPriorityQueueElementWrapper<typename TMesh::QEType *, std::pair<bool, TMeasure>>>
246 template <
typename TMesh,
248 typename TMeasure = double,
249 typename TPriorityQueueWrapper =
250 MaxPriorityQueueElementWrapper<typename TMesh::QEType *, std::pair<bool, TMeasure>>>
virtual bool is_satisfied(MeshType *iMesh, const ElementType &iElement, const MeasureType &iValue) const =0
void PrintSelf(std::ostream &os, Indent indent) const override
SizeValueType m_NumberOfElements
typename MeshType::CellsContainerConstIterator CellsContainerConstIterator
NumberOfFacesCriterion()=default
~NumberOfFacesCriterion() override=default
typename MeshType::CellsContainerConstIterator CellsContainerConstIterator
void SetNumberOfElements(const SizeValueType &numberOfElements)
void SetMeasureBound(const MeasureType &bound)
bool is_satisfied(MeshType *iMesh, const ElementType &, const MeasureType &) const
Control indentation during Print() invocation.
bool is_satisfied(MeshType *iMesh, const ElementType &, const MeasureType &) const override
MeasureType m_MeasureBound
~MinMeasureBoundCriterion()=default
~QuadEdgeMeshDecimationCriterion() override=default
Light weight base class for most itk classes.
typename PriorityQueueWrapperType::ElementPriorityType PriorityType
NumberOfPointsCriterion()=default
MinMeasureBoundCriterion()=default
~NumberOfPointsCriterion()=default
TPriorityQueueWrapper PriorityQueueWrapperType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
QuadEdgeMeshDecimationCriterion()
Base class for most ITK classes.
~MaxMeasureBoundCriterion() override=default
MaxMeasureBoundCriterion()
typename MeshType::CellsContainerConstIterator CellsContainerConstIterator
void PrintSelf(std::ostream &os, Indent indent) const override
bool is_satisfied(MeshType *, const ElementType &, const MeasureType &iValue) const
SizeValueType IdentifierType
unsigned long SizeValueType
bool is_satisfied(MeshType *, const ElementType &, const MeasureType &iValue) const override