#include <itkMINCTransformIO.h>
Read and write transforms in MINC format (.xfm). Takes into account PositiveCoordinateOrientation RAS to PositiveCoordinateOrientation LPS conversion flag to convert from internal MINC to ITK conventions and back, if enabled.
Definition at line 45 of file itkMINCTransformIO.h.
Inheritance diagram for itk::MINCTransformIOTemplate< TParametersValueType >:
Collaboration diagram for itk::MINCTransformIOTemplate< TParametersValueType >:Public Member Functions | |
| bool | CanReadFile (const char *fileName) override |
| bool | CanWriteFile (const char *fileName) override |
| virtual::itk::LightObject::Pointer | CreateAnother () const |
| virtual const char * | GetNameOfClass () const |
| virtual bool | GetRAStoLPS () const |
| virtual void | RAStoLPSOff () |
| virtual void | RAStoLPSOn () |
| void | Read () override |
| virtual void | SetRAStoLPS (bool _arg) |
| void | Write () override |
Public Member Functions inherited from itk::TransformIOBaseTemplate< TParametersValueType > | |
| void | CorrectTransformPrecisionType (std::string &inputTransformName) |
| 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 () |
| 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 *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 |
| 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 void | Delete () |
| virtual int | GetReferenceCount () const |
| void | Print (std::ostream &os, Indent indent=0) const |
Static Public Member Functions | |
| static Pointer | New () |
Static Public Member Functions inherited from itk::TransformIOBaseTemplate< TParametersValueType > | |
| static void | CorrectTransformPrecisionType (std::string &inputTransformName) |
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 () |
Protected Member Functions | |
| MINCTransformIOTemplate () | |
| ~MINCTransformIOTemplate () 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 () | |
| ~LightProcessObject () override | |
Protected Member Functions inherited from itk::Object | |
| Object () | |
| bool | PrintObservers (std::ostream &os, Indent indent) const |
| 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 | PrintTrailer (std::ostream &os, Indent indent) const |
| virtual | ~LightObject () |
Protected Attributes | |
| VIO_General_transform | m_XFM {} |
| bool | m_XFM_initialized {} |
Protected Attributes inherited from itk::LightObject | |
| std::atomic< int > | m_ReferenceCount {} |
Private Member Functions | |
| void | _cleanup () |
| void | ReadOneTransform (VIO_General_transform *xfm) |
| void | WriteOneTransform (const int transformIndex, const TransformType *transform, std::vector< VIO_General_transform > &_xfm, const char *xfm_file_base, int &serial) |
Private Attributes | |
| bool | m_RAStoLPS {} |
Additional Inherited Members | |
Static Protected Member Functions inherited from itk::TransformIOBaseTemplate< TParametersValueType > | |
| static std::string | GetTypeNameString () |
| using itk::MINCTransformIOTemplate< TParametersValueType >::ConstPointer = SmartPointer<const Self> |
Definition at line 51 of file itkMINCTransformIO.h.
| using itk::TransformIOBaseTemplate< TParametersValueType >::ConstTransformListType |
Definition at line 82 of file itkTransformIOBase.h.
| using itk::MINCTransformIOTemplate< TParametersValueType >::MatrixOffsetTransformBaseType = MatrixOffsetTransformBase<TParametersValueType, 3, 3> |
Definition at line 59 of file itkMINCTransformIO.h.
| using itk::MINCTransformIOTemplate< TParametersValueType >::MatrixType = typename MatrixOffsetTransformBaseType::MatrixType |
Definition at line 61 of file itkMINCTransformIO.h.
| using itk::MINCTransformIOTemplate< TParametersValueType >::OffsetType = typename MatrixOffsetTransformBaseType::OffsetType |
Definition at line 62 of file itkMINCTransformIO.h.
| using itk::MINCTransformIOTemplate< TParametersValueType >::ParametersType = typename TransformType::ParametersType |
Definition at line 57 of file itkMINCTransformIO.h.
| using itk::MINCTransformIOTemplate< TParametersValueType >::Pointer = SmartPointer<Self> |
Definition at line 50 of file itkMINCTransformIO.h.
| using itk::MINCTransformIOTemplate< TParametersValueType >::Self = MINCTransformIOTemplate |
Definition at line 48 of file itkMINCTransformIO.h.
| using itk::MINCTransformIOTemplate< TParametersValueType >::Superclass = TransformIOBaseTemplate<TParametersValueType> |
Definition at line 49 of file itkMINCTransformIO.h.
| using itk::TransformIOBaseTemplate< TParametersValueType >::TransformListType |
Definition at line 80 of file itkTransformIOBase.h.
| using itk::TransformIOBaseTemplate< TParametersValueType >::TransformPointer |
For writing, a const transform list gets passed in, for reading, a non-const transform list is created from the file.
Definition at line 79 of file itkTransformIOBase.h.
| using itk::TransformIOBaseTemplate< TParametersValueType >::TransformType |
Definition at line 74 of file itkTransformIOBase.h.
|
protected |
|
overrideprotected |
|
private |
|
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 write the file specified.
Implements itk::TransformIOBaseTemplate< TParametersValueType >.
|
virtual |
Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.
Reimplemented from itk::LightProcessObject.
|
virtual |
Reimplemented from itk::TransformIOBaseTemplate< TParametersValueType >.
|
virtual |
|
static |
|
virtual |
|
virtual |
|
overridevirtual |
Reads the data from disk into the memory buffer provided.
Implements itk::TransformIOBaseTemplate< TParametersValueType >.
|
private |
|
virtual |
Set to automatically convert from RAS PositiveCoordinateOrientation to LPS PositiveCoordinateOrientation. New objects start from MINCImageIO::GetDefaultRAStoLPS().
|
overridevirtual |
Writes the transform list to disk.
Implements itk::TransformIOBaseTemplate< TParametersValueType >.
|
private |
|
private |
Definition at line 110 of file itkMINCTransformIO.h.
|
protected |
Definition at line 95 of file itkMINCTransformIO.h.
|
protected |
Definition at line 96 of file itkMINCTransformIO.h.