18#ifndef itkTransformIOBase_h
19#define itkTransformIOBase_h
21#include "ITKIOTransformBaseExport.h"
31#ifndef ITKIOTransformBase_TEMPLATE_EXPORT
32# if defined(ITK_TEMPLATE_VISIBILITY_DEFAULT) || defined(__linux__) && defined(ITK_BUILD_SHARED_LIBS)
34# define ITKIOTransformBase_TEMPLATE_EXPORT __attribute__((visibility("default")))
36# define ITKIOTransformBase_TEMPLATE_EXPORT
57template <
typename TParametersValueType>
85 itkSetStringMacro(FileName);
86 itkGetStringMacro(FileName);
118 ConstTransformListType &
130 itkSetMacro(AppendMode,
bool);
131 itkGetConstMacro(AppendMode,
bool);
132 itkBooleanMacro(AppendMode);
136 itkSetMacro(UseCompression,
bool);
137 itkGetConstMacro(UseCompression,
bool);
138 itkBooleanMacro(UseCompression);
152 itkGenericExceptionMacro(
"Unknown ScalarType" <<
typeid(
ScalarType).name());
169 static inline std::string
172 itkGenericExceptionMacro(
"Unknown ScalarType" <<
typeid(
ScalarType).name());
190 if (inputTransformName.find(
"float") == std::string::npos)
192 const std::string::size_type begin = inputTransformName.find(
"double");
193 inputTransformName.replace(begin, 6,
"float");
202 if (inputTransformName.find(
"double") == std::string::npos)
204 const std::string::size_type begin = inputTransformName.find(
"float");
205 inputTransformName.replace(begin, 5,
"double");
231#ifndef ITK_TEMPLATE_EXPLICIT_TransformIOBase
240#if defined(ITKIOTransformBase_EXPORTS)
242# define ITKIOTransformBase_EXPORT_EXPLICIT ITK_FORWARD_EXPORT
245# define ITKIOTransformBase_EXPORT_EXPLICIT ITKIOTransformBase_EXPORT
250ITK_GCC_PRAGMA_DIAG_PUSH()
251ITK_GCC_PRAGMA_DIAG(ignored
"-Wattributes")
256ITK_GCC_PRAGMA_DIAG_POP()
259#undef ITKIOTransformBase_EXPORT_EXPLICIT
Control indentation during Print() invocation.
Implements transparent reference counting.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
template class ITKIOTransformBase_EXPORT_EXPLICIT TransformIOBaseTemplate< float >
template class ITKIOTransformBase_EXPORT_EXPLICIT TransformIOBaseTemplate< double >
itk::TransformIOBaseTemplate< double > TransformIOBase