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

#include <itkTransformFileWriter.h>

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

Detailed Description

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

TODO.

Wiki Examples:
Examples:
Examples/IO/TransformReadWrite.cxx, Examples/RegistrationITKv3/BSplineWarping1.cxx, Examples/RegistrationITKv3/BSplineWarping2.cxx, Examples/RegistrationITKv4/BSplineWarping1.cxx, Examples/RegistrationITKv4/BSplineWarping2.cxx, and Examples/RegistrationITKv4/DeformableRegistration15.cxx.

Definition at line 39 of file itkTransformFileWriter.h.

Public Types

typedef SmartPointer< const SelfConstPointer
 
typedef
TransformIOType::ConstTransformListType 
ConstTransformListType
 
typedef
TransformIOType::ConstTransformPointer 
ConstTransformPointer
 
typedef double FixedParametersValueType
 
typedef TParametersValueType ParametersValueType
 
typedef SmartPointer< SelfPointer
 
typedef TransformFileWriterTemplate Self
 
typedef LightProcessObject Superclass
 
typedef
TransformIOBaseTemplate
< ParametersValueType
TransformIOType
 
typedef
TransformIOType::TransformPointer 
TransformPointer
 
typedef TransformBaseTemplate
< ParametersValueType
TransformType
 
- 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

void AddTransform (const Object *transform)
 
virtual ::itk::LightObject::Pointer CreateAnother () const
 
bool GetAppendMode ()
 
virtual const char * GetFileName () const
 
const TransformTypeGetInput ()
 
virtual const char * GetNameOfClass () const
 
void SetAppendMode (bool mode)
 
void SetAppendOff ()
 
void SetAppendOn ()
 
virtual void SetFileName (const char *_arg)
 
void SetInput (const Object *transform)
 
void Update ()
 
virtual void SetTransformIO (TransformIOType *_arg)
 
virtual const TransformIOTypeGetTransformIO () const
 
- 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 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::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 ()
 

Protected Member Functions

virtual void PrintSelf (std::ostream &os, Indent indent) const override
 
 TransformFileWriterTemplate ()
 
virtual ~TransformFileWriterTemplate () override
 
- Protected Member Functions inherited from itk::LightProcessObject
virtual void GenerateData ()
 
 LightProcessObject ()
 
 ~LightProcessObject () override
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void SetTimeStamp (const TimeStamp &time)
 
virtual ~Object () override
 
- 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 PushBackTransformList (const Object *transObj)
 
template<>
void
ITKIOTransformBase_TEMPLATE_EXPORT 
PushBackTransformList (const Object *transObj)
 
template<>
void
ITKIOTransformBase_TEMPLATE_EXPORT 
PushBackTransformList (const Object *transObj)
 

Private Attributes

bool m_AppendMode
 
std::string m_FileName
 
TransformIOType::Pointer m_TransformIO
 
ConstTransformListType m_TransformList
 

Additional Inherited Members

- Protected Attributes inherited from itk::LightObject
AtomicInt< int > m_ReferenceCount
 

Member Typedef Documentation

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

Definition at line 47 of file itkTransformFileWriter.h.

template<typename TParametersValueType>
typedef TransformIOType::ConstTransformListType itk::TransformFileWriterTemplate< TParametersValueType >::ConstTransformListType

Definition at line 55 of file itkTransformFileWriter.h.

template<typename TParametersValueType>
typedef TransformIOType::ConstTransformPointer itk::TransformFileWriterTemplate< TParametersValueType >::ConstTransformPointer

Definition at line 54 of file itkTransformFileWriter.h.

template<typename TParametersValueType>
typedef double itk::TransformFileWriterTemplate< TParametersValueType >::FixedParametersValueType

Definition at line 50 of file itkTransformFileWriter.h.

template<typename TParametersValueType>
typedef TParametersValueType itk::TransformFileWriterTemplate< TParametersValueType >::ParametersValueType

Definition at line 49 of file itkTransformFileWriter.h.

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

Definition at line 46 of file itkTransformFileWriter.h.

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

SmartPointer typedef support

Definition at line 44 of file itkTransformFileWriter.h.

template<typename TParametersValueType>
typedef LightProcessObject itk::TransformFileWriterTemplate< TParametersValueType >::Superclass

Definition at line 45 of file itkTransformFileWriter.h.

template<typename TParametersValueType>
typedef TransformIOBaseTemplate<ParametersValueType> itk::TransformFileWriterTemplate< TParametersValueType >::TransformIOType

Definition at line 52 of file itkTransformFileWriter.h.

template<typename TParametersValueType>
typedef TransformIOType::TransformPointer itk::TransformFileWriterTemplate< TParametersValueType >::TransformPointer

Definition at line 53 of file itkTransformFileWriter.h.

template<typename TParametersValueType>
typedef TransformBaseTemplate<ParametersValueType> itk::TransformFileWriterTemplate< TParametersValueType >::TransformType

Definition at line 51 of file itkTransformFileWriter.h.

Constructor & Destructor Documentation

template<typename TParametersValueType>
itk::TransformFileWriterTemplate< TParametersValueType >::TransformFileWriterTemplate ( )
protected
template<typename TParametersValueType>
virtual itk::TransformFileWriterTemplate< TParametersValueType >::~TransformFileWriterTemplate ( )
overrideprotectedvirtual

Member Function Documentation

template<typename TParametersValueType>
void itk::TransformFileWriterTemplate< TParametersValueType >::AddTransform ( const Object transform)

Add a transform to be written

template<typename TParametersValueType>
virtual::itk::LightObject::Pointer itk::TransformFileWriterTemplate< TParametersValueType >::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::LightProcessObject.

template<typename TParametersValueType>
bool itk::TransformFileWriterTemplate< TParametersValueType >::GetAppendMode ( )
template<typename TParametersValueType>
virtual const char* itk::TransformFileWriterTemplate< TParametersValueType >::GetFileName ( ) const
virtual

Get the filename

template<typename TParametersValueType>
const TransformType* itk::TransformFileWriterTemplate< TParametersValueType >::GetInput ( )
template<typename TParametersValueType>
virtual const char* itk::TransformFileWriterTemplate< TParametersValueType >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::LightProcessObject.

template<typename TParametersValueType>
virtual const TransformIOType* itk::TransformFileWriterTemplate< TParametersValueType >::GetTransformIO ( ) const
virtual

Set/Get the TransformIO class used internally to read to transform.

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

Method for creation through the object factory

Examples:
WikiExamples/IO/TransformFileWriter.cxx.
template<typename TParametersValueType>
virtual void itk::TransformFileWriterTemplate< TParametersValueType >::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::LightProcessObject.

template<typename TParametersValueType>
void itk::TransformFileWriterTemplate< TParametersValueType >::PushBackTransformList ( const Object transObj)
private
template<>
void ITKIOTransformBase_TEMPLATE_EXPORT itk::TransformFileWriterTemplate< double >::PushBackTransformList ( const Object transObj)
private

Declare specializations

template<>
void ITKIOTransformBase_TEMPLATE_EXPORT itk::TransformFileWriterTemplate< float >::PushBackTransformList ( const Object transObj)
private

Declare specializations

template<typename TParametersValueType>
void itk::TransformFileWriterTemplate< TParametersValueType >::SetAppendMode ( bool  mode)
template<typename TParametersValueType>
void itk::TransformFileWriterTemplate< TParametersValueType >::SetAppendOff ( )

Set/Get the write mode (append/overwrite) for the Filter

template<typename TParametersValueType>
void itk::TransformFileWriterTemplate< TParametersValueType >::SetAppendOn ( )
template<typename TParametersValueType>
virtual void itk::TransformFileWriterTemplate< TParametersValueType >::SetFileName ( const char *  _arg)
virtual

Set the filename

template<typename TParametersValueType>
void itk::TransformFileWriterTemplate< TParametersValueType >::SetInput ( const Object transform)

Set/Get the input transform to write

template<typename TParametersValueType>
virtual void itk::TransformFileWriterTemplate< TParametersValueType >::SetTransformIO ( TransformIOType _arg)
virtual

Set/Get the TransformIO class used internally to read to transform.

template<typename TParametersValueType>
void itk::TransformFileWriterTemplate< TParametersValueType >::Update ( )

Write out the transform

Member Data Documentation

template<typename TParametersValueType>
bool itk::TransformFileWriterTemplate< TParametersValueType >::m_AppendMode
private

Definition at line 105 of file itkTransformFileWriter.h.

template<typename TParametersValueType>
std::string itk::TransformFileWriterTemplate< TParametersValueType >::m_FileName
private

Definition at line 103 of file itkTransformFileWriter.h.

template<typename TParametersValueType>
TransformIOType::Pointer itk::TransformFileWriterTemplate< TParametersValueType >::m_TransformIO
private

Definition at line 106 of file itkTransformFileWriter.h.

template<typename TParametersValueType>
ConstTransformListType itk::TransformFileWriterTemplate< TParametersValueType >::m_TransformList
private

Definition at line 104 of file itkTransformFileWriter.h.


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