vtkSMGL2PSExporterProxy.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkSMGL2PSExporterProxy.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 =========================================================================*/
22 #ifndef vtkSMGL2PSExporterProxy_h
23 #define vtkSMGL2PSExporterProxy_h
24 
25 #include "vtkRemotingExportModule.h" //needed for exports
27 
29 {
30 public:
31  static vtkSMGL2PSExporterProxy* New();
33  void PrintSelf(ostream& os, vtkIndent indent) override;
34 
40  bool CanExport(vtkSMProxy*) override;
41 
45  void Write() override;
46 
51 
52 protected:
54  ~vtkSMGL2PSExporterProxy() override;
55 
57 
60  enum
61  {
64  RenderView
65  };
66  int ViewType;
68 
69 private:
71  void operator=(const vtkSMGL2PSExporterProxy&) = delete;
72 };
73 
74 #endif
Proxy for vtkPVGL2PSExporter.
proxy for vtkExporter subclasses which work with render windows.
#define VTKREMOTINGEXPORT_EXPORT
static vtkSMRenderViewExporterProxy * New()
int ReadXMLAttributes(vtkSMSessionProxyManager *pm, vtkPVXMLElement *element) override
Read attributes from an XML element.
void PrintSelf(ostream &os, vtkIndent indent) override
bool CanExport(vtkSMProxy *) override
Returns if the view can be exported.
int ViewType
Type of view that this exporter is configured to export.
The vtkSMSessionProxyManager is esponsible for creating and managing proxies for a given session...
proxy for a VTK object(s) on a server
Definition: vtkSMProxy.h:152
This is used by vtkPVXMLParser to represent an XML document starting at the root element.
void Write() override
Exports the view.