ITK  4.9.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<typename 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
TransformType::FixedParametersType 
FixedParametersType
 
typedef
TransformType::FixedParametersValueType 
FixedParametersValueType
 
typedef
TimeVaryingVelocityFieldControlPointLatticeType::IndexType 
IndexType
 
typedef
TimeVaryingVelocityFieldControlPointLatticeType::SizeType 
MeshSizeType
 
typedef
TimeVaryingVelocityFieldControlPointLatticeType::PointType 
OriginType
 
typedef
TransformType::ParametersType 
ParametersType
 
typedef
TransformType::ParametersValueType 
ParametersValueType
 
typedef SmartPointer< SelfPointer
 
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::FixedParametersType 
FixedParametersType
 
typedef
Superclass::FixedParametersValueType 
FixedParametersValueType
 
typedef Superclass::ParametersType ParametersType
 
typedef
Superclass::ParametersValueType 
ParametersValueType
 
typedef SmartPointer< SelfPointer
 
typedef TransformParametersAdaptor Self
 
typedef
TransformParametersAdaptorBase
< Transform< typename
TTransform::ScalarType,
TTransform::InputSpaceDimension,
TTransform::OutputSpaceDimension > > 
Superclass
 
typedef
Superclass::TransformBaseType 
TransformBaseType
 
typedef TransformType::Pointer TransformPointer
 
typedef TTransform TransformType
 
- Public Types inherited from itk::TransformParametersAdaptorBase< Transform< TTransform::ScalarType, TTransform::InputSpaceDimension, TTransform::OutputSpaceDimension > >
typedef SmartPointer< const SelfConstPointer
 
typedef
TransformBaseType::FixedParametersType 
FixedParametersType
 
typedef
TransformBaseType::FixedParametersValueType 
FixedParametersValueType
 
typedef
TransformBaseType::ParametersType 
ParametersType
 
typedef ParametersType::ValueType ParametersValueType
 
typedef SmartPointer< SelfPointer
 
typedef
TransformParametersAdaptorBase 
Self
 
typedef Object Superclass
 
typedef TransformBaseType::Pointer TransformBasePointer
 
typedef Transform
< TTransform::ScalarType,
TTransform::InputSpaceDimension,
TTransform::OutputSpaceDimension > 
TransformBaseType
 
- 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 () override
 
virtual ::itk::LightObject::Pointer CreateAnother () const
 
virtual const char * GetNameOfClass () const
 
const DirectionType GetRequiredControlPointLatticeDirection () const
 
virtual const DirectionTypeGetRequiredTransformDomainDirection () const
 
virtual const MeshSizeTypeGetRequiredTransformDomainMeshSize () const
 
virtual const OriginTypeGetRequiredTransformDomainOrigin () const
 
virtual const SizeTypeGetRequiredTransformDomainSize () const
 
virtual const SpacingTypeGetRequiredTransformDomainSpacing () const
 
virtual SizeValueType GetSplineOrder () const
 
virtual void SetRequiredFixedParameters (const FixedParametersType) override
 
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 () const
 
virtual const FixedParametersTypeGetRequiredFixedParameters () const override
 
virtual void SetTransform (TransformType *_arg)
 
virtual void SetTransform (TransformBaseType *_arg, void *) override
 
virtual void SetRequiredFixedParameters (const FixedParametersType fixedParameters) override
 
- Public Member Functions inherited from itk::TransformParametersAdaptorBase< Transform< TTransform::ScalarType, TTransform::InputSpaceDimension, TTransform::OutputSpaceDimension > >
virtual void SetRequiredFixedParameters (FixedParametersType _arg)
 
virtual void SetTransform (TransformBaseType *_arg, void *priorityLower=nullptr)=0
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *)
 
unsigned long AddObserver (const EventObject &event, Command *) const
 
virtual void DebugOff () const
 
virtual void DebugOn () const
 
CommandGetCommand (unsigned long tag)
 
bool GetDebug () const
 
MetaDataDictionaryGetMetaDataDictionary ()
 
const MetaDataDictionaryGetMetaDataDictionary () const
 
virtual ModifiedTimeType GetMTime () const
 
virtual const TimeStampGetTimeStamp () const
 
bool HasObserver (const EventObject &event) const
 
void InvokeEvent (const EventObject &)
 
void InvokeEvent (const EventObject &) const
 
virtual void Modified () const
 
virtual void Register () const override
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag)
 
void SetDebug (bool debugFlag) const
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
virtual void SetReferenceCount (int) override
 
virtual void UnRegister () const noexceptoverride
 
virtual void SetObjectName (std::string _arg)
 
virtual const std::string & GetObjectName () const
 
- Public Member Functions inherited from itk::LightObject
virtual void Delete ()
 
virtual int GetReferenceCount () const
 
 itkCloneMacro (Self)
 
void Print (std::ostream &os, Indent indent=0) const
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from itk::TransformParametersAdaptor< TTransform >
static Pointer New ()
 
- Static Public Member Functions inherited from itk::Object
static bool GetGlobalWarningDisplay ()
 
static void GlobalWarningDisplayOff ()
 
static void GlobalWarningDisplayOn ()
 
static Pointer New ()
 
static void SetGlobalWarningDisplay (bool flag)
 
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
 
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 override
 
 TimeVaryingBSplineVelocityFieldTransformParametersAdaptor ()
 
 ~TimeVaryingBSplineVelocityFieldTransformParametersAdaptor ()
 
- Protected Member Functions inherited from itk::TransformParametersAdaptor< TTransform >
void PrintSelf (std::ostream &os, Indent indent) const override
 
 TransformParametersAdaptor ()
 
 ~TransformParametersAdaptor ()
 
- Protected Member Functions inherited from itk::TransformParametersAdaptorBase< Transform< TTransform::ScalarType, TTransform::InputSpaceDimension, TTransform::OutputSpaceDimension > >
 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 &) ITK_DELETE_FUNCTION
 
 TimeVaryingBSplineVelocityFieldTransformParametersAdaptor (const Self &) ITK_DELETE_FUNCTION
 
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 Attributes inherited from itk::TransformParametersAdaptor< TTransform >
TransformPointer m_Transform
 
- Protected Attributes inherited from itk::TransformParametersAdaptorBase< Transform< TTransform::ScalarType, TTransform::InputSpaceDimension, TTransform::OutputSpaceDimension > >
FixedParametersType m_RequiredFixedParameters
 
- Protected Attributes inherited from itk::LightObject
AtomicInt< int > m_ReferenceCount
 

Member Typedef Documentation

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

Standard class typedefs.

Definition at line 72 of file itkTimeVaryingBSplineVelocityFieldTransformParametersAdaptor.h.

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

Typedefs associated with the transform

Definition at line 81 of file itkTimeVaryingBSplineVelocityFieldTransformParametersAdaptor.h.

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

Constructor & Destructor Documentation

Member Function Documentation

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

Initialize the transform using the specified fixed parameters

Reimplemented from itk::TransformParametersAdaptor< TTransform >.

template<typename TTransform >
virtual::itk::LightObject::Pointer itk::TimeVaryingBSplineVelocityFieldTransformParametersAdaptor< TTransform >::CreateAnother ( ) 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<typename TTransform >
virtual const char* itk::TimeVaryingBSplineVelocityFieldTransformParametersAdaptor< TTransform >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::TransformParametersAdaptor< TTransform >.

template<typename TTransform >
const DirectionType itk::TimeVaryingBSplineVelocityFieldTransformParametersAdaptor< TTransform >::GetRequiredControlPointLatticeDirection ( ) const
inline
template<typename TTransform >
const OriginType itk::TimeVaryingBSplineVelocityFieldTransformParametersAdaptor< TTransform >::GetRequiredControlPointLatticeOrigin ( ) const
inline
template<typename TTransform >
const SizeType itk::TimeVaryingBSplineVelocityFieldTransformParametersAdaptor< TTransform >::GetRequiredControlPointLatticeSize ( ) const
inline
template<typename TTransform >
const SpacingType itk::TimeVaryingBSplineVelocityFieldTransformParametersAdaptor< TTransform >::GetRequiredControlPointLatticeSpacing ( ) const
inline
template<typename TTransform >
virtual const DirectionType& itk::TimeVaryingBSplineVelocityFieldTransformParametersAdaptor< TTransform >::GetRequiredTransformDomainDirection ( ) const
virtual

Get the required direction.

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

Get the required mesh size.

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

Get the required origin.

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

Get the required domain size.

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

Get the required domain spacing.

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

Get spline order (usually from transform)

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

New macro for creation of through a Smart Pointer.

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

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::TransformParametersAdaptorBase< Transform< TTransform::ScalarType, TTransform::InputSpaceDimension, TTransform::OutputSpaceDimension > >.

template<typename TTransform >
virtual void itk::TimeVaryingBSplineVelocityFieldTransformParametersAdaptor< TTransform >::SetRequiredFixedParameters ( const FixedParametersType  )
overridevirtual
template<typename TTransform >
void itk::TimeVaryingBSplineVelocityFieldTransformParametersAdaptor< TTransform >::SetRequiredTransformDomainDirection ( const DirectionType )

Alternative method for setting the required direction.

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

Alternative method for setting the required mesh size.

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

Alternative method for setting the required origin.

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

Alternative method for setting the required sampled size.

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

Alternative method for setting the required sampled spacing.

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

Set spline order (usually from transform)

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

Helper function to set m_RequiredFixedParameters

Member Data Documentation

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

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