#include <itkHDF5TransformIO.h>
Read&Write transforms in HDF5 Format.
See hdfgroup.org/HDF5 – HDF5 is a physics/astrophysics format, but it is very general and can store pretty much any sort of data.
Definition at line 86 of file itkHDF5TransformIO.h.
Inheritance diagram for itk::HDF5TransformIOTemplate< TParametersValueType >:
Collaboration diagram for itk::HDF5TransformIOTemplate< TParametersValueType >:Public Member Functions | |
| bool | CanReadFile (const char *) override |
| bool | CanWriteFile (const char *) override |
| void | Read () override |
| 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::itk::LightObject::Pointer | CreateAnother () const |
| 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 |
Protected Member Functions | |
| HDF5TransformIOTemplate () | |
| ~HDF5TransformIOTemplate () 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 () |
Private Member Functions | |
| H5::PredType | GetH5TypeFromString () const |
| ParametersType | ReadParameters (const std::string &DataSetName) const |
| FixedParametersType | ReadFixedParameters (const std::string &DataSetName) const |
| void | WriteParameters (const std::string &name, const ParametersType ¶meters) |
| void | WriteFixedParameters (const std::string &name, const FixedParametersType &fixedParameters) |
| void | WriteString (const std::string &path, const std::string &value) |
| void | WriteString (const std::string &path, const char *s) |
| void | WriteOneTransform (const int transformIndex, const TransformType *curTransform) |
Private Attributes | |
| std::unique_ptr< H5::H5File > | m_H5File |
| 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 &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 () |
Static Protected Member Functions inherited from itk::TransformIOBaseTemplate< TParametersValueType > | |
| static std::string | GetTypeNameString () |
Protected Attributes inherited from itk::LightObject | |
| std::atomic< int > | m_ReferenceCount {} |
Static Private Attributes inherited from itk::HDF5CommonPathNames | |
| static const std::string | HDFVersion |
| static const std::string | ItkVersion |
| static const std::string | OSName |
| static const std::string | OSVersion |
| static const std::string | transformFixedName |
| static const std::string | transformFixedNameCorrected |
| static const std::string | transformFixedNameMisspelled |
| static const std::string | transformGroupName |
| static const std::string | transformParamsName |
| static const std::string | transformParamsNameCorrected |
| static const std::string | transformParamsNameMisspelled |
| static const std::string | transformTypeName |
| using itk::HDF5TransformIOTemplate< TParametersValueType >::ConstTransformListType = typename TransformIOBaseTemplate<ParametersValueType>::ConstTransformListType |
Definition at line 102 of file itkHDF5TransformIO.h.
| using itk::HDF5TransformIOTemplate< TParametersValueType >::FixedParametersType = typename TransformType::FixedParametersType |
Definition at line 99 of file itkHDF5TransformIO.h.
| using itk::HDF5TransformIOTemplate< TParametersValueType >::FixedParametersValueType = typename TransformType::FixedParametersValueType |
Definition at line 100 of file itkHDF5TransformIO.h.
| using itk::HDF5TransformIOTemplate< TParametersValueType >::ParametersType = typename TransformType::ParametersType |
Definition at line 97 of file itkHDF5TransformIO.h.
| using itk::HDF5TransformIOTemplate< TParametersValueType >::ParametersValueType = typename TransformType::ParametersValueType |
Definition at line 98 of file itkHDF5TransformIO.h.
| using itk::HDF5TransformIOTemplate< TParametersValueType >::Pointer = SmartPointer<Self> |
Definition at line 93 of file itkHDF5TransformIO.h.
| using itk::HDF5TransformIOTemplate< TParametersValueType >::Self = HDF5TransformIOTemplate |
Definition at line 91 of file itkHDF5TransformIO.h.
| using itk::HDF5TransformIOTemplate< TParametersValueType >::Superclass = TransformIOBaseTemplate<TParametersValueType> |
Definition at line 92 of file itkHDF5TransformIO.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 |
|
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 |
Reimplemented from itk::LightObject.
|
nodiscardprivate |
Utility function for inferring data storage type from class template.
|
virtual |
Reimplemented from itk::TransformIOBaseTemplate< TParametersValueType >.
|
static |
|
overridevirtual |
Reads the data from disk into the memory buffer provided.
Implements itk::TransformIOBaseTemplate< TParametersValueType >.
|
private |
Read a parameter array from the file location name
|
private |
Read a parameter array from the file location name
|
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 >.
|
private |
Write a parameter array to the file location name
|
private |
write a string variable
|
private |
Write a parameter array to the file location name
|
private |
write a string variable
|
private |
write a string variable
|
private |
Definition at line 157 of file itkHDF5TransformIO.h.