API Documentation
Loading...
Searching...
No Matches
SH3DFactory.h
Go to the documentation of this file.
1#pragma once
2#include "DLLInfo.h"
7#include "Base/Headers/UUID.h"
8namespace NDEVR
9{
10 class File;
11 class Model;
12 class FactoryFeatures;
13 class FactoryOptions;
14 class DesignObjectLookup;
16 {
17 public:
19 static SH3DFactory* DefaultFactory();
20 static FileFormat SH3DFormat();
21 void getSupportedFormats(Buffer<FileFormat>& formats, bool is_read) override;
22 bool canRead(const FactoryParameters& file) override;
23 bool readFile(FactoryParameters& file) override;
24 bool writeFile(FactoryParameters& file) override;
25 bool determineExtension(const File& file, String& extension) override;
26 Buffer<UUID> filterModelsToExport(Buffer<UUID> models_to_check, const DesignObjectLookup* lookup, const FileFormat& export_format) const override;
27 FactoryFeatures factoryFeatures(const FactoryParameters& file, bool is_import) const override;
28 FactoryOptions defaultReadOptions(const FactoryParameters& file) const override;
29 FactoryOptions defaultWriteOptions(const FactoryParameters& file) const override;
30 void setGeneratingSoftwareToTreatAsScan(const Buffer<String>& software);
31 void addGeneratingSoftwareToTreatAsScan(const String& software);
32 void clearGeneratingSoftwareToTreatAsScan();
33 protected:
35 };
36
37
38}
#define SWEET_HOME_INTERFACE_API
Definition DLLInfo.h:74
The equivelent of std::vector but with a bit more control. The basic array unit of the library.
Definition Buffer.hpp:64
Definition DesignObjectLookup.h:61
Definition FactoryFeatures.h:40
Definition FactoryOptions.h:46
Definition FileFormat.h:38
Definition File.h:47
Definition IOFactory.h:99
Definition SH3DFactory.h:16
Buffer< String > m_generating_software_to_treat_as_scan
Definition SH3DFactory.h:34
Definition String.h:40
Definition ACIColor.h:37
Definition IOFactory.h:56