go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
itkCyclicGridScheduleComputer.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 __itkCyclicGridScheduleComputer_h__
19 #define __itkCyclicGridScheduleComputer_h__
20 
21 #include "itkImageBase.h"
22 #include "itkTransform.h"
24 
25 namespace itk
26 {
27 
40 template< typename TTransformScalarType, unsigned int VImageDimension >
42  public GridScheduleComputer< TTransformScalarType, VImageDimension >
43 {
44 public:
45 
48  typedef GridScheduleComputer<
49  TTransformScalarType, VImageDimension > Superclass;
51  typedef SmartPointer< const Self > ConstPointer;
52 
54  itkNewMacro( Self );
55 
58 
60  itkStaticConstMacro( Dimension, unsigned int, VImageDimension );
61 
63  typedef TTransformScalarType TransformScalarType;
64  typedef ImageBase<
65  itkGetStaticConstMacro( Dimension ) > ImageBaseType;
66  typedef typename ImageBaseType::PointType PointType;
67  typedef typename ImageBaseType::PointType OriginType;
68  typedef typename ImageBaseType::SpacingType SpacingType;
69  typedef typename ImageBaseType::DirectionType DirectionType;
70  typedef typename ImageBaseType::SizeType SizeType;
71  typedef typename ImageBaseType::SizeValueType SizeValueType;
72  typedef typename ImageBaseType::RegionType RegionType;
73  typedef SpacingType GridSpacingFactorType;
74  typedef std::vector< OriginType > VectorOriginType;
75  typedef std::vector< SpacingType > VectorSpacingType;
76  typedef std::vector< RegionType > VectorRegionType;
77  typedef std::vector< GridSpacingFactorType > VectorGridSpacingFactorType;
78 
80  typedef Transform<
82  itkGetStaticConstMacro( Dimension ),
83  itkGetStaticConstMacro( Dimension ) > TransformType;
84  typedef typename TransformType::Pointer TransformPointer;
85  typedef typename TransformType::ConstPointer TransformConstPointer;
86 
88  virtual void ComputeBSplineGrid( void );
89 
90 protected:
91 
94 
97 
98 private:
99 
100  CyclicGridScheduleComputer( const Self & ); // purposely not implemented
101  void operator=( const Self & ); // purposely not implemented
102 
103 };
104 
105 } // end namespace itk
106 
107 #ifndef ITK_MANUAL_INSTANTIATION
108 #include "itkCyclicGridScheduleComputer.hxx"
109 #endif
110 
111 #endif // end #ifndef __itkCyclicGridScheduleComputer_h__
std::vector< GridSpacingFactorType > VectorGridSpacingFactorType
std::vector< SpacingType > VectorSpacingType
GridScheduleComputer< TTransformScalarType, VImageDimension > Superclass
virtual void ComputeBSplineGrid(void)
This class computes all information about the B-spline grid, given the image information and the desi...
void operator=(const Self &)
TransformType::ConstPointer TransformConstPointer
ImageBaseType::SizeValueType SizeValueType
This class computes all information about the B-spline grid.
ImageBaseType::DirectionType DirectionType
ImageBase< itkGetStaticConstMacro(Dimension) > ImageBaseType
itkStaticConstMacro(Dimension, unsigned int, VImageDimension)
Transform< TransformScalarType, itkGetStaticConstMacro(Dimension), itkGetStaticConstMacro(Dimension) > TransformType


Generated on 04-09-2015 for elastix by doxygen 1.8.9.1 elastix logo