ITK
6.0.0
Insight Toolkit
|
#include <itkTxtTransformIO.h>
Create instances of TxtTransformIOTemplate objects.
Definition at line 32 of file itkTxtTransformIO.h.
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 > | |
virtual bool | CanReadFile (const char *)=0 |
virtual bool | CanWriteFile (const char *)=0 |
void | CorrectTransformPrecisionType (std::string &inputTransformName) |
void | CorrectTransformPrecisionType (std::string &inputTransformName) |
const char * | GetNameOfClass () const override |
virtual void | Read ()=0 |
void | SetTransformList (ConstTransformListType &transformList) |
virtual void | Write ()=0 |
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 | SetUseCompression (bool _arg) |
virtual bool | GetUseCompression () const |
virtual void | UseCompressionOn () |
Public Member Functions inherited from itk::LightProcessObject | |
virtual void | AbortGenerateDataOn () |
virtual const bool & | GetAbortGenerateData () const |
const char * | GetNameOfClass () const override |
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 *cmd) const |
unsigned long | AddObserver (const EventObject &event, std::function< void(const EventObject &)> function) const |
LightObject::Pointer | CreateAnother () const override |
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 |
const char * | GetNameOfClass () const override |
virtual const TimeStamp & | GetTimeStamp () 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) const |
void | SetDebug (bool debugFlag) const |
void | SetReferenceCount (int) override |
void | UnRegister () const noexcept override |
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 | |
Pointer | Clone () const |
virtual Pointer | CreateAnother () const |
virtual void | Delete () |
virtual const char * | GetNameOfClass () const |
virtual int | GetReferenceCount () const |
void | Print (std::ostream &os, Indent indent=0) const |
virtual void | Register () const |
virtual void | SetReferenceCount (int) |
virtual void | UnRegister () const noexcept |
Protected Member Functions | |
TxtTransformIOTemplate () | |
~TxtTransformIOTemplate () override | |
Protected Member Functions inherited from itk::TransformIOBaseTemplate< TParametersValueType > | |
void | CreateTransform (TransformPointer &ptr, const std::string &ClassName) |
std::string | GetTypeNameString () |
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 () | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
~LightProcessObject () override | |
Protected Member Functions inherited from itk::Object | |
Object () | |
bool | PrintObservers (std::ostream &os, Indent indent) const |
void | PrintSelf (std::ostream &os, Indent indent) const override |
virtual void | SetTimeStamp (const TimeStamp &timeStamp) |
~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 | PrintSelf (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") |
const char * | GetNameOfClass () const override |
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 val) |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
static Pointer | New () |
Static Protected Member Functions inherited from itk::TransformIOBaseTemplate< TParametersValueType > | |
static std::string | GetTypeNameString () |
Protected Attributes inherited from itk::LightObject | |
std::atomic< int > | m_ReferenceCount {} |
using itk::TxtTransformIOTemplate< TParametersValueType >::ConstTransformListType = typename TransformIOBaseTemplate<TParametersValueType>::ConstTransformListType |
Definition at line 41 of file itkTxtTransformIO.h.
using itk::TxtTransformIOTemplate< TParametersValueType >::FixedParametersType = typename TransformType::FixedParametersType |
Definition at line 45 of file itkTxtTransformIO.h.
using itk::TxtTransformIOTemplate< TParametersValueType >::FixedParametersValueType = typename TransformType::FixedParametersValueType |
Definition at line 46 of file itkTxtTransformIO.h.
using itk::TxtTransformIOTemplate< TParametersValueType >::ParametersType = typename TransformType::ParametersType |
Definition at line 43 of file itkTxtTransformIO.h.
using itk::TxtTransformIOTemplate< TParametersValueType >::ParametersValueType = typename TransformType::ParametersValueType |
Definition at line 44 of file itkTxtTransformIO.h.
using itk::TxtTransformIOTemplate< TParametersValueType >::Pointer = SmartPointer<Self> |
Definition at line 37 of file itkTxtTransformIO.h.
using itk::TxtTransformIOTemplate< TParametersValueType >::Self = TxtTransformIOTemplate |
Definition at line 35 of file itkTxtTransformIO.h.
using itk::TxtTransformIOTemplate< TParametersValueType >::Superclass = TransformIOBaseTemplate<TParametersValueType> |
Definition at line 36 of file itkTxtTransformIO.h.
|
protected |
|
overrideprotected |
|
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 >.
|
overridevirtual |
Reimplemented from itk::TransformIOBaseTemplate< TParametersValueType >.
|
static |
|
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 >.