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
25namespace itk
26{
27
40template< typename TTransformScalarType, unsigned int VImageDimension >
42 public GridScheduleComputer< TTransformScalarType, VImageDimension >
43{
44public:
45
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;
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 void ComputeBSplineGrid( void ) override;
89
90protected:
91
94
97
98private:
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__
This class computes all information about the B-spline grid.
ImageBaseType::SizeValueType SizeValueType
GridScheduleComputer< TTransformScalarType, VImageDimension > Superclass
void ComputeBSplineGrid(void) override
itkStaticConstMacro(Dimension, unsigned int, VImageDimension)
ImageBaseType::DirectionType DirectionType
Transform< TransformScalarType, itkGetStaticConstMacro(Dimension), itkGetStaticConstMacro(Dimension) > TransformType
TransformType::ConstPointer TransformConstPointer
std::vector< GridSpacingFactorType > VectorGridSpacingFactorType
std::vector< SpacingType > VectorSpacingType
void operator=(const Self &)
CyclicGridScheduleComputer(const Self &)
ImageBase< itkGetStaticConstMacro(Dimension) > ImageBaseType
This class computes all information about the B-spline grid, given the image information and the desi...


Generated on 1667476801 for elastix by doxygen 1.9.4 elastix logo