Writer for Images files.
More...
#include <cimglayerwriter.h>
|
|
| CImgLayerWriter (const CImgLayerWriter &rhs)=default |
|
CImgLayerWriter & | operator= (const CImgLayerWriter &that)=default |
| virtual CImgLayerWriter * | clone () const override |
| virtual void | writeData (const Layer *data, const std::filesystem::path &filePath) const override |
| | Write data to filePath.
|
| virtual std::unique_ptr< std::vector< unsigned char > > | writeDataToBuffer (const Layer *data, std::string_view fileExtension) const override |
|
DataWriterType & | operator= (const DataWriterType &that)=default |
|
| DataWriter (const DataWriter &rhs) |
|
DataWriter & | operator= (const DataWriter &that) |
|
| DataWriter (DataWriter &&rhs) noexcept=default |
|
DataWriter & | operator= (DataWriter &&that) noexcept=default |
|
const std::vector< FileExtension > & | getExtensions () const |
|
void | addExtension (FileExtension ext) |
|
Overwrite | getOverwrite () const |
|
void | setOverwrite (Overwrite val) |
| void | checkOverwrite (const std::filesystem::path &path) const |
| virtual bool | setOption (std::string_view key, std::any value) |
| | Set writer specific options See the documentation of the specific writer for the available options.
|
| virtual std::any | getOption (std::string_view key) const |
| | Query the value of a writer specific option.
|
|
template<typename T> |
| bool | writesType () const |
|
| static void | checkOverwrite (const std::filesystem::path &path, Overwrite overwrite) |
| virtual bool | canWrite (const std::type_index &index) const override |
| std::ofstream | open (const std::filesystem::path &path, std::ios_base::openmode mode=std::ios_base::out) const |
|
Overwrite | overwrite_ |
|
std::vector< FileExtension > | extensions_ |
◆ clone()
| virtual CImgLayerWriter * inviwo::CImgLayerWriter::clone |
( |
| ) |
const |
|
overridevirtual |
◆ writeData()
| virtual void inviwo::CImgLayerWriter::writeData |
( |
const Layer * | data, |
|
|
const std::filesystem::path & | filePath ) const |
|
overridevirtual |
◆ writeDataToBuffer()
| virtual std::unique_ptr< std::vector< unsigned char > > inviwo::CImgLayerWriter::writeDataToBuffer |
( |
const Layer * | data, |
|
|
std::string_view | fileExtension ) const |
|
overridevirtual |
The documentation for this class was generated from the following file: