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 
22 #include "itkLimiterFunctionBase.h"
23 
24 namespace itk
25 {
26 
42 template< class TInput, unsigned int NDimension >
44  public LimiterFunctionBase< TInput, NDimension >
45 {
46 public:
47 
51  typedef SmartPointer< Self > Pointer;
52  typedef SmartPointer< const Self > ConstPointer;
53 
56 
58  itkNewMacro( Self );
59 
61  itkStaticConstMacro( Dimension, unsigned int, Superclass::Dimension );
62 
64  typedef typename Superclass::InputType InputType;
68 
70  OutputType Evaluate( const InputType & input ) const override;
71 
73  OutputType Evaluate( const InputType & input, DerivativeType & derivative ) const override;
74 
76  void Initialize( void ) override;
77 
78 protected:
79 
82 
83  virtual void ComputeLimiterSettings( void );
84 
85  double m_UTminUB;
86  double m_UTminUBinv;
87  double m_LTminLB;
88  double m_LTminLBinv;
89 
90 private:
91 
92  ExponentialLimiterFunction( const Self & ); // purposely not implemented
93  void operator=( const Self & ); // purposely not implemented
94 
95 };
96 
97 } // end namespace itk
98 
99 #ifndef ITK_MANUAL_INSTANTIATION
100 #include "itkExponentialLimiterFunction.hxx"
101 #endif
102 
103 #endif
OutputType Evaluate(const InputType &input, DerivativeType &derivative) const override
LimiterFunctionBase< TInput, NDimension > Superclass
void Initialize(void) override
void operator=(const Self &)
OutputType Evaluate(const InputType &input) const override
virtual void ComputeLimiterSettings(void)
Superclass::DerivativeValueType DerivativeValueType
itkStaticConstMacro(Dimension, unsigned int, Superclass::Dimension)
ExponentialLimiterFunction(const Self &)
Base class for all ITK limiter function objects.
CovariantVector< DerivativeValueType, itkGetStaticConstMacro(Dimension) > DerivativeType
Superclass::InputType InputType
Superclass::OutputType OutputType


Generated on 1667476801 for elastix by doxygen 1.9.1 elastix logo