18 #ifndef itkHDF5TransformIO_h
19 #define itkHDF5TransformIO_h
21 #include "ITKIOTransformHDF5Export.h"
26 #include "itk_H5Cpp.h"
86 template<
typename TParametersValueType>
112 bool CanReadFile(
const char *)
override;
116 bool CanWriteFile(
const char *)
override;
119 void Read()
override;
124 void Write()
override;
132 ParametersType ReadParameters(
const std::string &DataSetName)
const;
137 void WriteParameters(
const std::string &name,
139 void WriteFixedParameters(
const std::string &name,
144 void WriteString(
const std::string &path,
const std::string &value);
145 void WriteString(
const std::string &path,
const char *value);
146 void WriteOneTransform(
const int transformIndex,
156 H5::PredType GetH5TypeFromString( )
const;
168 #endif // itkHDF5TransformIO_h
171 #ifndef ITK_TEMPLATE_EXPLICIT_HDF5TransformIO
180 # if defined( ITKIOTransformHDF5_EXPORTS )
182 # define ITKIOTransformHDF5_EXPORT_EXPLICIT ITK_FORWARD_EXPORT
185 # define ITKIOTransformHDF5_EXPORT_EXPLICIT ITKIOTransformHDF5_EXPORT
189 #ifdef ITK_HAS_GCC_PRAGMA_DIAG_PUSHPOP
190 ITK_GCC_PRAGMA_DIAG_PUSH()
192 ITK_GCC_PRAGMA_DIAG(ignored
"-Wattributes")
197 #ifdef ITK_HAS_GCC_PRAGMA_DIAG_PUSHPOP
198 ITK_GCC_PRAGMA_DIAG_POP()
200 ITK_GCC_PRAGMA_DIAG(warning
"-Wattributes")
204 # undef ITKIOTransformHDF5_EXPORT_EXPLICIT
template class ITKIOTransformHDF5_EXPORT_EXPLICIT HDF5TransformIOTemplate< float >
Light weight base class for most itk classes.
static const std::string transformFixedName
static const std::string transformParamsName
static const std::string transformFixedNameMisspelled
static const std::string HDFVersion
const std::string ITKIOTransformHDF5_EXPORT GetTransformName(int)
template class ITKIOTransformHDF5_EXPORT_EXPLICIT HDF5TransformIOTemplate< double >
static const std::string transformParamsNameCorrected
static const std::string transformTypeName
static const std::string OSVersion
Class to hold and manage different parameter types used during optimization.
Secondary bass class of HDF5CommonPathNames common between templates.
static const std::string ItkVersion
static const std::string OSName
static const std::string transformGroupName
static const std::string transformFixedNameCorrected
Base class for most ITK classes.
static const std::string transformParamsNameMisspelled