go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
itkHardLimiterFunction.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 itkHardLimiterFunction_h
20#define itkHardLimiterFunction_h
21
23
24namespace itk
25{
26
38template <class TInput, unsigned int NDimension>
39class ITK_TEMPLATE_EXPORT HardLimiterFunction : public LimiterFunctionBase<TInput, NDimension>
40{
41public:
43
47 using Pointer = SmartPointer<Self>;
48 using ConstPointer = SmartPointer<const Self>;
49
52
54 itkNewMacro(Self);
55
57 itkStaticConstMacro(Dimension, unsigned int, Superclass::Dimension);
58
60 using typename Superclass::InputType;
61 using typename Superclass::OutputType;
63 using typename Superclass::DerivativeType;
64
66 OutputType
67 Evaluate(const InputType & input) const override;
68
70 OutputType
71 Evaluate(const InputType & input, DerivativeType & derivative) const override;
72
73protected:
75 ~HardLimiterFunction() override = default;
76};
77
78} // end namespace itk
79
80#ifndef ITK_MANUAL_INSTANTIATION
81# include "itkHardLimiterFunction.hxx"
82#endif
83
84#endif
CovariantVector< DerivativeValueType, Self::Dimension > DerivativeType
ITK_DISALLOW_COPY_AND_MOVE(HardLimiterFunction)
~HardLimiterFunction() override=default
OutputType Evaluate(const InputType &input) const override
OutputType Evaluate(const InputType &input, DerivativeType &derivative) const override
itkStaticConstMacro(Dimension, unsigned int, Superclass::Dimension)
SmartPointer< const Self > ConstPointer
Base class for all ITK limiter function objects.
CovariantVector< DerivativeValueType, Self::Dimension > DerivativeType


Generated on 2023-01-13 for elastix by doxygen 1.9.6 elastix logo