ITK  4.4.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::BSplineTransformInitializer< TTransform, TImage > Class Template Reference

#include <itkBSplineTransformInitializer.h>

+ Inheritance diagram for itk::BSplineTransformInitializer< TTransform, TImage >:
+ Collaboration diagram for itk::BSplineTransformInitializer< TTransform, TImage >:

Detailed Description

template<class TTransform, class TImage>
class itk::BSplineTransformInitializer< TTransform, TImage >

BSplineTransformInitializer is a helper class intended to initialize the control point grid such that it has a physically consistent definition. It sets the transform domain origin, physical dimensions and direction from information obtained from the image. It also sets the mesh size if asked to do so by calling SetTransformDomainMeshSize() before calling InitializeTransform().

Author
Luis Ibanez
Nick Tustison

Definition at line 41 of file itkBSplineTransformInitializer.h.

Public Types

typedef SmartPointer< const SelfConstPointer
 
typedef
TransformType::DirectionType 
DirectionType
 
typedef
ImagePointType::CoordRepType 
ImagePointCoordRepType
 
typedef ImageType::ConstPointer ImagePointer
 
typedef ImageType::PointType ImagePointType
 
typedef TImage ImageType
 
typedef ImageType::IndexType IndexType
 
typedef TransformType::MeshSizeType MeshSizeType
 
typedef TransformType::OriginType OriginType
 
typedef
TransformType::PhysicalDimensionsType 
PhysicalDimensionsType
 
typedef SmartPointer< SelfPointer
 
typedef TransformType::RegionType RegionType
 
typedef BSplineTransformInitializer Self
 
typedef RegionType::SizeType SizeType
 
typedef SpacingType::ComponentType SpacingComponentType
 
typedef TransformType::SpacingType SpacingType
 
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 ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual const char * GetNameOfClass () const
 
virtual void InitializeTransform () const
 
virtual void SetImage (const ImageType *_arg)
 
virtual void SetTransform (TransformType *_arg)
 
void SetTransformDomainMeshSize (const MeshSizeType)
 
- 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 (void)
 
const MetaDataDictionaryGetMetaDataDictionary (void) 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
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag)
 
void SetDebug (bool debugFlag) const
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
virtual void SetReferenceCount (int)
 
virtual void UnRegister () 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::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 SpaceDimension = TransformType::SpaceDimension
 

Protected Member Functions

 BSplineTransformInitializer ()
 
void PrintSelf (std::ostream &os, Indent indent) const
 
 ~BSplineTransformInitializer ()
 
- 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

 BSplineTransformInitializer (const Self &)
 
void operator= (const Self &)
 

Private Attributes

ImagePointer m_Image
 
bool m_SetTransformDomainMeshSizeViaInitializer
 
TransformPointer m_Transform
 
MeshSizeType m_TransformDomainMeshSize
 

Additional Inherited Members

- Protected Types inherited from itk::LightObject
typedef int InternalReferenceCountType
 
- Protected Attributes inherited from itk::LightObject
InternalReferenceCountType m_ReferenceCount
 
SimpleFastMutexLock m_ReferenceCountLock
 

Member Typedef Documentation

template<class TTransform , class TImage >
typedef SmartPointer<const Self> itk::BSplineTransformInitializer< TTransform, TImage >::ConstPointer

Definition at line 50 of file itkBSplineTransformInitializer.h.

template<class TTransform , class TImage >
typedef TransformType::DirectionType itk::BSplineTransformInitializer< TTransform, TImage >::DirectionType

Definition at line 74 of file itkBSplineTransformInitializer.h.

template<class TTransform , class TImage >
typedef ImagePointType::CoordRepType itk::BSplineTransformInitializer< TTransform, TImage >::ImagePointCoordRepType

Definition at line 66 of file itkBSplineTransformInitializer.h.

template<class TTransform , class TImage >
typedef ImageType::ConstPointer itk::BSplineTransformInitializer< TTransform, TImage >::ImagePointer

Definition at line 63 of file itkBSplineTransformInitializer.h.

template<class TTransform , class TImage >
typedef ImageType::PointType itk::BSplineTransformInitializer< TTransform, TImage >::ImagePointType

Definition at line 65 of file itkBSplineTransformInitializer.h.

template<class TTransform , class TImage >
typedef TImage itk::BSplineTransformInitializer< TTransform, TImage >::ImageType

Types defined from the input image traits

Definition at line 62 of file itkBSplineTransformInitializer.h.

template<class TTransform , class TImage >
typedef ImageType::IndexType itk::BSplineTransformInitializer< TTransform, TImage >::IndexType

Definition at line 64 of file itkBSplineTransformInitializer.h.

template<class TTransform , class TImage >
typedef TransformType::MeshSizeType itk::BSplineTransformInitializer< TTransform, TImage >::MeshSizeType

Definition at line 76 of file itkBSplineTransformInitializer.h.

template<class TTransform , class TImage >
typedef TransformType::OriginType itk::BSplineTransformInitializer< TTransform, TImage >::OriginType

Definition at line 73 of file itkBSplineTransformInitializer.h.

template<class TTransform , class TImage >
typedef TransformType::PhysicalDimensionsType itk::BSplineTransformInitializer< TTransform, TImage >::PhysicalDimensionsType

Definition at line 75 of file itkBSplineTransformInitializer.h.

template<class TTransform , class TImage >
typedef SmartPointer<Self> itk::BSplineTransformInitializer< TTransform, TImage >::Pointer

Definition at line 49 of file itkBSplineTransformInitializer.h.

template<class TTransform , class TImage >
typedef TransformType::RegionType itk::BSplineTransformInitializer< TTransform, TImage >::RegionType

Definition at line 70 of file itkBSplineTransformInitializer.h.

template<class TTransform , class TImage >
typedef BSplineTransformInitializer itk::BSplineTransformInitializer< TTransform, TImage >::Self

Standard class typedefs.

Definition at line 47 of file itkBSplineTransformInitializer.h.

template<class TTransform , class TImage >
typedef RegionType::SizeType itk::BSplineTransformInitializer< TTransform, TImage >::SizeType

Definition at line 71 of file itkBSplineTransformInitializer.h.

template<class TTransform , class TImage >
typedef SpacingType::ComponentType itk::BSplineTransformInitializer< TTransform, TImage >::SpacingComponentType

Definition at line 77 of file itkBSplineTransformInitializer.h.

template<class TTransform , class TImage >
typedef TransformType::SpacingType itk::BSplineTransformInitializer< TTransform, TImage >::SpacingType

Definition at line 72 of file itkBSplineTransformInitializer.h.

template<class TTransform , class TImage >
typedef Object itk::BSplineTransformInitializer< TTransform, TImage >::Superclass

Definition at line 48 of file itkBSplineTransformInitializer.h.

template<class TTransform , class TImage >
typedef TransformType::Pointer itk::BSplineTransformInitializer< TTransform, TImage >::TransformPointer

Types defined from transform traits

Definition at line 69 of file itkBSplineTransformInitializer.h.

template<class TTransform , class TImage >
typedef TTransform itk::BSplineTransformInitializer< TTransform, TImage >::TransformType

Type of the transform to initialize

Definition at line 56 of file itkBSplineTransformInitializer.h.

Constructor & Destructor Documentation

template<class TTransform , class TImage >
itk::BSplineTransformInitializer< TTransform, TImage >::BSplineTransformInitializer ( )
protected
template<class TTransform , class TImage >
itk::BSplineTransformInitializer< TTransform, TImage >::~BSplineTransformInitializer ( )
protected
template<class TTransform , class TImage >
itk::BSplineTransformInitializer< TTransform, TImage >::BSplineTransformInitializer ( const Self )
private

Member Function Documentation

template<class TTransform , class TImage >
virtual::itk::LightObject::Pointer itk::BSplineTransformInitializer< TTransform, TImage >::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 , class TImage >
virtual const char* itk::BSplineTransformInitializer< TTransform, TImage >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::Object.

template<class TTransform , class TImage >
virtual void itk::BSplineTransformInitializer< TTransform, TImage >::InitializeTransform ( ) const
virtual

Initialize the transform using the specified transformation domain

template<class TTransform , class TImage >
static Pointer itk::BSplineTransformInitializer< TTransform, TImage >::New ( )
static

New macro for creation of through a Smart Pointer.

template<class TTransform , class TImage >
void itk::BSplineTransformInitializer< TTransform, TImage >::operator= ( const Self )
private
template<class TTransform , class TImage >
void itk::BSplineTransformInitializer< TTransform, TImage >::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 , class TImage >
virtual void itk::BSplineTransformInitializer< TTransform, TImage >::SetImage ( const ImageType _arg)
virtual

Set the image to initialize the domain

template<class TTransform , class TImage >
virtual void itk::BSplineTransformInitializer< TTransform, TImage >::SetTransform ( TransformType _arg)
virtual

Set the transform to be initialized

template<class TTransform , class TImage >
void itk::BSplineTransformInitializer< TTransform, TImage >::SetTransformDomainMeshSize ( const MeshSizeType  )

Allow the user to set the mesh size of the transform via the initializer even though the initializer does not do anything with that information. Defeault = 1^ImageDimension.

Member Data Documentation

template<class TTransform , class TImage >
ImagePointer itk::BSplineTransformInitializer< TTransform, TImage >::m_Image
private

Definition at line 111 of file itkBSplineTransformInitializer.h.

template<class TTransform , class TImage >
bool itk::BSplineTransformInitializer< TTransform, TImage >::m_SetTransformDomainMeshSizeViaInitializer
private

Definition at line 115 of file itkBSplineTransformInitializer.h.

template<class TTransform , class TImage >
TransformPointer itk::BSplineTransformInitializer< TTransform, TImage >::m_Transform
private

Definition at line 112 of file itkBSplineTransformInitializer.h.

template<class TTransform , class TImage >
MeshSizeType itk::BSplineTransformInitializer< TTransform, TImage >::m_TransformDomainMeshSize
private

Definition at line 114 of file itkBSplineTransformInitializer.h.

template<class TTransform , class TImage >
const unsigned int itk::BSplineTransformInitializer< TTransform, TImage >::SpaceDimension = TransformType::SpaceDimension
static

Dimension of parameters.

Definition at line 81 of file itkBSplineTransformInitializer.h.


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