API Documentation
|
#include <DXFFactory.h>
Public Member Functions | |
NDEVR_CAD_API | DXFFactory () |
virtual NDEVR_CAD_API void | getSupportedFormats (Buffer< FileFormat > &formats, bool is_read) override |
virtual NDEVR_CAD_API bool | readFile (FactoryParameters &file) override |
virtual NDEVR_CAD_API bool | writeFile (FactoryParameters &file) override |
NDEVR_CAD_API bool | determineExtension (const File &file, String &extension) override |
NDEVR_CAD_API FactoryOptions | defaultReadOptions (const FactoryParameters &file) const override |
NDEVR_CAD_API FactoryOptions | defaultWriteOptions (const FactoryParameters &file) const override |
NDEVR_CAD_API FactoryFeatures | factoryFeatures (const FactoryParameters &file, bool is_import) const override |
NDEVR_CAD_API void | addWriteModifier (CADWriteModifier *modifier) |
Public Member Functions inherited from IOFactory | |
IOFactory (const String &factory_name) | |
const String & | name () const |
virtual | ~IOFactory () |
bool | writeScenesToFile (const File &file, const Buffer< Scene > &scene) |
bool | readFileWithDefaultSettings (const File &file, DesignObjectLookup *lookup) |
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 | getSupportedFormatsForExtension (Buffer< FileFormat > &formats, bool is_read, const String &extension) |
virtual void | getSupportedFormatsByModelType (Buffer< FileFormat > &formats, bool is_read, const String &model_type) |
virtual Buffer< UUID > | filterModelsToExport (Buffer< UUID > models_to_check, const DesignObjectLookup *lookup, const FileFormat &export_format) const |
virtual bool | isFactoryEnabled (bool is_read) const |
virtual bool | canRead (const File &file) |
virtual bool | canWrite (const File &file) |
virtual bool | isAutoEnabled () const |
virtual String | getIcon (const File &file) |
virtual bool | canRead (const FactoryParameters &file) |
virtual bool | canWrite (const FactoryParameters &file) |
virtual bool | canRead (const FileFormat &file) |
virtual bool | canWrite (const FileFormat &file) |
Buffer< Scene > | readScenesFromFile (const File &file) |
virtual bool | updateFromFile (const FactoryParameters &file, const FactoryOptions &old_options) |
String | factoryReadAppFeature () const |
String | factoryWriteAppFeature () const |
void | throwIfNotEnabled (bool is_read) |
Static Public Member Functions | |
static NDEVR_CAD_API FileFormat | AutodeskDXF () |
static NDEVR_CAD_API FileFormat | FlatDXF () |
static constexpr const char * | CustomOptionsLabel () |
static constexpr const char * | CustomOptionsAutoName () |
static constexpr const char * | CustomOptionsTextFaceCamera () |
static constexpr const char * | CustomOptionsGroupImport () |
static constexpr const char * | CustomOptionsDXFVersion () |
static constexpr const char * | CustomOptionsDXFBinary () |
static constexpr const char * | CustomOptionsDXFDefaultMeshFormat () |
static constexpr const char * | CustomOptionsDXFHideGridlines () |
static constexpr const char * | CustomOptionsDXFClearHandleManager () |
Static Public Member Functions inherited from IOFactory | |
static void | EnableFactory (IOFactory *factory, const String &read_password, const String &write_password) |
static void | EnableFactory (const String &factory, const String &read_password, const String &write_password) |
static void | EnableExtension (const String &extension, const String &read_password, const String &write_password) |
Protected Member Functions | |
bool | writeDXFNoBlocks (DXFWriter &writer, Dictionary< UUID, BlockData > block_data, FactoryParameters ¶ms, CADGeometryWriter &geo_write_options) |
bool | writeDXFBlocks (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 |
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 |