3#include <cgv/base/base.h>
4#include <cgv/base/register.h>
5#include <cgv/data/data_view.h>
13class CGV_API image_writer;
29 virtual bool supports_multiple_images()
const;
31 virtual bool open(
const std::string& file_name) = 0;
51 bool set_void(
const std::string& property,
const std::string& type,
const void* value);
53 bool get_void(
const std::string& property,
const std::string& type,
void* value);
60 std::string get_type_name()
const;
62 static const std::string& get_supported_extensions(
char sep =
';');
64 static std::string construct_filter_string();
66 std::string get_property_declarations();
68 bool is_format_supported(
const cgv::data::component_format& cf,
const std::vector<cgv::data::component_format>* palette_formats = 0)
const;
72 const std::string& get_last_error()
const;
75 bool write_image(
const cgv::data::const_data_view& dv,
const std::vector<cgv::data::const_data_view>* palettes = 0,
double duration = 0);
79 bool supports_multiple_images()
const;
86#include <cgv/config/lib_end.h>
base class for all classes that can be registered with support for dynamic properties (see also secti...
The const_data_view has the functionality of the data_view but uses a const pointer and therefore doe...
interfaces that add several listeners and objects.