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