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 
15 #ifndef __itkCyclicGridScheduleComputer_H__
16 #define __itkCyclicGridScheduleComputer_H__
17 
18 #include "itkImageBase.h"
19 #include "itkTransform.h"
21 
22 namespace itk
23 {
24 
37 template < typename TTransformScalarType, unsigned int VImageDimension >
39  : public GridScheduleComputer< TTransformScalarType, VImageDimension >
40 {
41 public:
42 
45  typedef GridScheduleComputer<
46  TTransformScalarType, VImageDimension> Superclass;
47  typedef SmartPointer< Self > Pointer;
48  typedef SmartPointer< const Self > ConstPointer;
49 
51  itkNewMacro( Self );
52 
55 
57  itkStaticConstMacro( Dimension, unsigned int, VImageDimension );
58 
60  typedef TTransformScalarType TransformScalarType;
61  typedef ImageBase<
62  itkGetStaticConstMacro( Dimension ) > ImageBaseType;
63  typedef typename ImageBaseType::PointType PointType;
64  typedef typename ImageBaseType::PointType OriginType;
65  typedef typename ImageBaseType::SpacingType SpacingType;
66  typedef typename ImageBaseType::DirectionType DirectionType;
67  typedef typename ImageBaseType::SizeType SizeType;
68  typedef typename ImageBaseType::SizeValueType SizeValueType;
69  typedef typename ImageBaseType::RegionType RegionType;
71  typedef std::vector< OriginType > VectorOriginType;
72  typedef std::vector< SpacingType > VectorSpacingType;
73  typedef std::vector< RegionType > VectorRegionType;
74  typedef std::vector< GridSpacingFactorType > VectorGridSpacingFactorType;
75 
77  typedef Transform<
79  itkGetStaticConstMacro( Dimension ),
80  itkGetStaticConstMacro( Dimension ) > TransformType;
81  typedef typename TransformType::Pointer TransformPointer;
82  typedef typename TransformType::ConstPointer TransformConstPointer;
83 
85  virtual void ComputeBSplineGrid( void );
86 
87 protected:
88 
91 
94 
95 private:
96 
97  CyclicGridScheduleComputer( const Self& ); // purposely not implemented
98  void operator=( const Self& ); // purposely not implemented
99 
100 }; // end class CyclicGridScheduleComputer
101 
102 } // end namespace itk
103 
104 #ifndef ITK_MANUAL_INSTANTIATION
105 #include "itkCyclicGridScheduleComputer.txx"
106 #endif
107 
108 #endif // end #ifndef __itkCyclicGridScheduleComputer_H__
109 
std::vector< GridSpacingFactorType > VectorGridSpacingFactorType
std::vector< SpacingType > VectorSpacingType
This class computes all information about the B-spline grid, given the image information and the desi...
ImageBaseType::SpacingType SpacingType
TTransformScalarType TransformScalarType
TransformType::ConstPointer TransformConstPointer
ImageBaseType::SizeValueType SizeValueType
This class computes all information about the B-spline grid.
GridScheduleComputer< TTransformScalarType, VImageDimension > Superclass
ImageBaseType::DirectionType DirectionType
ImageBase< itkGetStaticConstMacro(Dimension) > ImageBaseType
Transform< TransformScalarType, itkGetStaticConstMacro(Dimension), itkGetStaticConstMacro(Dimension) > TransformType


Generated on 05-01-2014 for elastix by doxygen 1.8.5 elastix logo