vtkSMRenderViewExporterProxy.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
12 #ifndef vtkSMRenderViewExporterProxy_h
13 #define vtkSMRenderViewExporterProxy_h
14 
15 #include "vtkRemotingExportModule.h" //needed for exports
16 #include "vtkSMExporterProxy.h"
17 
18 #include <map>
19 #include <string>
20 
22 class vtkActor;
23 
25 {
26 public:
29  void PrintSelf(ostream& os, vtkIndent indent) override;
30 
34  void Write() override;
35 
39  void SetView(vtkSMViewProxy* view) override;
40 
45  bool CanExport(vtkSMProxy*) override;
46 
47 protected:
49  ~vtkSMRenderViewExporterProxy() override;
50 
51 private:
53  void operator=(const vtkSMRenderViewExporterProxy&) = delete;
54 
59  std::map<std::string, vtkActor*> GetNamedActorMap(vtkSMRenderViewProxy* rv);
60 };
61 
62 #endif
proxy for vtkExporter subclasses which work with render windows.
#define VTKREMOTINGEXPORT_EXPORT
proxy for view exporters.
virtual bool CanExport(vtkSMProxy *)=0
Returns if the view can be exported.
virtual void Write()=0
Exports the view.
Superclass for all view proxies.
implementation for View that includes render window and renderers.
virtual void SetView(vtkSMViewProxy *view)
Set the view proxy to export.
static vtkSMProxy * New()
proxy for a VTK object(s) on a server
Definition: vtkSMProxy.h:140
void PrintSelf(ostream &os, vtkIndent indent) override