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

#include <itkTxtTransformIO.h>

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

Detailed Description

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

Create instances of TxtTransformIOTemplate objects.

Definition at line 32 of file itkTxtTransformIO.h.

Public Types

using ConstTransformListType = typename TransformIOBaseTemplate< TParametersValueType >::ConstTransformListType
 
using FixedParametersType = typename TransformType::FixedParametersType
 
using FixedParametersValueType = typename TransformType::FixedParametersValueType
 
using ParametersType = typename TransformType::ParametersType
 
using ParametersValueType = typename TransformType::ParametersValueType
 
using Pointer = SmartPointer< Self >
 
using Self = TxtTransformIOTemplate
 
using Superclass = TransformIOBaseTemplate< TParametersValueType >
 
using TransformListType = typename Superclass::TransformListType
 
using TransformPointer = typename Superclass::TransformPointer
 
using TransformType = typename Superclass::TransformType
 
- Public Types inherited from itk::TransformIOBaseTemplate< TParametersValueType >
using ConstTransformListType = std::list< ConstTransformPointer >
 
using ConstTransformPointer = typename TransformType::ConstPointer
 
using FixedParametersValueType = double
 
using ParametersValueType = TParametersValueType
 
using Pointer = SmartPointer< Self >
 
using ScalarType = TParametersValueType
 
using Self = TransformIOBaseTemplate
 
using Superclass = LightProcessObject
 
using TransformListType = std::list< TransformPointer >
 
using TransformPointer = typename TransformType::Pointer
 
using TransformType = TransformBaseTemplate< ParametersValueType >
 
- Public Types inherited from itk::LightProcessObject
using ConstPointer = SmartPointer< const Self >
 
using Pointer = SmartPointer< Self >
 
using Self = LightProcessObject
 
using Superclass = Object
 
- Public Types inherited from itk::Object
using ConstPointer = SmartPointer< const Self >
 
using Pointer = SmartPointer< Self >
 
using Self = Object
 
using Superclass = LightObject
 
- Public Types inherited from itk::LightObject
using ConstPointer = SmartPointer< const Self >
 
using Pointer = SmartPointer< Self >
 
using Self = LightObject
 

Public Member Functions

bool CanReadFile (const char *) override
 
bool CanWriteFile (const char *) override
 
void Read () override
 
void ReadComponentFile (std::string Value)
 
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 ()
 
virtual void SetUseCompression (bool _arg)
 
virtual bool GetUseCompression () const
 
virtual void UseCompressionOn ()
 
virtual void UseCompressionOff ()
 
- 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
 
void Register () const override
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag)
 
void SetDebug (bool debugFlag) const
 
void SetReferenceCount (int) override
 
void UnRegister () const noexceptoverride
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
void SetMetaDataDictionary (MetaDataDictionary &&rrhs)
 
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 ()
 
 ~TxtTransformIOTemplate () override
 
- 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)
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
 TransformIOBaseTemplate ()
 
 ~TransformIOBaseTemplate () 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)
 
 ~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

std::string trim (std::string const &source, char const *delims=" \t\r\n")
 
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 ()
 
- Protected Attributes inherited from itk::LightObject
std::atomic< int > m_ReferenceCount
 

Member Typedef Documentation

template<typename TParametersValueType >
using itk::TxtTransformIOTemplate< TParametersValueType >::ConstTransformListType = typename TransformIOBaseTemplate< TParametersValueType>::ConstTransformListType

Definition at line 42 of file itkTxtTransformIO.h.

template<typename TParametersValueType >
using itk::TxtTransformIOTemplate< TParametersValueType >::FixedParametersType = typename TransformType::FixedParametersType

Definition at line 46 of file itkTxtTransformIO.h.

template<typename TParametersValueType >
using itk::TxtTransformIOTemplate< TParametersValueType >::FixedParametersValueType = typename TransformType::FixedParametersValueType

Definition at line 47 of file itkTxtTransformIO.h.

template<typename TParametersValueType >
using itk::TxtTransformIOTemplate< TParametersValueType >::ParametersType = typename TransformType::ParametersType

Definition at line 44 of file itkTxtTransformIO.h.

template<typename TParametersValueType >
using itk::TxtTransformIOTemplate< TParametersValueType >::ParametersValueType = typename TransformType::ParametersValueType

Definition at line 45 of file itkTxtTransformIO.h.

template<typename TParametersValueType >
using itk::TxtTransformIOTemplate< TParametersValueType >::Pointer = SmartPointer<Self>

Definition at line 37 of file itkTxtTransformIO.h.

template<typename TParametersValueType >
using itk::TxtTransformIOTemplate< TParametersValueType >::Self = TxtTransformIOTemplate

Definition at line 35 of file itkTxtTransformIO.h.

template<typename TParametersValueType >
using itk::TxtTransformIOTemplate< TParametersValueType >::Superclass = TransformIOBaseTemplate<TParametersValueType>

Definition at line 36 of file itkTxtTransformIO.h.

template<typename TParametersValueType >
using itk::TxtTransformIOTemplate< TParametersValueType >::TransformListType = typename Superclass::TransformListType

Definition at line 40 of file itkTxtTransformIO.h.

template<typename TParametersValueType >
using itk::TxtTransformIOTemplate< TParametersValueType >::TransformPointer = typename Superclass::TransformPointer

Definition at line 39 of file itkTxtTransformIO.h.

template<typename TParametersValueType >
using itk::TxtTransformIOTemplate< TParametersValueType >::TransformType = typename Superclass::TransformType

Definition at line 38 of file itkTxtTransformIO.h.

Constructor & Destructor Documentation

template<typename TParametersValueType >
itk::TxtTransformIOTemplate< TParametersValueType >::TxtTransformIOTemplate ( )
protected
template<typename TParametersValueType >
itk::TxtTransformIOTemplate< TParametersValueType >::~TxtTransformIOTemplate ( )
overrideprotected

Member Function Documentation

template<typename TParametersValueType >
bool itk::TxtTransformIOTemplate< TParametersValueType >::CanReadFile ( const char *  )
overridevirtual

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

Implements itk::TransformIOBaseTemplate< TParametersValueType >.

template<typename TParametersValueType >
bool itk::TxtTransformIOTemplate< TParametersValueType >::CanWriteFile ( const char *  )
overridevirtual

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

Implements itk::TransformIOBaseTemplate< TParametersValueType >.

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

Run-time type information (and related methods).

Reimplemented from itk::LightProcessObject.

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

Run-time type information (and related methods).

Reimplemented from itk::TransformIOBaseTemplate< TParametersValueType >.

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

Run-time type information (and related methods).

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

Reads the data from disk into the memory buffer provided.

Implements itk::TransformIOBaseTemplate< TParametersValueType >.

template<typename TParametersValueType >
void itk::TxtTransformIOTemplate< TParametersValueType >::ReadComponentFile ( std::string  Value)
template<typename TParametersValueType >
std::string itk::TxtTransformIOTemplate< TParametersValueType >::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 TParametersValueType >
void itk::TxtTransformIOTemplate< TParametersValueType >::Write ( )
overridevirtual

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< TParametersValueType >.


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