15 #ifndef __itkGridScheduleComputer_H__
16 #define __itkGridScheduleComputer_H__
18 #include "itkObject.h"
19 #include "itkImageBase.h"
20 #include "itkTransform.h"
36 template <
typename TTransformScalarType,
unsigned int VImageDimension >
55 itkStaticConstMacro( Dimension,
unsigned int, VImageDimension );
61 typedef typename ImageBaseType::PointType
PointType;
65 typedef typename ImageBaseType::SizeType
SizeType;
78 itkGetStaticConstMacro( Dimension ),
108 itkSetClampMacro( BSplineOrder,
unsigned int, 0, 5 );
111 itkGetConstMacro( BSplineOrder,
unsigned int );
120 virtual void SetDefaultSchedule(
122 double upsamplingFactor );
125 virtual void SetSchedule(
135 virtual void ComputeBSplineGrid(
void );
138 virtual void GetBSplineGrid(
unsigned int level,
153 VectorSpacingType m_GridSpacings;
161 void PrintSelf( std::ostream& os, Indent indent )
const;
164 itkGetConstMacro( NumberOfLevels,
unsigned int );
167 virtual void ApplyInitialTransform(
176 void operator=(
const Self& );
197 #ifndef ITK_MANUAL_INSTANTIATION
198 #include "itkGridScheduleComputer.txx"
201 #endif // end #ifndef __itkGridScheduleComputer_H__
std::vector< DirectionType > VectorDirectionType
SmartPointer< Self > Pointer
std::vector< GridSpacingFactorType > VectorGridSpacingFactorType
ImageBaseType::PointType PointType
TransformType::ConstPointer TransformConstPointer
std::vector< RegionType > VectorRegionType
This class computes all information about the B-spline grid, given the image information and the desi...
TransformConstPointer m_InitialTransform
unsigned int m_BSplineOrder
unsigned int m_NumberOfLevels
ImageBaseType::SpacingType SpacingType
TransformType::Pointer TransformPointer
DirectionType m_ImageDirection
Transform< TransformScalarType, itkGetStaticConstMacro(Dimension), itkGetStaticConstMacro(Dimension) > TransformType
TTransformScalarType TransformScalarType
ImageBaseType::SizeValueType SizeValueType
SpacingType m_ImageSpacing
virtual ~GridScheduleComputer()
ImageBase< itkGetStaticConstMacro(Dimension) > ImageBaseType
GridScheduleComputer Self
SmartPointer< const Self > ConstPointer
VectorRegionType m_GridRegions
ImageBaseType::RegionType RegionType
std::vector< SpacingType > VectorSpacingType
SpacingType m_FinalGridSpacing
VectorOriginType m_GridOrigins
ImageBaseType::PointType OriginType
VectorDirectionType m_GridDirections
ImageBaseType::DirectionType DirectionType
ImageBaseType::SizeType SizeType
VectorGridSpacingFactorType m_GridSpacingFactors
SpacingType GridSpacingFactorType
std::vector< OriginType > VectorOriginType