18 #ifndef sitkImageSeriesWriter_h
19 #define sitkImageSeriesWriter_h
60 virtual std::string ToString()
const;
78 virtual SITK_RETURN_SELF_TYPE_HEADER SetImageIO(
const std::string &imageio);
79 virtual std::string GetImageIO(
void )
const;
83 virtual std::string
GetName()
const {
return std::string(
"ImageSeriesWriter"); }
91 SITK_RETURN_SELF_TYPE_HEADER SetUseCompression(
bool UseCompression );
92 bool GetUseCompression(
void )
const;
94 SITK_RETURN_SELF_TYPE_HEADER
UseCompressionOn(
void ) {
return this->SetUseCompression(
true); }
95 SITK_RETURN_SELF_TYPE_HEADER
UseCompressionOff(
void ) {
return this->SetUseCompression(
false); }
103 SITK_RETURN_SELF_TYPE_HEADER SetFileNames (
const std::vector<std::string> &fileNames );
104 const std::vector<std::string> &GetFileNames()
const;
108 SITK_RETURN_SELF_TYPE_HEADER Execute(
const Image& );
109 SITK_RETURN_SELF_TYPE_HEADER Execute(
const Image &image,
const std::vector<std::string> &inFileNames,
bool useCompression );
113 template <
class TImageType> Self &ExecuteInternal (
const Image& inImage );
std::vector< std::string > m_FileNames
SITKIO_EXPORT void WriteImage(const Image &image, const std::string &fileName, bool useCompression=false)
Self & UseCompressionOff(void)
Enable compression if available for file type.
Self &(Self::* MemberFunctionType)(const Image &)
virtual std::string GetName() const
Writer series of image from a SimpleITK image.
nsstd::auto_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
The Image class for SimpleITK.
Self & UseCompressionOn(void)
Enable compression if available for file type.
SITKIO_HIDDEN std::vector< std::string > GetRegisteredImageIOs()
Base class for SimpleITK classes based on ProcessObject.
std::string m_ImageIOName