ParaView
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 "vtkPVServerManagerDefaultModule.h" //needed for exports
27 
28 class VTKPVSERVERMANAGERDEFAULT_EXPORT vtkSMGL2PSExporterProxy : public vtkSMRenderViewExporterProxy
29 {
30 public:
31  static vtkSMGL2PSExporterProxy* New();
33  void PrintSelf(ostream& os, vtkIndent indent);
34 
40  bool CanExport(vtkSMProxy*);
41 
45  void Write();
46 
51 
52 protected:
55 
57 
60  enum
61  {
64  RenderView
65  };
66  int ViewType;
68 
69 private:
70  vtkSMGL2PSExporterProxy(const vtkSMGL2PSExporterProxy&) VTK_DELETE_FUNCTION;
71  void operator=(const vtkSMGL2PSExporterProxy&) VTK_DELETE_FUNCTION;
72 };
73 
74 #endif
Proxy for vtkPVGL2PSExporter.
proxy for vtkExporter subclasses which work with render windows.
static vtkSMRenderViewExporterProxy * New()
virtual bool CanExport(vtkSMProxy *)
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...
void PrintSelf(ostream &os, vtkIndent indent)
proxy for a VTK object(s) on a server
Definition: vtkSMProxy.h:152
virtual void Write()
Exports the view.
This is used by vtkPVXMLParser to represent an XML document starting at the root element.
virtual int ReadXMLAttributes(vtkSMSessionProxyManager *pm, vtkPVXMLElement *element)
Read attributes from an XML element.