ITK  4.6.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< ScalarType > Class Template Reference

#include <itkTransformFileWriter.h>

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

Detailed Description

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

TODO.

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

Definition at line 37 of file itkTransformFileWriter.h.

Public Types

typedef
TransformIOBaseTemplate
< ScalarType >
::ConstTransformListType 
ConstTransformListType
 
typedef
TransformIOBaseTemplate
< ScalarType >
::ConstTransformPointer 
ConstTransformPointer
 
typedef SmartPointer< SelfPointer
 
typedef TransformFileWriterTemplate Self
 
typedef LightProcessObject Superclass
 
typedef
TransformIOBaseTemplate
< ScalarType >
::TransformPointer 
TransformPointer
 
typedef TransformBaseTemplate
< ScalarType > 
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 (void) 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 ()
 
- 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 (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 ITK_OVERRIDE
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag)
 
void SetDebug (bool debugFlag) const
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
virtual void SetReferenceCount (int) ITK_OVERRIDE
 
virtual void UnRegister () const ITK_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
 

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

void operator= (const Self &)
 
virtual void PrintSelf (std::ostream &os, Indent indent) const ITK_OVERRIDE
 
 TransformFileWriterTemplate (const Self &)
 
 TransformFileWriterTemplate ()
 
virtual ~TransformFileWriterTemplate ()
 
- 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 ()
 

Private Member Functions

void OpenStream (std::ofstream &out, bool binary)
 
void PushBackTransformList (const Object *transObj)
 

Private Attributes

bool m_AppendMode
 
std::string m_FileName
 
ConstTransformListType m_TransformList
 

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<typename ScalarType >
typedef TransformIOBaseTemplate<ScalarType>::ConstTransformListType itk::TransformFileWriterTemplate< ScalarType >::ConstTransformListType

Definition at line 49 of file itkTransformFileWriter.h.

template<typename ScalarType >
typedef TransformIOBaseTemplate<ScalarType>::ConstTransformPointer itk::TransformFileWriterTemplate< ScalarType >::ConstTransformPointer

Definition at line 48 of file itkTransformFileWriter.h.

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

Definition at line 44 of file itkTransformFileWriter.h.

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

SmartPointer typedef support

Definition at line 42 of file itkTransformFileWriter.h.

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

Definition at line 43 of file itkTransformFileWriter.h.

template<typename ScalarType >
typedef TransformIOBaseTemplate<ScalarType>::TransformPointer itk::TransformFileWriterTemplate< ScalarType >::TransformPointer

Definition at line 47 of file itkTransformFileWriter.h.

template<typename ScalarType >
typedef TransformBaseTemplate<ScalarType> itk::TransformFileWriterTemplate< ScalarType >::TransformType

Definition at line 46 of file itkTransformFileWriter.h.

Constructor & Destructor Documentation

template<typename ScalarType >
itk::TransformFileWriterTemplate< ScalarType >::TransformFileWriterTemplate ( const Self )
protected
template<typename ScalarType >
itk::TransformFileWriterTemplate< ScalarType >::TransformFileWriterTemplate ( )
protected
template<typename ScalarType >
virtual itk::TransformFileWriterTemplate< ScalarType >::~TransformFileWriterTemplate ( )
protectedvirtual

Member Function Documentation

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

Add a transform to be written

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

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

Get the filename

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

Run-time type information (and related methods).

Reimplemented from itk::LightProcessObject.

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

Method for creation through the object factory

template<typename ScalarType >
void itk::TransformFileWriterTemplate< ScalarType >::OpenStream ( std::ofstream &  out,
bool  binary 
)
private
template<typename ScalarType >
void itk::TransformFileWriterTemplate< ScalarType >::operator= ( const Self )
protected
template<typename ScalarType >
virtual void itk::TransformFileWriterTemplate< ScalarType >::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::LightProcessObject.

template<typename ScalarType >
void itk::TransformFileWriterTemplate< ScalarType >::PushBackTransformList ( const Object transObj)
private
template<typename ScalarType >
void itk::TransformFileWriterTemplate< ScalarType >::SetAppendMode ( bool  mode)
template<typename ScalarType >
void itk::TransformFileWriterTemplate< ScalarType >::SetAppendOff ( )

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

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

Set the filename

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

Set/Get the input transform to write

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

Write out the transform

Member Data Documentation

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

Definition at line 98 of file itkTransformFileWriter.h.

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

Definition at line 96 of file itkTransformFileWriter.h.

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

Definition at line 97 of file itkTransformFileWriter.h.


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