3 #include <cgv/base/base.h>
4 #include <cgv/data/data_view.h>
14 class CGV_API image_writer;
30 virtual bool supports_multiple_images()
const;
32 virtual bool open(
const std::string& file_name) = 0;
52 bool set_void(
const std::string& property,
const std::string& type,
const void* value);
54 bool get_void(
const std::string& property,
const std::string& type,
void* value);
63 static const std::string& get_supported_extensions(
char sep =
';');
65 static std::string construct_filter_string();
67 std::string get_property_declarations();
69 bool is_format_supported(
const component_format& cf,
const std::vector<component_format>* palette_formats = 0)
const;
73 const std::string& get_last_error()
const;
76 bool write_image(
const const_data_view& dv,
const std::vector<const_data_view>* palettes = 0,
double duration = 0);
80 bool supports_multiple_images()
const;
87 #include <cgv/config/lib_end.h>
Definition: data_view.h:211
namespace for data management components
Definition: ascii_io_reflection_handlers.cxx:15
const char * get_type_name(TypeId tid)
function that returns the name of a type specified through TypeId
Definition: type_id.cxx:117
the cgv namespace
Definition: vr_calib.cxx:9