ParaView
vtkSMExporterProxy.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkSMExporterProxy.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 =========================================================================*/
23 #ifndef vtkSMExporterProxy_h
24 #define vtkSMExporterProxy_h
25 
26 #include "vtkPVServerManagerDefaultModule.h" //needed for exports
27 #include "vtkSMProxy.h"
28 
29 class vtkSMViewProxy;
30 
31 class VTKPVSERVERMANAGERDEFAULT_EXPORT vtkSMExporterProxy : public vtkSMProxy
32 {
33 public:
35  void PrintSelf(ostream& os, vtkIndent indent);
36 
38 
41  void SetView(vtkSMViewProxy* view);
42  vtkGetObjectMacro(View, vtkSMViewProxy);
44 
48  virtual void Write() = 0;
49 
54  virtual bool CanExport(vtkSMProxy*) = 0;
55 
57 
60  vtkGetStringMacro(FileExtension);
62 
63 protected:
70 
71  vtkSetStringMacro(FileExtension);
74 
75 private:
76  vtkSMExporterProxy(const vtkSMExporterProxy&) VTK_DELETE_FUNCTION;
77  void operator=(const vtkSMExporterProxy&) VTK_DELETE_FUNCTION;
78 };
79 
80 #endif
proxy for view exporters.
virtual int ReadXMLAttributes(vtkSMSessionProxyManager *pm, vtkPVXMLElement *element)
Read attributes from an XML element.
Superclass for all view proxies.
vtkSMViewProxy * View
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
This is used by vtkPVXMLParser to represent an XML document starting at the root element.