7 #ifndef __FWITKIO_IMAGEWRITER_HPP__ 8 #define __FWITKIO_IMAGEWRITER_HPP__ 10 #include "fwItkIO/config.hpp" 12 #include <fwData/Image.hpp> 13 #include <fwData/location/SingleFile.hpp> 15 #include <fwDataIO/writer/GenericObjectWriter.hpp> 17 #include <fwTools/ProgressAdviser.hpp> 31 ::fwDataIO::writer::factory::New< ImageWriter >
39 FWITKIO_API
void write()
override;
41 FWITKIO_API std::string
extension()
override;
46 #endif // __FWITKIO_IMAGEWRITER_HPP__ FWITKIO_API std::string extension() override
Return the default filename extension can be dynamic.
Key class used to restrict access to Object construction. See http://www.drdobbs.com/184402053.
FWITKIO_API void write() override
Defines an writer interface.
#define fwCoreClassDefinitionsWithFactoryMacro(_classinfo_, _parameters_, _factory_)
Generate common construction methods for classes with one factory.
This class is derived by reader/writer.
The namespace fwItkIO contains reader, writer and helper for itk image.
#define fwCoreAllowSharedFromThis()
Generate getSptr and getConstSptr methods.
generic class for all object writers.