go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
itkExponentialLimiterFunction.h
Go to the documentation of this file.
1/*=========================================================================
2 *
3 * Copyright UMC Utrecht and contributors
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 itkExponentialLimiterFunction_h
20#define itkExponentialLimiterFunction_h
21
23
24namespace itk
25{
26
42template <class TInput, unsigned int NDimension>
43class ITK_TEMPLATE_EXPORT ExponentialLimiterFunction : public LimiterFunctionBase<TInput, NDimension>
44{
45public:
47
51 using Pointer = SmartPointer<Self>;
52 using ConstPointer = SmartPointer<const Self>;
53
56
58 itkNewMacro(Self);
59
61 itkStaticConstMacro(Dimension, unsigned int, Superclass::Dimension);
62
64 using typename Superclass::InputType;
65 using typename Superclass::OutputType;
67 using typename Superclass::DerivativeType;
68
70 OutputType
71 Evaluate(const InputType & input) const override;
72
74 OutputType
75 Evaluate(const InputType & input, DerivativeType & derivative) const override;
76
78 void
79 Initialize() override;
80
81protected:
83 ~ExponentialLimiterFunction() override = default;
84
85 virtual void
87
88 double m_UTminUB{};
89 double m_UTminUBinv{};
90 double m_LTminLB{};
91 double m_LTminLBinv{};
92};
93
94} // end namespace itk
95
96#ifndef ITK_MANUAL_INSTANTIATION
97# include "itkExponentialLimiterFunction.hxx"
98#endif
99
100#endif
CovariantVector< DerivativeValueType, Self::Dimension > DerivativeType
ITK_DISALLOW_COPY_AND_MOVE(ExponentialLimiterFunction)
OutputType Evaluate(const InputType &input, DerivativeType &derivative) const override
OutputType Evaluate(const InputType &input) const override
virtual void ComputeLimiterSettings()
~ExponentialLimiterFunction() override=default
itkStaticConstMacro(Dimension, unsigned int, Superclass::Dimension)
Base class for all ITK limiter function objects.
CovariantVector< DerivativeValueType, Self::Dimension > DerivativeType


Generated on 2024-07-17 for elastix by doxygen 1.11.0 (9b424b03c9833626cd435af22a444888fbbb192d) elastix logo