go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
itkKernelFunctionBase2.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 #ifndef itkKernelFunctionBase2_h
19 #define itkKernelFunctionBase2_h
20 
21 #include "itkKernelFunctionBase.h"
22 
23 namespace itk
24 {
39 template< typename TRealValueType = double >
40 class KernelFunctionBase2 : public KernelFunctionBase< TRealValueType >
41 {
42 public:
45  typedef KernelFunctionBase< TRealValueType > Superclass;
47  typedef SmartPointer< const Self > ConstPointer;
48 
49  typedef TRealValueType RealType;
50 
52  itkTypeMacro( KernelFunctionBase2, KernelFunctionBase );
53 
55  virtual TRealValueType Evaluate( const TRealValueType & u ) const ITK_OVERRIDE = 0;
56 
58  virtual void Evaluate( const TRealValueType & u, TRealValueType * weights ) const = 0;
59 
60 protected:
62  virtual ~KernelFunctionBase2() {};
63 };
64 } // end namespace itk
65 
66 #endif // itkKernelFunctionBase2_h
SmartPointer< Self >
itk::KernelFunctionBase2::Evaluate
virtual TRealValueType Evaluate(const TRealValueType &u) const ITK_OVERRIDE=0
itk::KernelFunctionBase2::ConstPointer
SmartPointer< const Self > ConstPointer
Definition: itkKernelFunctionBase2.h:47
itk::KernelFunctionBase2::Evaluate
virtual void Evaluate(const TRealValueType &u, TRealValueType *weights) const =0
itk::KernelFunctionBase2::Superclass
KernelFunctionBase< TRealValueType > Superclass
Definition: itkKernelFunctionBase2.h:45
itk::KernelFunctionBase2::KernelFunctionBase2
KernelFunctionBase2()
Definition: itkKernelFunctionBase2.h:61
itk::KernelFunctionBase2::~KernelFunctionBase2
virtual ~KernelFunctionBase2()
Definition: itkKernelFunctionBase2.h:62
itk::KernelFunctionBase2
Kernel used for density estimation and nonparameteric regression.
Definition: itkKernelFunctionBase2.h:41
itk::KernelFunctionBase2::Self
KernelFunctionBase2 Self
Definition: itkKernelFunctionBase2.h:44
itk
Definition: itkAdvancedImageToImageMetric.h:40
itk::KernelFunctionBase2::RealType
TRealValueType RealType
Definition: itkKernelFunctionBase2.h:49
itk::KernelFunctionBase2::Pointer
SmartPointer< Self > Pointer
Definition: itkKernelFunctionBase2.h:46


Generated on OURCE_DATE_EPOCH for elastix by doxygen 1.8.18 elastix logo