API Documentation
|
Writes and Reads from various DXF File types using the IOFactory interface. Optionally handles resolving IDs and UUIDs. More...
#include <DXFFactory.h>
Public Member Functions | |
void | addWriteModifier (CADWriteModifier *modifier) |
FactoryOptions | defaultReadOptions (const FactoryParameters &file) const override |
FactoryOptions | defaultWriteOptions (const FactoryParameters &file) const override |
bool | determineExtension (const File &file, String &extension) override |
DXFFactory () | |
FactoryFeatures | factoryFeatures (const FactoryParameters &file, bool is_import) const override |
virtual void | getSupportedFormats (Buffer< FileFormat > &formats, bool is_read) override |
virtual bool | readFile (FactoryParameters &file) override |
virtual bool | writeFile (FactoryParameters &file) override |
Public Member Functions inherited from IOFactory | |
virtual bool | canRead (const FactoryParameters &file) |
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 Buffer< UUID > | filterModelsToExport (Buffer< UUID > models_to_check, const DesignObjectLookup *lookup, const FileFormat &export_format) 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 FileFormat | AutodeskDXF () |
static constexpr const char * | CustomOptionsAutoName () |
static constexpr const char * | CustomOptionsDXFBinary () |
static constexpr const char * | CustomOptionsDXFClearHandleManager () |
static constexpr const char * | CustomOptionsDXFDefaultMeshFormat () |
static constexpr const char * | CustomOptionsDXFHideGridlines () |
static constexpr const char * | CustomOptionsDXFVersion () |
static constexpr const char * | CustomOptionsGroupImport () |
static constexpr const char * | CustomOptionsLabel () |
static constexpr const char * | CustomOptionsTextFaceCamera () |
static FileFormat | FlatDXF () |
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 Member Functions | |
bool | writeDXFBlocks (DXFWriter &writer, Dictionary< UUID, BlockData > block_data, FactoryParameters ¶ms, CADGeometryWriter &geo_write_options) |
bool | writeDXFNoBlocks (DXFWriter &writer, Dictionary< UUID, BlockData > block_data, FactoryParameters ¶ms, CADGeometryWriter &geo_write_options) |
Static Protected Member Functions | |
static void | setupFromCustomOptions (DXFWriter &writer, const GenericOptionGroup &group, CADGeometryWriter &options) |
Protected Attributes | |
DynamicPointer< CADHandleManager > | m_handle_manager |
Buffer< CADWriteModifier * > | m_write_modifiers |
Writes and Reads from various DXF File types using the IOFactory interface. Optionally handles resolving IDs and UUIDs.
DXFFactory | ( | ) |
|
inline |
|
static |
|
inlinestaticconstexpr |
|
inlinestaticconstexpr |
|
inlinestaticconstexpr |
|
inlinestaticconstexpr |
|
inlinestaticconstexpr |
|
inlinestaticconstexpr |
|
inlinestaticconstexpr |
|
inlinestaticconstexpr |
|
inlinestaticconstexpr |
|
overridevirtual |
Reimplemented from IOFactory.
|
overridevirtual |
Reimplemented from IOFactory.
Reimplemented from IOFactory.
|
overridevirtual |
Implements IOFactory.
|
static |
|
overridevirtual |
Implements IOFactory.
|
overridevirtual |
Implements IOFactory.
|
staticprotected |
|
protected |
|
protected |
|
overridevirtual |
Implements IOFactory.
|
protected |
|
protected |