ITK
4.13.0
Insight Segmentation and Registration Toolkit
|
#include <itkTxtTransformIO.h>
Create instances of TxtTransformIOTemplate objects.
Definition at line 32 of file itkTxtTransformIO.h.
Public Member Functions | |
virtual bool | CanReadFile (const char *) override |
virtual bool | CanWriteFile (const char *) override |
virtual void | Read () override |
void | ReadComponentFile (std::string Value) |
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 |
TransformListType & | GetTransformList () |
TransformListType & | GetReadTransformList () |
ConstTransformListType & | GetWriteTransformList () |
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 |
Command * | GetCommand (unsigned long tag) |
bool | GetDebug () const |
MetaDataDictionary & | GetMetaDataDictionary () |
const MetaDataDictionary & | GetMetaDataDictionary () const |
virtual ModifiedTimeType | GetMTime () const |
virtual const TimeStamp & | GetTimeStamp () 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 |
Protected Member Functions | |
TxtTransformIOTemplate () | |
virtual | ~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) |
virtual void | PrintSelf (std::ostream &os, Indent indent) const override |
TransformIOBaseTemplate () | |
virtual | ~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) |
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 | |
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::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 |
typedef TransformIOBaseTemplate< TParametersValueType>::ConstTransformListType itk::TxtTransformIOTemplate< TParametersValueType >::ConstTransformListType |
Definition at line 43 of file itkTxtTransformIO.h.
typedef TransformType::FixedParametersType itk::TxtTransformIOTemplate< TParametersValueType >::FixedParametersType |
Definition at line 47 of file itkTxtTransformIO.h.
typedef TransformType::FixedParametersValueType itk::TxtTransformIOTemplate< TParametersValueType >::FixedParametersValueType |
Definition at line 48 of file itkTxtTransformIO.h.
typedef TransformType::ParametersType itk::TxtTransformIOTemplate< TParametersValueType >::ParametersType |
Definition at line 45 of file itkTxtTransformIO.h.
typedef TransformType::ParametersValueType itk::TxtTransformIOTemplate< TParametersValueType >::ParametersValueType |
Definition at line 46 of file itkTxtTransformIO.h.
typedef SmartPointer<Self> itk::TxtTransformIOTemplate< TParametersValueType >::Pointer |
Definition at line 37 of file itkTxtTransformIO.h.
typedef TxtTransformIOTemplate itk::TxtTransformIOTemplate< TParametersValueType >::Self |
Definition at line 35 of file itkTxtTransformIO.h.
typedef TransformIOBaseTemplate<TParametersValueType> itk::TxtTransformIOTemplate< TParametersValueType >::Superclass |
Definition at line 36 of file itkTxtTransformIO.h.
typedef Superclass::TransformListType itk::TxtTransformIOTemplate< TParametersValueType >::TransformListType |
Definition at line 40 of file itkTxtTransformIO.h.
typedef Superclass::TransformPointer itk::TxtTransformIOTemplate< TParametersValueType >::TransformPointer |
Definition at line 39 of file itkTxtTransformIO.h.
typedef Superclass::TransformType itk::TxtTransformIOTemplate< TParametersValueType >::TransformType |
Definition at line 38 of file itkTxtTransformIO.h.
|
protected |
|
overrideprotectedvirtual |
|
overridevirtual |
Determine the file type. Returns true if this ImageIO can read the file specified.
Implements itk::TransformIOBaseTemplate< TParametersValueType >.
|
overridevirtual |
Determine the file type. Returns true if this ImageIO can read the file specified.
Implements itk::TransformIOBaseTemplate< TParametersValueType >.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::LightProcessObject.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::TransformIOBaseTemplate< TParametersValueType >.
|
static |
Run-time type information (and related methods).
|
overridevirtual |
Reads the data from disk into the memory buffer provided.
Implements itk::TransformIOBaseTemplate< TParametersValueType >.
void itk::TxtTransformIOTemplate< TParametersValueType >::ReadComponentFile | ( | std::string | Value | ) |
|
private |
trim spaces and newlines from start and end of a string
|
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 >.