33#include <NDEVR/IOFactory.h>
34#include <NDEVR/FileFormat.h>
38 class ImageModelFactory :
public IOFactory
43 virtual void getSupportedFormats(Buffer<FileFormat>& formats,
bool is_read)
override;
44 virtual bool canRead(
const FactoryParameters& file)
override;
45 virtual bool canWrite(
const FactoryParameters& file)
override;
46 virtual bool readFile(FactoryParameters& file)
override;
47 virtual bool writeFile(FactoryParameters& file)
override;
48 virtual void getSupportedFormats(Buffer<FileFormat>& formats, DesignObjectLookup* lookup,
const Buffer<UUID>& models)
override;
49 virtual Buffer<UUID> filterModelsToExport(Buffer<UUID> models_to_check,
const DesignObjectLookup* lookup,
const FileFormat& export_format)
const override;
50 FactoryOptions defaultReadOptions(
const FactoryParameters& file)
const override;
51 FactoryOptions defaultWriteOptions(
const FactoryParameters& file)
const override;
52 FactoryFeatures factoryFeatures(
const FactoryParameters& file,
bool is_import)
const override;