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  This file is part of the elastix software.
4 
5  Copyright (c) University Medical Center Utrecht. All rights reserved.
6  See src/CopyrightElastix.txt or http://elastix.isi.uu.nl/legal.php for
7  details.
8 
9  This software is distributed WITHOUT ANY WARRANTY; without even
10  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11  PURPOSE. See the above copyright notices for more information.
12 
13 ======================================================================*/
14 #ifndef __itkCyclicGridScheduleComputer_h__
15 #define __itkCyclicGridScheduleComputer_h__
16 
17 #include "itkImageBase.h"
18 #include "itkTransform.h"
20 
21 namespace itk
22 {
23 
36 template< typename TTransformScalarType, unsigned int VImageDimension >
38  public GridScheduleComputer< TTransformScalarType, VImageDimension >
39 {
40 public:
41 
44  typedef GridScheduleComputer<
45  TTransformScalarType, VImageDimension > Superclass;
46  typedef SmartPointer< Self > Pointer;
47  typedef SmartPointer< const Self > ConstPointer;
48 
50  itkNewMacro( Self );
51 
54 
56  itkStaticConstMacro( Dimension, unsigned int, VImageDimension );
57 
59  typedef TTransformScalarType TransformScalarType;
60  typedef ImageBase<
61  itkGetStaticConstMacro( Dimension ) > ImageBaseType;
62  typedef typename ImageBaseType::PointType PointType;
63  typedef typename ImageBaseType::PointType OriginType;
64  typedef typename ImageBaseType::SpacingType SpacingType;
65  typedef typename ImageBaseType::DirectionType DirectionType;
66  typedef typename ImageBaseType::SizeType SizeType;
67  typedef typename ImageBaseType::SizeValueType SizeValueType;
68  typedef typename ImageBaseType::RegionType RegionType;
70  typedef std::vector< OriginType > VectorOriginType;
71  typedef std::vector< SpacingType > VectorSpacingType;
72  typedef std::vector< RegionType > VectorRegionType;
73  typedef std::vector< GridSpacingFactorType > VectorGridSpacingFactorType;
74 
76  typedef Transform<
78  itkGetStaticConstMacro( Dimension ),
79  itkGetStaticConstMacro( Dimension ) > TransformType;
80  typedef typename TransformType::Pointer TransformPointer;
81  typedef typename TransformType::ConstPointer TransformConstPointer;
82 
84  virtual void ComputeBSplineGrid( void );
85 
86 protected:
87 
90 
93 
94 private:
95 
96  CyclicGridScheduleComputer( const Self & ); // purposely not implemented
97  void operator=( const Self & ); // purposely not implemented
98 
99 };
100 
101 } // end namespace itk
102 
103 #ifndef ITK_MANUAL_INSTANTIATION
104 #include "itkCyclicGridScheduleComputer.hxx"
105 #endif
106 
107 #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...
ImageBaseType::SpacingType SpacingType
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 27-04-2014 for elastix by doxygen 1.8.6 elastix logo