vtkPVWebExporter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkPVWebExporter.h
5 
6  Copyright (c) Kitware, Inc.
7  All rights reserved.
8  See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
23 #ifndef vtkPVWebExporter_h
24 #define vtkPVWebExporter_h
25 
26 #include "vtkJSONSceneExporter.h"
27 #include "vtkRemotingExportModule.h" // needed for exports
28 
29 class VTKREMOTINGEXPORT_EXPORT vtkPVWebExporter : public vtkJSONSceneExporter
30 {
31 public:
32  static vtkPVWebExporter* New();
33  vtkTypeMacro(vtkPVWebExporter, vtkJSONSceneExporter);
34  void PrintSelf(ostream& os, vtkIndent indent) override;
35 
37 
40  vtkSetStringMacro(ParaViewGlanceHTML);
41  vtkGetStringMacro(ParaViewGlanceHTML);
43 
44 protected:
46  ~vtkPVWebExporter() override;
47 
48  // Decorate method to enable zip bundling
49  void Write() override;
50 
51 private:
52  vtkPVWebExporter(const vtkPVWebExporter&) = delete;
53  void operator=(const vtkPVWebExporter&) = delete;
54 
55  char* ParaViewGlanceHTML;
56 };
57 
58 #endif
#define VTKREMOTINGEXPORT_EXPORT
vtkPVWebExporter is used to produce vtkjs export in the ParaView application.