go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
elxAffineDTITransform.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 __elxAffineDTITransform_H__
19 #define __elxAffineDTITransform_H__
20 
21 #include "elxIncludes.h" // include first to avoid MSVS warning
23 #include "itkAffineDTITransform.h"
24 #include "itkCenteredTransformInitializer.h"
25 
26 namespace elastix
27 {
28 
77 template< class TElastix >
80  typename elx::TransformBase< TElastix >::CoordRepType,
81  elx::TransformBase< TElastix >::FixedImageDimension >,
82  public elx::TransformBase< TElastix >
83 {
84 public:
85 
92  typedef itk::SmartPointer< Self > Pointer;
93  typedef itk::SmartPointer< const Self > ConstPointer;
94 
97  typedef itk::AffineDTITransform<
98  typename elx::TransformBase< TElastix >::CoordRepType,
100 
102  itkNewMacro( Self );
103 
106 
111  elxClassNameMacro( "AffineDTITransform" );
112 
114  itkStaticConstMacro( SpaceDimension, unsigned int, Superclass2::FixedImageDimension );
115 
123 
132 
133  typedef typename AffineDTITransformType::Pointer AffineDTITransformPointer;
134  typedef typename AffineDTITransformType::OffsetType OffsetType;
135 
148 
150  typedef typename FixedImageType::IndexType IndexType;
151  typedef typename IndexType::IndexValueType IndexValueType;
152  typedef typename FixedImageType::SizeType SizeType;
153  typedef typename FixedImageType::PointType PointType;
154  typedef typename FixedImageType::SpacingType SpacingType;
155  typedef typename FixedImageType::RegionType RegionType;
156  typedef typename FixedImageType::DirectionType DirectionType;
157 
158  typedef itk::CenteredTransformInitializer<
160  typedef typename TransformInitializerType::Pointer TransformInitializerPointer;
161 
164 
169  virtual void BeforeRegistration( void );
170 
186  virtual void InitializeTransform( void );
187 
195  virtual void SetScales( void );
196 
201  virtual void ReadFromFile( void );
202 
206  virtual void WriteToFile( const ParametersType & param ) const;
207 
208 protected:
209 
214 
217  virtual bool ReadCenterOfRotationPoint( InputPointType & rotationPoint ) const;
218 
219 private:
220 
222  AffineDTITransformElastix( const Self & ); // purposely not implemented
224  void operator=( const Self & ); // purposely not implemented
225 
226  AffineDTITransformPointer m_AffineDTITransform;
227 
228 };
229 
230 } // end namespace elastix
231 
232 #ifndef ITK_MANUAL_INSTANTIATION
233 #include "elxAffineDTITransform.hxx"
234 #endif
235 
236 #endif // end #ifndef __elxAffineDTITransform_H__
This class combines two transforms: an 'initial transform' with a 'current transform'.
Superclass::InputCovariantVectorType InputCovariantVectorType
Superclass::RegistrationPointer RegistrationPointer
Superclass::OutputCovariantVectorType OutputCovariantVectorType
FixedImageType::RegionType RegionType
itkStaticConstMacro(SpaceDimension, unsigned int, Superclass2::FixedImageDimension)
Superclass1::OutputVectorType OutputVectorType
FixedImageType::DirectionType DirectionType
itk::SmartPointer< const Self > ConstPointer
Superclass2::RegistrationPointer RegistrationPointer
AffineDTITransformType::Pointer AffineDTITransformPointer
Superclass1::OutputVnlVectorType OutputVnlVectorType
OptimizerType::ScalesType ScalesType
Superclass2::FixedImageType FixedImageType
ElastixType::FixedImageType FixedImageType
IndexType::IndexValueType IndexValueType
Superclass2::ElastixPointer ElastixPointer
virtual void WriteToFile(void) const
virtual void BeforeRegistration(void)
Superclass::ElastixType ElastixType
FixedImageType::SpacingType SpacingType
itk::CenteredTransformInitializer< AffineDTITransformType, FixedImageType, MovingImageType > TransformInitializerType
Superclass2::ConfigurationType ConfigurationType
Superclass1::InputPointType InputPointType
Transform maps points, vectors and covariant vectors from an input space to an output space...
elx::TransformBase< TElastix > Superclass2
Superclass1::OutputPointType OutputPointType
Superclass1::JacobianType JacobianType
elxClassNameMacro("AffineDTITransform")
Superclass1::InputVnlVectorType InputVnlVectorType
Superclass1::ParametersType ParametersType
Superclass1::OutputCovariantVectorType OutputCovariantVectorType
Superclass2::CombinationTransformType CombinationTransformType
TransformInitializerType::Pointer TransformInitializerPointer
ElastixType::MovingImageType MovingImageType
Superclass::ElastixPointer ElastixPointer
ElastixType::CoordRepType CoordRepType
Superclass::RegistrationType RegistrationType
A transform based on the itk AffineDTITransform.
itk::AffineDTITransform< typename elx::TransformBase< TElastix >::CoordRepType, elx::TransformBase< TElastix >::FixedImageDimension > AffineDTITransformType
Superclass2::RegistrationType RegistrationType
Superclass::NumberOfParametersType NumberOfParametersType
Superclass1::InputCovariantVectorType InputCovariantVectorType
This class is the elastix base class for all Transforms.
Superclass1::InputVectorType InputVectorType
Superclass::ConfigurationType ConfigurationType
virtual bool ReadCenterOfRotationPoint(InputPointType &rotationPoint) const
Superclass::OutputVnlVectorType OutputVnlVectorType
AffineDTITransformType::OffsetType OffsetType
Superclass2::CoordRepType CoordRepType
AffineDTITransformPointer m_AffineDTITransform
Superclass2::MovingImageType MovingImageType
Superclass::ConfigurationPointer ConfigurationPointer
Superclass::InputVnlVectorType InputVnlVectorType
virtual void InitializeTransform(void)
itk::AdvancedCombinationTransform< typename elx::TransformBase< TElastix >::CoordRepType, elx::TransformBase< TElastix >::FixedImageDimension > Superclass1
Superclass2::ConfigurationPointer ConfigurationPointer
Superclass1::NumberOfParametersType NumberOfParametersType


Generated on 04-09-2015 for elastix by doxygen 1.8.9.1 elastix logo