Writes to Sweet Home 3D file using the IOFactory interface. More...
#include <SH3DFactory.h>
Public Member Functions | |
void | addGeneratingSoftwareToTreatAsScan (const String &software) |
bool | canRead (const FactoryParameters &file) override |
void | clearGeneratingSoftwareToTreatAsScan () |
FactoryOptions | defaultReadOptions (const FactoryParameters &file) const override |
FactoryOptions | defaultWriteOptions (const FactoryParameters &file) const override |
bool | determineExtension (const File &file, String &extension) override |
FactoryFeatures | factoryFeatures (const FactoryParameters &file, bool is_import) const override |
Buffer< UUID > | filterModelsToExport (Buffer< UUID > models_to_check, const DesignObjectLookup *lookup, const FileFormat &export_format) const override |
void | getSupportedFormats (Buffer< FileFormat > &formats, bool is_read) override |
bool | readFile (FactoryParameters &file) override |
void | setGeneratingSoftwareToTreatAsScan (const Buffer< String > &software) |
SH3DFactory () | |
bool | writeFile (FactoryParameters &file) override |
Public Member Functions inherited from IOFactory | |
virtual bool | canRead (const File &file) |
virtual bool | canRead (const FileFormat &file) |
virtual bool | canWrite (const FactoryParameters &file) |
virtual bool | canWrite (const File &file) |
virtual bool | canWrite (const FileFormat &file) |
String | factoryReadAppFeature () const |
String | factoryWriteAppFeature () const |
virtual String | getIcon (const File &file) |
void | getSupportedFormats (Buffer< FileFormat > &formats) |
virtual void | getSupportedFormats (Buffer< FileFormat > &formats, const File &file) |
virtual void | getSupportedFormats (Buffer< FileFormat > &formats, DesignObjectLookup *lookup, const Buffer< UUID > &models) |
virtual void | getSupportedFormatsByModelType (Buffer< FileFormat > &formats, bool is_read, const String &model_type) |
virtual void | getSupportedFormatsForExtension (Buffer< FileFormat > &formats, bool is_read, const String &extension) |
IOFactory (const String &factory_name) | |
virtual bool | isAutoEnabled () const |
virtual bool | isFactoryEnabled (bool is_read) const |
const String & | name () const |
bool | readFileWithDefaultSettings (const File &file, DesignObjectLookup *lookup) |
Buffer< Scene > | readScenesFromFile (const File &file) |
void | throwIfNotEnabled (bool is_read) |
virtual bool | updateFromFile (const FactoryParameters &file, const FactoryOptions &old_options) |
bool | writeScenesToFile (const File &file, const Buffer< Scene > &scene) |
virtual | ~IOFactory () |
Static Public Member Functions | |
static SH3DFactory * | DefaultFactory () |
static FileFormat | SH3DFormat () |
Static Public Member Functions inherited from IOFactory | |
static void | EnableExtension (const String &extension, const String &read_password, const String &write_password) |
static void | EnableFactory (const String &factory, const String &read_password, const String &write_password) |
static void | EnableFactory (IOFactory *factory, const String &read_password, const String &write_password) |
Protected Attributes | |
Buffer< String > | m_generating_software_to_treat_as_scan |
Writes to Sweet Home 3D file using the IOFactory interface.
SH3DFactory | ( | ) |
void addGeneratingSoftwareToTreatAsScan | ( | const String & | software | ) |
|
overridevirtual |
Reimplemented from IOFactory.
void clearGeneratingSoftwareToTreatAsScan | ( | ) |
|
static |
|
overridevirtual |
Reimplemented from IOFactory.
|
overridevirtual |
Reimplemented from IOFactory.
Reimplemented from IOFactory.
|
overridevirtual |
Implements IOFactory.
|
overridevirtual |
Reimplemented from IOFactory.
|
overridevirtual |
Implements IOFactory.
|
overridevirtual |
Implements IOFactory.
|
static |
|
overridevirtual |
Implements IOFactory.