vtkSMViewExportHelper.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
13 #ifndef vtkSMViewExportHelper_h
14 #define vtkSMViewExportHelper_h
15 
16 #include "vtkRemotingExportModule.h" //needed for exports
17 #include "vtkSMObject.h"
18 
19 #include <string> // for std::string
20 
21 class vtkSMViewProxy;
22 class vtkSMExporterProxy;
23 
24 class VTKREMOTINGEXPORT_EXPORT vtkSMViewExportHelper : public vtkSMObject
25 {
26 public:
27  static vtkSMViewExportHelper* New();
29  void PrintSelf(ostream& os, vtkIndent indent) override;
30 
39  virtual std::string GetSupportedFileTypes(vtkSMViewProxy* view);
40 
45  virtual vtkSMExporterProxy* CreateExporter(const char* filename, vtkSMViewProxy*);
46 
47 protected:
49  ~vtkSMViewExportHelper() override;
50 
51 private:
53  void operator=(const vtkSMViewExportHelper&) = delete;
54 };
55 
56 #endif
vtkSMObject
superclass for most server manager classes
Definition: vtkSMObject.h:17
vtkSMExporterProxy
proxy for view exporters.
Definition: vtkSMExporterProxy.h:22
vtkSMObject::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
vtkSMObject.h
vtkIndent
vtkSMViewProxy
Superclass for all view proxies.
Definition: vtkSMViewProxy.h:42
vtkSMViewExportHelper
helper class to export views.
Definition: vtkSMViewExportHelper.h:24
vtkSMObject::New
static vtkSMObject * New()