vtkSMViewExportHelper.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkSMViewExportHelper.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 =========================================================================*/
25 #ifndef vtkSMViewExportHelper_h
26 #define vtkSMViewExportHelper_h
27 
28 #include "vtkRemotingExportModule.h" //needed for exports
29 #include "vtkSMObject.h"
30 
31 #include <string> // for std::string
32 
33 class vtkSMViewProxy;
34 class vtkSMExporterProxy;
35 
37 {
38 public:
39  static vtkSMViewExportHelper* New();
41  void PrintSelf(ostream& os, vtkIndent indent) override;
42 
51  virtual std::string GetSupportedFileTypes(vtkSMViewProxy* view);
52 
57  virtual vtkSMExporterProxy* CreateExporter(const char* filename, vtkSMViewProxy*);
58 
59 protected:
61  ~vtkSMViewExportHelper() override;
62 
63 private:
65  void operator=(const vtkSMViewExportHelper&) = delete;
66 };
67 
68 #endif
#define VTKREMOTINGEXPORT_EXPORT
proxy for view exporters.
Superclass for all view proxies.
superclass for most server manager classes
Definition: vtkSMObject.h:29
helper class to export views.
static vtkSMObject * New()
void PrintSelf(ostream &os, vtkIndent indent) override