ITK  5.2.0
Insight Toolkit
itkLevelSetEvolutionNumberOfIterationsStoppingCriterion.h
Go to the documentation of this file.
1 /*=========================================================================
2  *
3  * Copyright NumFOCUS
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0.txt
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  *
17  *=========================================================================*/
18 
19 #ifndef itkLevelSetEvolutionNumberOfIterationsStoppingCriterion_h
20 #define itkLevelSetEvolutionNumberOfIterationsStoppingCriterion_h
21 
22 #include "itkObjectFactory.h"
24 
25 namespace itk
26 {
31 template <typename TLevelSetContainer>
32 class ITK_TEMPLATE_EXPORT LevelSetEvolutionNumberOfIterationsStoppingCriterion
33  : public LevelSetEvolutionStoppingCriterion<TLevelSetContainer>
34 {
35 public:
36  ITK_DISALLOW_COPY_AND_MOVE(LevelSetEvolutionNumberOfIterationsStoppingCriterion);
37 
38  using Self = LevelSetEvolutionNumberOfIterationsStoppingCriterion;
39  using Superclass = LevelSetEvolutionStoppingCriterion<TLevelSetContainer>;
40  using Pointer = SmartPointer<Self>;
41  using ConstPointer = SmartPointer<const Self>;
42 
44  itkNewMacro(Self);
45 
47  itkTypeMacro(LevelSetEvolutionNumberOfIterationsStoppingCriterion, LevelSetEvolutionStoppingCriterion);
48 
49  using LevelSetContainerType = TLevelSetContainer;
50  using LevelSetContainerPointer = typename LevelSetContainerType::Pointer;
51 
52  using LevelSetIdentifierType = typename LevelSetContainerType::LevelSetIdentifierType;
53  using LevelSetType = typename LevelSetContainerType::LevelSetType;
54  using LevelSetPointer = typename LevelSetContainerType::LevelSetPointer;
55 
56  using InputIndexType = typename LevelSetContainerType::InputIndexType;
57  using OutputType = typename LevelSetContainerType::OutputType;
58  using OutputRealType = typename LevelSetContainerType::OutputRealType;
59  using GradientType = typename LevelSetContainerType::GradientType;
60  using HessianType = typename LevelSetContainerType::HessianType;
61 
62  using HeavisideType = typename LevelSetContainerType::HeavisideType;
63  using HeavisidePointer = typename LevelSetContainerType::HeavisideType;
64 
65  bool
66  IsSatisfied() const override;
67 
68  std::string
69  GetDescription() const override;
70 
71 protected:
73  LevelSetEvolutionNumberOfIterationsStoppingCriterion() = default;
74 
itkObjectFactory.h
itkLevelSetEvolutionStoppingCriterion.h
itk
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
Definition: itkAnnulusOperator.h:24