18 #ifndef itkTransformIOBase_h
19 #define itkTransformIOBase_h
45 template<
typename TParametersValueType>
73 itkSetStringMacro(FileName);
74 itkGetStringMacro(FileName);
78 virtual void Read() = 0;
81 virtual void Write() = 0;
101 itkSetMacro(AppendMode,
bool);
102 itkGetConstMacro(AppendMode,
bool);
103 itkBooleanMacro(AppendMode);
116 itkGenericExceptionMacro(<<
"Unknown ScalarType" <<
typeid(
ScalarType).name());
122 virtual void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
124 void OpenStream(std::ofstream & outputStream,
bool binary);
137 itkGenericExceptionMacro(<<
"Unknown ScalarType" <<
typeid(
ScalarType).name());
148 if(inputTransformName.find(
"float") == std::string::npos)
150 const std::string::size_type begin = inputTransformName.find(
"double");
151 inputTransformName.replace(begin, 6,
"float");
161 if(inputTransformName.find(
"double") == std::string::npos)
163 const std::string::size_type begin = inputTransformName.find(
"float");
164 inputTransformName.replace(begin, 5,
"double");
169 inline const std::string
173 return std::string(
"float");
177 inline const std::string
181 return std::string(
"double");
189 #ifndef ITK_MANUAL_INSTANTIATION
190 #include "itkTransformIOBase.hxx"
193 #endif // itkTransformIOBase_h
itk::TransformIOBaseTemplate< double > TransformIOBase
LightProcessObject is the base class for all process objects (source, filters, mappers) in the Insigh...
Control indentation during Print() invocation.
Base class for most ITK classes.