go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
itkVolumeSplineKernelTransform2.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Insight Segmentation & Registration Toolkit
4  Module: $RCSfile: itkVolumeSplineKernelTransform2.h,v $
5  Language: C++
6  Date: $Date: 2006/03/18 18:06:38 $
7  Version: $Revision: 1.8 $
8 
9  Copyright (c) Insight Software Consortium. All rights reserved.
10  See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.
11 
12  This software is distributed WITHOUT ANY WARRANTY; without even
13  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
14  PURPOSE. See the above copyright notices for more information.
15 
16 =========================================================================*/
17 #ifndef __itkVolumeSplineKernelTransform2_h
18 #define __itkVolumeSplineKernelTransform2_h
19 
20 #include "itkKernelTransform2.h"
21 
22 namespace itk
23 {
32 template <class TScalarType, // Data type for scalars (float or double)
33  unsigned int NDimensions = 3> // Number of dimensions
34 class ITK_EXPORT VolumeSplineKernelTransform2 :
35  public KernelTransform2< TScalarType, NDimensions>
36 {
37 public:
41  typedef SmartPointer<Self> Pointer;
42  typedef SmartPointer<const Self> ConstPointer;
43 
45  itkNewMacro( Self );
46 
49 
51  typedef typename Superclass::ScalarType ScalarType;
52 
55 
58 
60  itkStaticConstMacro(SpaceDimension, unsigned int,Superclass::SpaceDimension);
61 
72  typedef typename Superclass::PointsIterator PointsIterator;
73 
74 
75 protected:
77  {
78  this->m_FastComputationPossible = true;
79  };
81 
84  typedef typename Superclass::GMatrixType GMatrixType;
85 
94  void ComputeG(const InputVectorType & x, GMatrixType & GMatrix) const;
95 
96 
99  virtual void ComputeDeformationContribution(const InputPointType & inputPoint,
100  OutputPointType & result ) const;
101 
102 private:
103  VolumeSplineKernelTransform2(const Self&); //purposely not implemented
104  void operator=(const Self&); //purposely not implemented
105 
106 };
107 
108 } // namespace itk
109 
110 #ifndef ITK_MANUAL_INSTANTIATION
111 #include "itkVolumeSplineKernelTransform2.txx"
112 #endif
113 
114 #endif // __itkVolumeSplineKernelTransform2_h
Superclass::OutputPointType OutputPointType
KernelTransform2< TScalarType, NDimensions > Superclass
vnl_matrix_fixed< TScalarType, NDimensions, NDimensions > GMatrixType
Superclass::InputCovariantVectorType InputCovariantVectorType
Superclass::OutputCovariantVectorType OutputCovariantVectorType
Superclass::InputVectorType InputVectorType
Superclass::InputPointType InputPointType


Generated on 05-12-2013 for elastix by doxygen 1.8.5 elastix logo