ITK  4.6.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Protected Member Functions | Private Member Functions | List of all members
itk::TxtTransformIOTemplate< ParametersValueType > Class Template Reference

#include <itkTxtTransformIO.h>

+ Inheritance diagram for itk::TxtTransformIOTemplate< ParametersValueType >:
+ Collaboration diagram for itk::TxtTransformIOTemplate< ParametersValueType >:

Detailed Description

template<typename ParametersValueType>
class itk::TxtTransformIOTemplate< ParametersValueType >

Create instances of TxtTransformIOTemplate objects.

Definition at line 29 of file itkTxtTransformIO.h.

Public Types

typedef
TransformIOBaseTemplate
< ParametersValueType >
::ConstTransformListType 
ConstTransformListType
 
typedef SmartPointer< SelfPointer
 
typedef TxtTransformIOTemplate Self
 
typedef
TransformIOBaseTemplate
< ParametersValueType > 
Superclass
 
typedef
Superclass::TransformListType 
TransformListType
 
typedef
Superclass::TransformPointer 
TransformPointer
 
typedef Superclass::TransformType TransformType
 
- Public Types inherited from itk::TransformIOBaseTemplate< ParametersValueType >
typedef std::list
< ConstTransformPointer
ConstTransformListType
 
typedef TransformType::ConstPointer ConstTransformPointer
 
typedef SmartPointer< SelfPointer
 
typedef ParametersValueType ScalarType
 
typedef TransformIOBaseTemplate Self
 
typedef LightProcessObject Superclass
 
typedef std::list
< TransformPointer
TransformListType
 
typedef TransformType::Pointer 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

virtual bool CanReadFile (const char *)
 
virtual bool CanWriteFile (const char *)
 
virtual void Read ()
 
void ReadComponentFile (std::string Value)
 
virtual void Write ()
 
- Public Member Functions inherited from itk::TransformIOBaseTemplate< ParametersValueType >
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 (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
 

Protected Member Functions

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

Private Member Functions

std::string trim (std::string const &source, char const *delims=" \t\r\n")
 
virtual const char * GetNameOfClass () const
 
virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
static Pointer New ()
 

Additional Inherited Members

- Static Public Member Functions inherited from itk::TransformIOBaseTemplate< ParametersValueType >
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 ()
 
- Protected Types inherited from itk::LightObject
typedef int InternalReferenceCountType
 
- Static Protected Member Functions inherited from itk::TransformIOBaseTemplate< ParametersValueType >
static const std::string GetTypeNameString ()
 
- Protected Attributes inherited from itk::TransformIOBaseTemplate< ParametersValueType >
bool m_AppendMode
 
std::string m_FileName
 
TransformListType m_ReadTransformList
 
ConstTransformListType m_WriteTransformList
 
- Protected Attributes inherited from itk::LightObject
InternalReferenceCountType m_ReferenceCount
 
SimpleFastMutexLock m_ReferenceCountLock
 

Member Typedef Documentation

template<typename ParametersValueType >
typedef TransformIOBaseTemplate<ParametersValueType>::ConstTransformListType itk::TxtTransformIOTemplate< ParametersValueType >::ConstTransformListType

Definition at line 40 of file itkTxtTransformIO.h.

template<typename ParametersValueType >
typedef SmartPointer< Self > itk::TxtTransformIOTemplate< ParametersValueType >::Pointer

Definition at line 34 of file itkTxtTransformIO.h.

template<typename ParametersValueType >
typedef TxtTransformIOTemplate itk::TxtTransformIOTemplate< ParametersValueType >::Self

Definition at line 32 of file itkTxtTransformIO.h.

template<typename ParametersValueType >
typedef TransformIOBaseTemplate<ParametersValueType> itk::TxtTransformIOTemplate< ParametersValueType >::Superclass

Definition at line 33 of file itkTxtTransformIO.h.

template<typename ParametersValueType >
typedef Superclass::TransformListType itk::TxtTransformIOTemplate< ParametersValueType >::TransformListType

Definition at line 37 of file itkTxtTransformIO.h.

template<typename ParametersValueType >
typedef Superclass::TransformPointer itk::TxtTransformIOTemplate< ParametersValueType >::TransformPointer

Definition at line 36 of file itkTxtTransformIO.h.

template<typename ParametersValueType >
typedef Superclass::TransformType itk::TxtTransformIOTemplate< ParametersValueType >::TransformType

Definition at line 35 of file itkTxtTransformIO.h.

Constructor & Destructor Documentation

template<typename ParametersValueType >
itk::TxtTransformIOTemplate< ParametersValueType >::TxtTransformIOTemplate ( )
protected
template<typename ParametersValueType >
virtual itk::TxtTransformIOTemplate< ParametersValueType >::~TxtTransformIOTemplate ( )
protectedvirtual

Member Function Documentation

template<typename ParametersValueType >
virtual bool itk::TxtTransformIOTemplate< ParametersValueType >::CanReadFile ( const char *  )
virtual

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

Implements itk::TransformIOBaseTemplate< ParametersValueType >.

template<typename ParametersValueType >
virtual bool itk::TxtTransformIOTemplate< ParametersValueType >::CanWriteFile ( const char *  )
virtual

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

Implements itk::TransformIOBaseTemplate< ParametersValueType >.

template<typename ParametersValueType >
virtual::itk::LightObject::Pointer itk::TxtTransformIOTemplate< ParametersValueType >::CreateAnother ( void  ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::LightProcessObject.

template<typename ParametersValueType >
virtual const char* itk::TxtTransformIOTemplate< ParametersValueType >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::TransformIOBaseTemplate< ParametersValueType >.

template<typename ParametersValueType >
static Pointer itk::TxtTransformIOTemplate< ParametersValueType >::New ( )
static

Run-time type information (and related methods).

template<typename ParametersValueType >
virtual void itk::TxtTransformIOTemplate< ParametersValueType >::Read ( )
virtual

Reads the data from disk into the memory buffer provided.

Implements itk::TransformIOBaseTemplate< ParametersValueType >.

template<typename ParametersValueType >
void itk::TxtTransformIOTemplate< ParametersValueType >::ReadComponentFile ( std::string  Value)
template<typename ParametersValueType >
std::string itk::TxtTransformIOTemplate< ParametersValueType >::trim ( std::string const &  source,
char const *  delims = " \t\r\n" 
)
private

trim spaces and newlines from start and end of a string

template<typename ParametersValueType >
virtual void itk::TxtTransformIOTemplate< ParametersValueType >::Write ( )
virtual

Writes the data to disk from the memory buffer provided. Make sure that the IORegions has been set properly. The buffer is cast to a pointer to the beginning of the image data.

Implements itk::TransformIOBaseTemplate< ParametersValueType >.


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