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 #include "vtkStdString.h" //needed for vtkStdString.
31 
32 class vtkSMViewProxy;
33 class vtkSMExporterProxy;
34 
35 class VTKREMOTINGEXPORT_EXPORT vtkSMViewExportHelper : public vtkSMObject
36 {
37 public:
38  static vtkSMViewExportHelper* New();
40  void PrintSelf(ostream& os, vtkIndent indent) override;
41 
50  virtual vtkStdString GetSupportedFileTypes(vtkSMViewProxy* view);
51 
56  virtual vtkSMExporterProxy* CreateExporter(const char* filename, vtkSMViewProxy*);
57 
58 protected:
60  ~vtkSMViewExportHelper() override;
61 
62 private:
64  void operator=(const vtkSMViewExportHelper&) = delete;
65 };
66 
67 #endif
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