ITK  4.3.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
itk::TimeVaryingBSplineVelocityFieldTransformParametersAdaptor< TTransform > Class Template Reference

#include <itkTimeVaryingBSplineVelocityFieldTransformParametersAdaptor.h>

+ Inheritance diagram for itk::TimeVaryingBSplineVelocityFieldTransformParametersAdaptor< TTransform >:
+ Collaboration diagram for itk::TimeVaryingBSplineVelocityFieldTransformParametersAdaptor< TTransform >:

Detailed Description

template<class TTransform>
class itk::TimeVaryingBSplineVelocityFieldTransformParametersAdaptor< TTransform >

TimeVaryingBSplineVelocityFieldTransformParametersAdaptor is a helper class intended to definition.

The fixed parameters store the following information:

transformAdaptor->SetTransform( transform );
transformAdaptor->SetRequiredFixedParameters( fixedParameters );
transformAdaptor->AdaptTransformParameters();

or the user can use the more intuitive API for setting the fixed parameters. E.g., often the user will want to maintain the same transform domain spatial extent but only increase the field size and decrease the spacing. This can be done as follows:

transformAdaptor->SetRequiredTransformDomainOrigin( displacementField->GetOrigin() );
transformAdaptor->SetRequiredTransformDomainDirection( displacementField->GetDirection() );
transformAdaptor->SetRequiredTransformDomainSize( requiredSize );
transformAdaptor->SetRequiredTransformDomainSpacing( requiredSpacing );
transformAdaptor->SetRequiredTransformDomainMeshSize( requiredMeshSize );
transformAdaptor->SetSplineOrder( transform->GetSplineOrder() );
transformAdaptor->AdaptTransformParameters();
Author
Nick Tustison
Brian Avants

Definition at line 66 of file itkTimeVaryingBSplineVelocityFieldTransformParametersAdaptor.h.

Public Types

typedef SmartPointer< const SelfConstPointer
 
typedef
TimeVaryingVelocityFieldControlPointLatticeType::DirectionType 
DirectionType
 
typedef
TimeVaryingVelocityFieldControlPointLatticeType::IndexType 
IndexType
 
typedef
TimeVaryingVelocityFieldControlPointLatticeType::SizeType 
MeshSizeType
 
typedef
TimeVaryingVelocityFieldControlPointLatticeType::PointType 
OriginType
 
typedef
TransformType::ParametersType 
ParametersType
 
typedef
TransformType::ParametersValueType 
ParametersValueType
 
typedef SmartPointer< SelfPointer
 
typedef ParametersValueType RealType
 
typedef
TimeVaryingVelocityFieldControlPointLatticeType::RegionType 
RegionType
 
typedef
TimeVaryingBSplineVelocityFieldTransformParametersAdaptor 
Self
 
typedef
TimeVaryingVelocityFieldControlPointLatticeType::SizeType 
SizeType
 
typedef
TimeVaryingVelocityFieldControlPointLatticeType::SizeValueType 
SizeValueType
 
typedef
TimeVaryingVelocityFieldControlPointLatticeType::SpacingType 
SpacingType
 
typedef
TransformParametersAdaptor
< TTransform > 
Superclass
 
typedef
TimeVaryingVelocityFieldControlPointLatticeType::Pointer 
TimeVaryingVelocityFieldControlPointLatticePointer
 
typedef
TransformType::TimeVaryingVelocityFieldControlPointLatticeType 
TimeVaryingVelocityFieldControlPointLatticeType
 
typedef TransformType::Pointer TransformPointer
 
typedef TTransform TransformType
 
typedef
TimeVaryingVelocityFieldControlPointLatticeType::PixelType 
VectorType
 
- Public Types inherited from itk::TransformParametersAdaptor< TTransform >
typedef SmartPointer< const SelfConstPointer
 
typedef Superclass::ParametersType ParametersType
 
typedef
Superclass::ParametersValueType 
ParametersValueType
 
typedef SmartPointer< SelfPointer
 
typedef TransformParametersAdaptor Self
 
typedef
TransformParametersAdaptorBase
< TTransform > 
Superclass
 
typedef
Superclass::TransformPointer 
TransformPointer
 
typedef TTransform TransformType
 
- Public Types inherited from itk::TransformParametersAdaptorBase< TTransform >
typedef SmartPointer< const SelfConstPointer
 
typedef
TransformType::ParametersType 
ParametersType
 
typedef ParametersType::ValueType ParametersValueType
 
typedef SmartPointer< SelfPointer
 
typedef
TransformParametersAdaptorBase 
Self
 
typedef Object Superclass
 
typedef TransformType::Pointer TransformPointer
 
typedef TTransform TransformType
 
- Public Types inherited from itk::Object
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef Object Self
 
typedef LightObject Superclass
 
- Public Types inherited from itk::LightObject
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef LightObject Self
 

Public Member Functions

virtual void AdaptTransformParameters ()
 
virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual const char * GetNameOfClass () const
 
const DirectionType GetRequiredControlPointLatticeDirection () const
 
virtual const DirectionTypeGetRequiredTransformDomainDirection ()
 
virtual const MeshSizeTypeGetRequiredTransformDomainMeshSize ()
 
virtual const OriginTypeGetRequiredTransformDomainOrigin ()
 
virtual const SizeTypeGetRequiredTransformDomainSize ()
 
virtual const SpacingTypeGetRequiredTransformDomainSpacing ()
 
virtual SizeValueType GetSplineOrder () const
 
virtual void SetRequiredFixedParameters (const ParametersType)
 
void SetRequiredTransformDomainDirection (const DirectionType &)
 
void SetRequiredTransformDomainMeshSize (const MeshSizeType &)
 
void SetRequiredTransformDomainOrigin (const OriginType &)
 
void SetRequiredTransformDomainSize (const SizeType &)
 
void SetRequiredTransformDomainSpacing (const SpacingType &)
 
virtual void SetSplineOrder (SizeValueType _arg)
 
const OriginType GetRequiredControlPointLatticeOrigin () const
 
const SpacingType GetRequiredControlPointLatticeSpacing () const
 
const SizeType GetRequiredControlPointLatticeSize () const
 
- Public Member Functions inherited from itk::TransformParametersAdaptor< TTransform >
virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual const ParametersTypeGetRequiredFixedParameters ()
 
virtual void SetTransform (TransformType *_arg)
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from itk::TransformParametersAdaptor< TTransform >
static Pointer New ()
 

Static Public Attributes

static const unsigned int TotalDimension = TransformType::Dimension + 1
 

Protected Member Functions

void PrintSelf (std::ostream &os, Indent indent) const
 
 TimeVaryingBSplineVelocityFieldTransformParametersAdaptor ()
 
 ~TimeVaryingBSplineVelocityFieldTransformParametersAdaptor ()
 
- Protected Member Functions inherited from itk::TransformParametersAdaptor< TTransform >
void PrintSelf (std::ostream &os, Indent) const
 
 TransformParametersAdaptor ()
 
 ~TransformParametersAdaptor ()
 
- Protected Member Functions inherited from itk::TransformParametersAdaptorBase< TTransform >
void PrintSelf (std::ostream &os, Indent indent) const
 
 TransformParametersAdaptorBase ()
 
 ~TransformParametersAdaptorBase ()
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void SetTimeStamp (const TimeStamp &time)
 
virtual ~Object ()
 
- Protected Member Functions inherited from itk::LightObject
virtual LightObject::Pointer InternalClone () const
 
 LightObject ()
 
virtual void PrintHeader (std::ostream &os, Indent indent) const
 
virtual void PrintTrailer (std::ostream &os, Indent indent) const
 
virtual ~LightObject ()
 

Private Member Functions

void operator= (const Self &)
 
 TimeVaryingBSplineVelocityFieldTransformParametersAdaptor (const Self &)
 
void UpdateRequiredFixedParameters ()
 

Private Attributes

DirectionType m_RequiredTransformDomainDirection
 
MeshSizeType m_RequiredTransformDomainMeshSize
 
OriginType m_RequiredTransformDomainOrigin
 
SizeType m_RequiredTransformDomainSize
 
SpacingType m_RequiredTransformDomainSpacing
 
SizeValueType m_SplineOrder
 

Additional Inherited Members

- Protected Types inherited from itk::LightObject
typedef int InternalReferenceCountType
 
- Protected Attributes inherited from itk::TransformParametersAdaptor< TTransform >
ParametersType m_RequiredFixedParameters
 
TransformPointer m_Transform
 

Member Typedef Documentation

template<class TTransform >
typedef SmartPointer<const Self> itk::TimeVaryingBSplineVelocityFieldTransformParametersAdaptor< TTransform >::ConstPointer
template<class TTransform >
typedef TimeVaryingVelocityFieldControlPointLatticeType::DirectionType itk::TimeVaryingBSplineVelocityFieldTransformParametersAdaptor< TTransform >::DirectionType
template<class TTransform >
typedef TimeVaryingVelocityFieldControlPointLatticeType::IndexType itk::TimeVaryingBSplineVelocityFieldTransformParametersAdaptor< TTransform >::IndexType
template<class TTransform >
typedef TimeVaryingVelocityFieldControlPointLatticeType::SizeType itk::TimeVaryingBSplineVelocityFieldTransformParametersAdaptor< TTransform >::MeshSizeType
template<class TTransform >
typedef TimeVaryingVelocityFieldControlPointLatticeType::PointType itk::TimeVaryingBSplineVelocityFieldTransformParametersAdaptor< TTransform >::OriginType
template<class TTransform >
typedef TransformType::ParametersType itk::TimeVaryingBSplineVelocityFieldTransformParametersAdaptor< TTransform >::ParametersType
template<class TTransform >
typedef TransformType::ParametersValueType itk::TimeVaryingBSplineVelocityFieldTransformParametersAdaptor< TTransform >::ParametersValueType
template<class TTransform >
typedef SmartPointer<Self> itk::TimeVaryingBSplineVelocityFieldTransformParametersAdaptor< TTransform >::Pointer
template<class TTransform >
typedef TimeVaryingVelocityFieldControlPointLatticeType::RegionType itk::TimeVaryingBSplineVelocityFieldTransformParametersAdaptor< TTransform >::RegionType

Standard class typedefs.

Definition at line 72 of file itkTimeVaryingBSplineVelocityFieldTransformParametersAdaptor.h.

template<class TTransform >
typedef TimeVaryingVelocityFieldControlPointLatticeType::SizeType itk::TimeVaryingBSplineVelocityFieldTransformParametersAdaptor< TTransform >::SizeType
template<class TTransform >
typedef TimeVaryingVelocityFieldControlPointLatticeType::SizeValueType itk::TimeVaryingBSplineVelocityFieldTransformParametersAdaptor< TTransform >::SizeValueType
template<class TTransform >
typedef TimeVaryingVelocityFieldControlPointLatticeType::SpacingType itk::TimeVaryingBSplineVelocityFieldTransformParametersAdaptor< TTransform >::SpacingType
template<class TTransform >
typedef TransformParametersAdaptor<TTransform> itk::TimeVaryingBSplineVelocityFieldTransformParametersAdaptor< TTransform >::Superclass
template<class TTransform >
typedef TimeVaryingVelocityFieldControlPointLatticeType::Pointer itk::TimeVaryingBSplineVelocityFieldTransformParametersAdaptor< TTransform >::TimeVaryingVelocityFieldControlPointLatticePointer
template<class TTransform >
typedef TransformType::TimeVaryingVelocityFieldControlPointLatticeType itk::TimeVaryingBSplineVelocityFieldTransformParametersAdaptor< TTransform >::TimeVaryingVelocityFieldControlPointLatticeType
template<class TTransform >
typedef TransformType::Pointer itk::TimeVaryingBSplineVelocityFieldTransformParametersAdaptor< TTransform >::TransformPointer
template<class TTransform >
typedef TTransform itk::TimeVaryingBSplineVelocityFieldTransformParametersAdaptor< TTransform >::TransformType

Typedefs associated with the transform

Definition at line 81 of file itkTimeVaryingBSplineVelocityFieldTransformParametersAdaptor.h.

template<class TTransform >
typedef TimeVaryingVelocityFieldControlPointLatticeType::PixelType itk::TimeVaryingBSplineVelocityFieldTransformParametersAdaptor< TTransform >::VectorType

Constructor & Destructor Documentation

Member Function Documentation

template<class TTransform >
virtual void itk::TimeVaryingBSplineVelocityFieldTransformParametersAdaptor< TTransform >::AdaptTransformParameters ( )
virtual

Initialize the transform using the specified fixed parameters

Reimplemented from itk::TransformParametersAdaptor< TTransform >.

template<class TTransform >
virtual::itk::LightObject::Pointer itk::TimeVaryingBSplineVelocityFieldTransformParametersAdaptor< TTransform >::CreateAnother ( void  ) const
virtual

Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.

Reimplemented from itk::Object.

template<class TTransform >
virtual const char* itk::TimeVaryingBSplineVelocityFieldTransformParametersAdaptor< TTransform >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::TransformParametersAdaptor< TTransform >.

template<class TTransform >
const DirectionType itk::TimeVaryingBSplineVelocityFieldTransformParametersAdaptor< TTransform >::GetRequiredControlPointLatticeDirection ( ) const
inline

Get the required control point lattice direction.

Definition at line 181 of file itkTimeVaryingBSplineVelocityFieldTransformParametersAdaptor.h.

template<class TTransform >
const OriginType itk::TimeVaryingBSplineVelocityFieldTransformParametersAdaptor< TTransform >::GetRequiredControlPointLatticeOrigin ( ) const
inline

Get the required control point lattice origin.

Definition at line 143 of file itkTimeVaryingBSplineVelocityFieldTransformParametersAdaptor.h.

template<class TTransform >
const SizeType itk::TimeVaryingBSplineVelocityFieldTransformParametersAdaptor< TTransform >::GetRequiredControlPointLatticeSize ( ) const
inline

Get the required control point lattice size.

Definition at line 169 of file itkTimeVaryingBSplineVelocityFieldTransformParametersAdaptor.h.

template<class TTransform >
const SpacingType itk::TimeVaryingBSplineVelocityFieldTransformParametersAdaptor< TTransform >::GetRequiredControlPointLatticeSpacing ( ) const
inline

Get the required control point lattice spacing.

Definition at line 155 of file itkTimeVaryingBSplineVelocityFieldTransformParametersAdaptor.h.

template<class TTransform >
virtual const DirectionType& itk::TimeVaryingBSplineVelocityFieldTransformParametersAdaptor< TTransform >::GetRequiredTransformDomainDirection ( )
virtual

Get the required direction.

template<class TTransform >
virtual const MeshSizeType& itk::TimeVaryingBSplineVelocityFieldTransformParametersAdaptor< TTransform >::GetRequiredTransformDomainMeshSize ( )
virtual

Get the required mesh size.

template<class TTransform >
virtual const OriginType& itk::TimeVaryingBSplineVelocityFieldTransformParametersAdaptor< TTransform >::GetRequiredTransformDomainOrigin ( )
virtual

Get the required origin.

template<class TTransform >
virtual const SizeType& itk::TimeVaryingBSplineVelocityFieldTransformParametersAdaptor< TTransform >::GetRequiredTransformDomainSize ( )
virtual

Get the required domain size.

template<class TTransform >
virtual const SpacingType& itk::TimeVaryingBSplineVelocityFieldTransformParametersAdaptor< TTransform >::GetRequiredTransformDomainSpacing ( )
virtual

Get the required domain spacing.

template<class TTransform >
virtual SizeValueType itk::TimeVaryingBSplineVelocityFieldTransformParametersAdaptor< TTransform >::GetSplineOrder ( ) const
virtual

Get spline order (usually from transform)

template<class TTransform >
static Pointer itk::TimeVaryingBSplineVelocityFieldTransformParametersAdaptor< TTransform >::New ( )
static

New macro for creation of through a Smart Pointer.

template<class TTransform >
void itk::TimeVaryingBSplineVelocityFieldTransformParametersAdaptor< TTransform >::operator= ( const Self )
private
template<class TTransform >
void itk::TimeVaryingBSplineVelocityFieldTransformParametersAdaptor< TTransform >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
protectedvirtual

Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from itk::Object.

template<class TTransform >
virtual void itk::TimeVaryingBSplineVelocityFieldTransformParametersAdaptor< TTransform >::SetRequiredFixedParameters ( const ParametersType  _arg)
virtual

Set the fixed parameters

Reimplemented from itk::TransformParametersAdaptor< TTransform >.

template<class TTransform >
void itk::TimeVaryingBSplineVelocityFieldTransformParametersAdaptor< TTransform >::SetRequiredTransformDomainDirection ( const DirectionType )

Alternative method for setting the required direction.

template<class TTransform >
void itk::TimeVaryingBSplineVelocityFieldTransformParametersAdaptor< TTransform >::SetRequiredTransformDomainMeshSize ( const MeshSizeType )

Alternative method for setting the required mesh size.

template<class TTransform >
void itk::TimeVaryingBSplineVelocityFieldTransformParametersAdaptor< TTransform >::SetRequiredTransformDomainOrigin ( const OriginType )

Alternative method for setting the required origin.

template<class TTransform >
void itk::TimeVaryingBSplineVelocityFieldTransformParametersAdaptor< TTransform >::SetRequiredTransformDomainSize ( const SizeType )

Alternative method for setting the required sampled size.

template<class TTransform >
void itk::TimeVaryingBSplineVelocityFieldTransformParametersAdaptor< TTransform >::SetRequiredTransformDomainSpacing ( const SpacingType )

Alternative method for setting the required sampled spacing.

template<class TTransform >
virtual void itk::TimeVaryingBSplineVelocityFieldTransformParametersAdaptor< TTransform >::SetSplineOrder ( SizeValueType  _arg)
virtual

Set spline order (usually from transform)

template<class TTransform >
void itk::TimeVaryingBSplineVelocityFieldTransformParametersAdaptor< TTransform >::UpdateRequiredFixedParameters ( )
private

Helper function to set m_RequiredFixedParameters

Member Data Documentation

template<class TTransform >
DirectionType itk::TimeVaryingBSplineVelocityFieldTransformParametersAdaptor< TTransform >::m_RequiredTransformDomainDirection
private
template<class TTransform >
MeshSizeType itk::TimeVaryingBSplineVelocityFieldTransformParametersAdaptor< TTransform >::m_RequiredTransformDomainMeshSize
private
template<class TTransform >
OriginType itk::TimeVaryingBSplineVelocityFieldTransformParametersAdaptor< TTransform >::m_RequiredTransformDomainOrigin
private
template<class TTransform >
SizeType itk::TimeVaryingBSplineVelocityFieldTransformParametersAdaptor< TTransform >::m_RequiredTransformDomainSize
private
template<class TTransform >
SpacingType itk::TimeVaryingBSplineVelocityFieldTransformParametersAdaptor< TTransform >::m_RequiredTransformDomainSpacing
private
template<class TTransform >
SizeValueType itk::TimeVaryingBSplineVelocityFieldTransformParametersAdaptor< TTransform >::m_SplineOrder
private
template<class TTransform >
const unsigned int itk::TimeVaryingBSplineVelocityFieldTransformParametersAdaptor< TTransform >::TotalDimension = TransformType::Dimension + 1
static

Dimension of parameters.

Definition at line 104 of file itkTimeVaryingBSplineVelocityFieldTransformParametersAdaptor.h.


The documentation for this class was generated from the following file: