API Documentation
Loading...
Searching...
No Matches
SH3DFactory Class Reference

#include <SH3DFactory.h>

Inheritance diagram for SH3DFactory:
[legend]
Collaboration diagram for SH3DFactory:
[legend]

Public Member Functions

 SH3DFactory ()
 
void getSupportedFormats (Buffer< FileFormat > &formats, bool is_read) override
 
bool canRead (const FactoryParameters &file) override
 
bool readFile (FactoryParameters &file) override
 
bool writeFile (FactoryParameters &file) override
 
bool determineExtension (const File &file, String &extension) override
 
Buffer< UUIDfilterModelsToExport (Buffer< UUID > models_to_check, const DesignObjectLookup *lookup, const FileFormat &export_format) const override
 
FactoryFeatures factoryFeatures (const FactoryParameters &file, bool is_import) const override
 
FactoryOptions defaultReadOptions (const FactoryParameters &file) const override
 
FactoryOptions defaultWriteOptions (const FactoryParameters &file) const override
 
void setGeneratingSoftwareToTreatAsScan (const Buffer< String > &software)
 
void addGeneratingSoftwareToTreatAsScan (const String &software)
 
void clearGeneratingSoftwareToTreatAsScan ()
 
- Public Member Functions inherited from IOFactory
 IOFactory (const String &factory_name)
 
const Stringname () 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 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 canWrite (const FactoryParameters &file)
 
virtual bool canRead (const FileFormat &file)
 
virtual bool canWrite (const FileFormat &file)
 
Buffer< ScenereadScenesFromFile (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 SH3DFactoryDefaultFactory ()
 
static FileFormat SH3DFormat ()
 
- 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 Attributes

Buffer< Stringm_generating_software_to_treat_as_scan
 

Constructor & Destructor Documentation

◆ SH3DFactory()

Member Function Documentation

◆ addGeneratingSoftwareToTreatAsScan()

void addGeneratingSoftwareToTreatAsScan ( const String & software)

◆ canRead()

bool canRead ( const FactoryParameters & file)
overridevirtual

Reimplemented from IOFactory.

◆ clearGeneratingSoftwareToTreatAsScan()

void clearGeneratingSoftwareToTreatAsScan ( )

◆ DefaultFactory()

SH3DFactory * DefaultFactory ( )
static

◆ defaultReadOptions()

FactoryOptions defaultReadOptions ( const FactoryParameters & file) const
overridevirtual

Reimplemented from IOFactory.

◆ defaultWriteOptions()

FactoryOptions defaultWriteOptions ( const FactoryParameters & file) const
overridevirtual

Reimplemented from IOFactory.

◆ determineExtension()

bool determineExtension ( const File & file,
String & extension )
overridevirtual

Reimplemented from IOFactory.

◆ factoryFeatures()

FactoryFeatures factoryFeatures ( const FactoryParameters & file,
bool is_import ) const
overridevirtual

Implements IOFactory.

◆ filterModelsToExport()

Buffer< UUID > filterModelsToExport ( Buffer< UUID > models_to_check,
const DesignObjectLookup * lookup,
const FileFormat & export_format ) const
overridevirtual

Reimplemented from IOFactory.

◆ getSupportedFormats()

void getSupportedFormats ( Buffer< FileFormat > & formats,
bool is_read )
overridevirtual

Implements IOFactory.

◆ readFile()

bool readFile ( FactoryParameters & file)
overridevirtual

Implements IOFactory.

◆ setGeneratingSoftwareToTreatAsScan()

void setGeneratingSoftwareToTreatAsScan ( const Buffer< String > & software)

◆ SH3DFormat()

FileFormat SH3DFormat ( )
static

◆ writeFile()

bool writeFile ( FactoryParameters & file)
overridevirtual

Implements IOFactory.

Member Data Documentation

◆ m_generating_software_to_treat_as_scan

Buffer<String> m_generating_software_to_treat_as_scan
protected

The documentation for this class was generated from the following files: