7 #ifndef __FWITKIO_JPGIMAGEWRITER_HPP__ 8 #define __FWITKIO_JPGIMAGEWRITER_HPP__ 10 #include "fwItkIO/config.hpp" 12 #include <fwData/Image.hpp> 13 #include <fwData/location/Folder.hpp> 15 #include <fwDataIO/writer/GenericObjectWriter.hpp> 17 #include <fwTools/ProgressAdviser.hpp> 19 #include <boost/filesystem/path.hpp> 33 ::fwDataIO::writer::factory::New< JpgImageWriter >
41 FWITKIO_API
void write()
override;
43 FWITKIO_API std::string
extension()
override;
48 #endif // __FWITKIO_JPGIMAGEWRITER_HPP__ FWITKIO_API void write() override
Defines an writer interface.
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.
#define fwCoreClassDefinitionsWithFactoryMacro(_classinfo_, _parameters_, _factory_)
Generate common construction methods for classes with one factory.
The namespace fwItkIO contains reader, writer and helper for itk image.
#define fwCoreAllowSharedFromThis()
Generate getSptr and getConstSptr methods.
This class is derived by reader/writer.
generic class for all object writers.