18 #ifndef itkTransformFileWriter_h
19 #define itkTransformFileWriter_h
21 #include "ITKIOTransformBaseExport.h"
38 template <
typename TParametersValueType>
65 itkSetStringMacro(FileName);
68 itkGetStringMacro(FileName);
70 #if !defined(ITK_FUTURE_LEGACY_REMOVE)
84 itkSetMacro(AppendMode,
bool);
85 itkGetConstMacro(AppendMode,
bool);
86 itkBooleanMacro(AppendMode);
90 itkSetMacro(UseCompression,
bool);
91 itkGetConstMacro(UseCompression,
bool);
92 itkBooleanMacro(UseCompression);
97 SetInput(
const Object * transform);
104 AddTransform(
const Object * transform);
120 PrintSelf(std::ostream & os,
Indent indent)
const override;
124 PushBackTransformList(
const Object * transObj);
126 std::string m_FileName{};
128 bool m_AppendMode{
false };
130 bool m_UseCompression{
false };
137 ITK_GCC_PRAGMA_DIAG_PUSH()
138 ITK_GCC_PRAGMA_DIAG(ignored "-Wattributes")
149 ITK_GCC_PRAGMA_DIAG_POP()
153 #if defined ITK_TRANSFORMIO_FACTORY_REGISTER_MANAGER || defined ITK_IO_FACTORY_REGISTER_MANAGER
154 # include "itkTransformIOFactoryRegisterManager.h"
159 #endif // itkTransformFileWriter_h
162 #ifndef ITK_TEMPLATE_EXPLICIT_TransformFileWriter
171 #if defined(ITKIOTransformBase_EXPORTS)
173 # define ITKIOTransformBase_EXPORT_EXPLICIT ITKIOTransformBase_TEMPLATE_EXPORT
176 # define ITKIOTransformBase_EXPORT_EXPLICIT ITKIOTransformBase_EXPORT
181 ITK_GCC_PRAGMA_DIAG_PUSH()
182 ITK_GCC_PRAGMA_DIAG(ignored
"-Wattributes")
187 ITK_GCC_PRAGMA_DIAG_POP()
190 #undef ITKIOTransformBase_EXPORT_EXPLICIT