ITK  4.10.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | List of all members
itk::MINCTransformIOTemplate< TParametersValueType > Class Template Reference

#include <itkMINCTransformIO.h>

+ Inheritance diagram for itk::MINCTransformIOTemplate< TParametersValueType >:
+ Collaboration diagram for itk::MINCTransformIOTemplate< TParametersValueType >:

Detailed Description

template<typename TParametersValueType>
class itk::MINCTransformIOTemplate< TParametersValueType >

Read and write transforms in Minc XFM Format.

Author
Vladimir S. FONOV Brain Imaging Center, Montreal Neurological Institute, McGill University, Montreal Canada 2012

Definition at line 43 of file itkMINCTransformIO.h.

Public Types

typedef SmartPointer< const SelfConstPointer
 
typedef Superclass::ConstTransformListType ConstTransformListType
 
typedef MatrixOffsetTransformBase< TParametersValueType, 3, 3 > MatrixOffsetTransformBaseType
 
typedef MatrixOffsetTransformBaseType::MatrixType MatrixType
 
typedef MatrixOffsetTransformBaseType::OffsetType OffsetType
 
typedef TransformType::ParametersType ParametersType
 
typedef SmartPointer< SelfPointer
 
typedef MINCTransformIOTemplate Self
 
typedef TransformIOBaseTemplate< TParametersValueType > Superclass
 
typedef Superclass::TransformListType TransformListType
 
typedef Superclass::TransformPointer TransformPointer
 
typedef Superclass::TransformType TransformType
 
- Public Types inherited from itk::TransformIOBaseTemplate< TParametersValueType >
typedef std::list< ConstTransformPointerConstTransformListType
 
typedef TransformType::ConstPointer ConstTransformPointer
 
typedef double FixedParametersValueType
 
typedef TParametersValueType ParametersValueType
 
typedef SmartPointer< SelfPointer
 
typedef TParametersValueType ScalarType
 
typedef TransformIOBaseTemplate Self
 
typedef LightProcessObject Superclass
 
typedef std::list< TransformPointerTransformListType
 
typedef TransformType::Pointer TransformPointer
 
typedef TransformBaseTemplate< ParametersValueTypeTransformType
 
- Public Types inherited from itk::LightProcessObject
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef LightProcessObject Self
 
typedef Object Superclass
 
- 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 bool CanReadFile (const char *fileName) override
 
virtual bool CanWriteFile (const char *fileName) override
 
virtual void Read () override
 
virtual void Write () override
 
- Public Member Functions inherited from itk::TransformIOBaseTemplate< TParametersValueType >
template<>
void CorrectTransformPrecisionType (std::string &inputTransformName)
 
template<>
void CorrectTransformPrecisionType (std::string &inputTransformName)
 
void SetTransformList (ConstTransformListType &transformList)
 
virtual void SetFileName (const char *_arg)
 
virtual const char * GetFileName () const
 
TransformListTypeGetTransformList ()
 
TransformListTypeGetReadTransformList ()
 
ConstTransformListTypeGetWriteTransformList ()
 
virtual void SetAppendMode (bool _arg)
 
virtual bool GetAppendMode () const
 
virtual void AppendModeOn ()
 
virtual void AppendModeOff ()
 
- Public Member Functions inherited from itk::LightProcessObject
virtual void AbortGenerateDataOff ()
 
virtual void AbortGenerateDataOn ()
 
virtual const bool & GetAbortGenerateData () const
 
virtual void SetAbortGenerateData (bool _arg)
 
virtual void UpdateOutputData ()
 
void UpdateProgress (float amount)
 
virtual void SetProgress (float _arg)
 
virtual const float & GetProgress () const
 
- 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 noexcept override
 
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
 

Protected Member Functions

 MINCTransformIOTemplate ()
 
virtual ~MINCTransformIOTemplate ()
 
- Protected Member Functions inherited from itk::TransformIOBaseTemplate< TParametersValueType >
void CreateTransform (TransformPointer &ptr, const std::string &ClassName)
 
template<>
const std::string GetTypeNameString ()
 
template<>
const std::string GetTypeNameString ()
 
void OpenStream (std::ofstream &outputStream, bool binary)
 
virtual void PrintSelf (std::ostream &os, Indent indent) const override
 
 TransformIOBaseTemplate ()
 
virtual ~TransformIOBaseTemplate ()
 
- Protected Member Functions inherited from itk::LightProcessObject
virtual void GenerateData ()
 
 LightProcessObject ()
 
 ~LightProcessObject ()
 
- 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 ()
 

Protected Attributes

VIO_General_transform m_XFM
 
bool m_XFM_initialized
 
- Protected Attributes inherited from itk::TransformIOBaseTemplate< TParametersValueType >
bool m_AppendMode
 
std::string m_FileName
 
TransformListType m_ReadTransformList
 
ConstTransformListType m_WriteTransformList
 
- Protected Attributes inherited from itk::LightObject
AtomicInt< int > m_ReferenceCount
 

Private Member Functions

void _cleanup ()
 
void ReadOneTransform (VIO_General_transform *xfm)
 
void WriteOneTransform (const int transformIndex, const TransformType *transform, std::vector< VIO_General_transform > &_xfm, const char *xfm_file_base, int &serial)
 
virtual const char * GetNameOfClass () const
 
virtual ::itk::LightObject::Pointer CreateAnother () const
 
static Pointer New ()
 

Additional Inherited Members

- Static Public Member Functions inherited from itk::TransformIOBaseTemplate< TParametersValueType >
static void CorrectTransformPrecisionType (std::string &)
 
- Static Public Member Functions inherited from itk::LightProcessObject
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 Protected Member Functions inherited from itk::TransformIOBaseTemplate< TParametersValueType >
static const std::string GetTypeNameString ()
 

Member Typedef Documentation

template<typename TParametersValueType >
typedef SmartPointer<const Self> itk::MINCTransformIOTemplate< TParametersValueType >::ConstPointer

Definition at line 49 of file itkMINCTransformIO.h.

template<typename TParametersValueType >
typedef Superclass::ConstTransformListType itk::MINCTransformIOTemplate< TParametersValueType >::ConstTransformListType

Definition at line 54 of file itkMINCTransformIO.h.

template<typename TParametersValueType >
typedef MatrixOffsetTransformBase<TParametersValueType, 3, 3> itk::MINCTransformIOTemplate< TParametersValueType >::MatrixOffsetTransformBaseType

Definition at line 57 of file itkMINCTransformIO.h.

template<typename TParametersValueType >
typedef MatrixOffsetTransformBaseType::MatrixType itk::MINCTransformIOTemplate< TParametersValueType >::MatrixType

Definition at line 59 of file itkMINCTransformIO.h.

template<typename TParametersValueType >
typedef MatrixOffsetTransformBaseType::OffsetType itk::MINCTransformIOTemplate< TParametersValueType >::OffsetType

Definition at line 60 of file itkMINCTransformIO.h.

template<typename TParametersValueType >
typedef TransformType::ParametersType itk::MINCTransformIOTemplate< TParametersValueType >::ParametersType

Definition at line 55 of file itkMINCTransformIO.h.

template<typename TParametersValueType >
typedef SmartPointer<Self> itk::MINCTransformIOTemplate< TParametersValueType >::Pointer

Definition at line 48 of file itkMINCTransformIO.h.

template<typename TParametersValueType >
typedef MINCTransformIOTemplate itk::MINCTransformIOTemplate< TParametersValueType >::Self

Definition at line 46 of file itkMINCTransformIO.h.

template<typename TParametersValueType >
typedef TransformIOBaseTemplate< TParametersValueType > itk::MINCTransformIOTemplate< TParametersValueType >::Superclass

Definition at line 47 of file itkMINCTransformIO.h.

template<typename TParametersValueType >
typedef Superclass::TransformListType itk::MINCTransformIOTemplate< TParametersValueType >::TransformListType

Definition at line 53 of file itkMINCTransformIO.h.

template<typename TParametersValueType >
typedef Superclass::TransformPointer itk::MINCTransformIOTemplate< TParametersValueType >::TransformPointer

Definition at line 52 of file itkMINCTransformIO.h.

template<typename TParametersValueType >
typedef Superclass::TransformType itk::MINCTransformIOTemplate< TParametersValueType >::TransformType

Definition at line 51 of file itkMINCTransformIO.h.

Constructor & Destructor Documentation

template<typename TParametersValueType >
itk::MINCTransformIOTemplate< TParametersValueType >::MINCTransformIOTemplate ( )
protected
template<typename TParametersValueType >
virtual itk::MINCTransformIOTemplate< TParametersValueType >::~MINCTransformIOTemplate ( )
protectedvirtual

Member Function Documentation

template<typename TParametersValueType >
void itk::MINCTransformIOTemplate< TParametersValueType >::_cleanup ( )
private
template<typename TParametersValueType >
virtual bool itk::MINCTransformIOTemplate< TParametersValueType >::CanReadFile ( const char *  fileName)
overridevirtual

Determine the file type. Returns true if this ImageIO can read the file specified.

Implements itk::TransformIOBaseTemplate< TParametersValueType >.

template<typename TParametersValueType >
virtual bool itk::MINCTransformIOTemplate< TParametersValueType >::CanWriteFile ( const char *  fileName)
overridevirtual

Determine the file type. Returns true if this ImageIO can write the file specified.

Implements itk::TransformIOBaseTemplate< TParametersValueType >.

template<typename TParametersValueType >
virtual::itk::LightObject::Pointer itk::MINCTransformIOTemplate< TParametersValueType >::CreateAnother ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::LightProcessObject.

template<typename TParametersValueType >
virtual const char* itk::MINCTransformIOTemplate< TParametersValueType >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::TransformIOBaseTemplate< TParametersValueType >.

template<typename TParametersValueType >
static Pointer itk::MINCTransformIOTemplate< TParametersValueType >::New ( )
static

Run-time type information (and related methods).

template<typename TParametersValueType >
virtual void itk::MINCTransformIOTemplate< TParametersValueType >::Read ( )
overridevirtual

Reads the data from disk into the memory buffer provided.

Implements itk::TransformIOBaseTemplate< TParametersValueType >.

template<typename TParametersValueType >
void itk::MINCTransformIOTemplate< TParametersValueType >::ReadOneTransform ( VIO_General_transform *  xfm)
private
template<typename TParametersValueType >
virtual void itk::MINCTransformIOTemplate< TParametersValueType >::Write ( )
overridevirtual

Writes the transform list to disk.

Implements itk::TransformIOBaseTemplate< TParametersValueType >.

template<typename TParametersValueType >
void itk::MINCTransformIOTemplate< TParametersValueType >::WriteOneTransform ( const int  transformIndex,
const TransformType transform,
std::vector< VIO_General_transform > &  _xfm,
const char *  xfm_file_base,
int &  serial 
)
private

Member Data Documentation

template<typename TParametersValueType >
VIO_General_transform itk::MINCTransformIOTemplate< TParametersValueType >::m_XFM
protected

Definition at line 84 of file itkMINCTransformIO.h.

template<typename TParametersValueType >
bool itk::MINCTransformIOTemplate< TParametersValueType >::m_XFM_initialized
protected

Definition at line 85 of file itkMINCTransformIO.h.


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