18#ifndef __itkGridScheduleComputer_H__
19#define __itkGridScheduleComputer_H__
22#include "itkImageBase.h"
23#include "itkTransform.h"
39template<
typename TTransformScalarType,
unsigned int VImageDimension >
64 typedef typename ImageBaseType::PointType
PointType;
68 typedef typename ImageBaseType::SizeType
SizeType;
81 itkGetStaticConstMacro( Dimension ),
111 itkSetClampMacro( BSplineOrder,
unsigned int, 0, 5 );
114 itkGetConstMacro( BSplineOrder,
unsigned int );
125 double upsamplingFactor );
164 void PrintSelf( std::ostream & os, Indent indent )
const override;
167 itkGetConstMacro( NumberOfLevels,
unsigned int );
191 itkSetClampMacro( UpsamplingFactor,
float, 1.0, NumericTraits< float >::max() );
200#ifndef ITK_MANUAL_INSTANTIATION
201#include "itkGridScheduleComputer.hxx"
This class computes all information about the B-spline grid, given the image information and the desi...
SmartPointer< const Self > ConstPointer
SpacingType m_ImageSpacing
~GridScheduleComputer() override
Transform< TransformScalarType, itkGetStaticConstMacro(Dimension), itkGetStaticConstMacro(Dimension) > TransformType
TransformConstPointer m_InitialTransform
ImageBaseType::SizeValueType SizeValueType
ImageBase< itkGetStaticConstMacro(Dimension) > ImageBaseType
ImageBaseType::PointType OriginType
unsigned int m_BSplineOrder
TTransformScalarType TransformScalarType
unsigned int m_NumberOfLevels
TransformType::Pointer TransformPointer
DirectionType m_ImageDirection
ImageBaseType::SizeType SizeType
VectorRegionType m_GridRegions
ImageBaseType::PointType PointType
virtual void SetSchedule(const VectorGridSpacingFactorType &schedule)
std::vector< GridSpacingFactorType > VectorGridSpacingFactorType
VectorSpacingType m_GridSpacings
std::vector< SpacingType > VectorSpacingType
virtual void GetBSplineGrid(unsigned int level, RegionType &gridRegion, SpacingType &gridSpacing, OriginType &gridOrigin, DirectionType &gridDirection)
std::vector< RegionType > VectorRegionType
ImageBaseType::RegionType RegionType
std::vector< DirectionType > VectorDirectionType
SmartPointer< Self > Pointer
ImageBaseType::DirectionType DirectionType
GridScheduleComputer(const Self &)
virtual void ApplyInitialTransform(OriginType &imageOrigin, SpacingType &imageSpacing, DirectionType &imageDirection, SpacingType &finalGridSpacing) const
TransformType::ConstPointer TransformConstPointer
virtual void SetDefaultSchedule(unsigned int levels, double upsamplingFactor)
itkStaticConstMacro(Dimension, unsigned int, VImageDimension)
void operator=(const Self &)
VectorDirectionType m_GridDirections
virtual void ComputeBSplineGrid(void)
VectorOriginType m_GridOrigins
void PrintSelf(std::ostream &os, Indent indent) const override
VectorGridSpacingFactorType m_GridSpacingFactors
GridScheduleComputer Self
virtual void GetSchedule(VectorGridSpacingFactorType &schedule) const
SpacingType m_FinalGridSpacing
SpacingType GridSpacingFactorType
ImageBaseType::SpacingType SpacingType
std::vector< OriginType > VectorOriginType