ITK
4.2.0
Insight Segmentation and Registration Toolkit
|
#include <itkTransformIOBase.h>
Public Types | |
typedef std::list < ConstTransformPointer > | ConstTransformListType |
typedef TransformType::ConstPointer | ConstTransformPointer |
typedef SmartPointer< Self > | Pointer |
typedef TransformIOBase | Self |
typedef LightProcessObject | Superclass |
typedef std::list < TransformPointer > | TransformListType |
typedef TransformType::Pointer | TransformPointer |
typedef TransformBase | TransformType |
Public Types inherited from itk::LightProcessObject | |
typedef SmartPointer< const Self > | ConstPointer |
Public Types inherited from itk::Object | |
Public Types inherited from itk::LightObject |
Public Member Functions | |
virtual bool | CanReadFile (const char *)=0 |
virtual bool | CanWriteFile (const char *)=0 |
virtual const char * | GetNameOfClass () const |
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 () |
Public Member Functions inherited from itk::LightProcessObject | |
virtual void | AbortGenerateDataOff () |
virtual void | AbortGenerateDataOn () |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual const bool & | GetAbortGenerateData () |
virtual void | SetAbortGenerateData (bool _arg) |
virtual void | UpdateOutputData () |
void | UpdateProgress (float amount) |
virtual void | SetProgress (float _arg) |
virtual const float & | GetProgress () |
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 (void) |
const MetaDataDictionary & | GetMetaDataDictionary (void) const |
virtual unsigned long | 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 |
void | RemoveAllObservers () |
void | RemoveObserver (unsigned long tag) |
void | SetDebug (bool debugFlag) const |
void | SetMetaDataDictionary (const MetaDataDictionary &rhs) |
virtual void | SetReferenceCount (int) |
virtual void | UnRegister () 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 | |
void | CreateTransform (TransformPointer &ptr, const std::string &ClassName) |
void | OpenStream (std::ofstream &out, bool binary) |
Protected Member Functions inherited from itk::LightProcessObject | |
LightProcessObject () | |
~LightProcessObject () | |
virtual void | GenerateData () |
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 Attributes | |
bool | m_AppendMode |
std::string | m_FileName |
TransformListType | m_ReadTransformList |
ConstTransformListType | m_WriteTransformList |
virtual void | SetAppendMode (bool _arg) |
virtual bool | GetAppendMode () const |
virtual void | AppendModeOn () |
virtual void | AppendModeOff () |
TransformIOBase () | |
virtual | ~TransformIOBase () |
void | PrintSelf (std::ostream &os, Indent indent) const |
Additional Inherited Members | |
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 void | SetGlobalWarningDisplay (bool flag) |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
Abstract superclass defining the Transform IO interface.
TransformIOBase is a pure virtual base class for dervied classes that read/write transform data. It's used by the TransformFileReader and TransformFileWriter classes. End users don't directly manipulate classes derived from TransformIOBase; the TransformIOFactory is used by the Reader/Writer to pick a concrete derived class to do the actual reading/writing of transforms.
Definition at line 40 of file itkTransformIOBase.h.
typedef std::list< ConstTransformPointer > itk::TransformIOBase::ConstTransformListType |
Definition at line 60 of file itkTransformIOBase.h.
Definition at line 59 of file itkTransformIOBase.h.
typedef SmartPointer< Self > itk::TransformIOBase::Pointer |
Reimplemented from itk::LightProcessObject.
Reimplemented in itk::HDF5TransformIO, and itk::MatlabTransformIO.
Definition at line 46 of file itkTransformIOBase.h.
Standard class typedefs
Reimplemented from itk::LightProcessObject.
Reimplemented in itk::HDF5TransformIO, and itk::MatlabTransformIO.
Definition at line 44 of file itkTransformIOBase.h.
Reimplemented from itk::LightProcessObject.
Reimplemented in itk::HDF5TransformIO, and itk::MatlabTransformIO.
Definition at line 45 of file itkTransformIOBase.h.
typedef std::list< TransformPointer > itk::TransformIOBase::TransformListType |
Reimplemented in itk::HDF5TransformIO, and itk::MatlabTransformIO.
Definition at line 58 of file itkTransformIOBase.h.
For writing, a const transform list gets passed in, for reading, a non-const transform list is created from the file.
Reimplemented in itk::HDF5TransformIO, and itk::MatlabTransformIO.
Definition at line 57 of file itkTransformIOBase.h.
Transform types
Reimplemented in itk::HDF5TransformIO, and itk::MatlabTransformIO.
Definition at line 49 of file itkTransformIOBase.h.
|
protected |
Set the writer to append to the specified file
|
protectedvirtual |
Set the writer to append to the specified file
|
virtual |
Set the writer to append to the specified file
|
virtual |
Set the writer to append to the specified file
|
pure virtual |
Determine the file type. Returns true if this TransformIO can read the file specified.
Implemented in itk::HDF5TransformIO, and itk::MatlabTransformIO.
|
pure virtual |
Determine the file type. Returns true if this TransformIO can read the file specified.
Implemented in itk::HDF5TransformIO, and itk::MatlabTransformIO.
|
protected |
|
virtual |
Set the writer to append to the specified file
|
virtual |
Set/Get the name of the file to be read.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::LightProcessObject.
Reimplemented in itk::HDF5TransformIO, and itk::MatlabTransformIO.
|
inline |
Get the list of transforms resulting from a file read
Definition at line 83 of file itkTransformIOBase.h.
|
inline |
Get the list of transforms resulting from a file read
Definition at line 82 of file itkTransformIOBase.h.
|
inline |
Get the list of transforms resulting from a file read
Definition at line 84 of file itkTransformIOBase.h.
|
protected |
|
protectedvirtual |
Set the writer to append to the specified file
Reimplemented from itk::LightProcessObject.
|
pure virtual |
Reads the data from disk into the memory buffer provided.
Implemented in itk::HDF5TransformIO, and itk::MatlabTransformIO.
|
virtual |
Set the writer to append to the specified file
|
virtual |
Set/Get the name of the file to be read.
void itk::TransformIOBase::SetTransformList | ( | ConstTransformListType & | transformList | ) |
Set the list of transforms before writing
|
pure virtual |
Writes the transform list to disk.
Implemented in itk::HDF5TransformIO, and itk::MatlabTransformIO.
|
private |
Definition at line 108 of file itkTransformIOBase.h.
|
private |
Definition at line 105 of file itkTransformIOBase.h.
|
private |
Definition at line 106 of file itkTransformIOBase.h.
|
private |
Definition at line 107 of file itkTransformIOBase.h.