OpenLexocad  27.0
WebGL_Exporter.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <OpenLxApp/Document.h>
4 #include <OpenLxApp/Exporter.h>
6 
7 
8 namespace OpenLxApp
9 {
14 {
15 public:
16  WebGL_Exporter(std::shared_ptr<OpenLxApp::Document> aDoc);
17  WebGL_Exporter() = delete;
18  virtual ~WebGL_Exporter() {}
19  static std::shared_ptr<WebGL_Exporter> createIn(std::shared_ptr<OpenLxApp::Document> aDoc);
20 
21  void setSingleHtmlFile(bool aFlag);
22  bool getSingleHtmlFile() const;
23  virtual int exportFile(const Base::String& aFileOrDirName) override;
24 
25 private:
26  bool _singleHtmlFile = false;
27 };
28 } // namespace OpenLxApp
A Utf-16 (windows) or ucs4 (unix) encoded string class.
Definition: String.h:29
virtual ~WebGL_Exporter()
Definition: WebGL_Exporter.h:18
#define OPENLXAPP_EXPORT
Definition: OpenLxApp_defines.h:12
Definition: ActiveScript.h:9
Base class of all Exporters.
Definition: Exporter.h:16
Exports the visible Elements of the Document to an WebGl (html) file.
Definition: WebGL_Exporter.h:13