vtkSMImporterProxy.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
10 #ifndef vtkSMImporterProxy_h
11 #define vtkSMImporterProxy_h
12 
13 #include "vtkRemotingImportModule.h" // for export macro
14 
15 #include "vtkAOSDataArrayTemplate.h" // for arg
16 #include "vtkSMProxy.h"
17 #include "vtkSmartPointer.h"
18 
19 #include <memory> // for unique_ptr
20 
21 class vtkDataAssembly;
22 class vtkPVXMLElement;
25 
27 {
28 public:
29  static vtkSMImporterProxy* New();
31  void PrintSelf(ostream& os, vtkIndent indent) override;
32 
36  void Import(vtkSMRenderViewProxy* renderView);
37 
39 
42  const std::vector<std::string>& GetFileExtensions() const;
44 
45  void UpdatePipelineInformation() override;
46 
47 protected:
49  ~vtkSMImporterProxy() override;
50 
54  int ReadXMLAttributes(vtkSMSessionProxyManager* pxm, vtkPVXMLElement* element) override;
55 
56 private:
57  vtkSMImporterProxy(const vtkSMImporterProxy&) = delete;
58  void operator=(const vtkSMImporterProxy&) = delete;
59 
60  class vtkInternals;
61  std::unique_ptr<vtkInternals> Internals;
62 };
63 
64 #endif
virtual void UpdatePipelineInformation()
This method simply iterates over subproxies and calls UpdatePipelineInformation() on them...
void PrintSelf(ostream &os, vtkIndent indent) override
virtual int ReadXMLAttributes(vtkSMSessionProxyManager *pm, vtkPVXMLElement *element)
Read attributes from an XML element.
implementation for View that includes render window and renderers.
#define VTKREMOTINGIMPORT_EXPORT
The vtkSMSessionProxyManager is esponsible for creating and managing proxies for a given session...
static vtkSMProxy * New()
proxy for a VTK object(s) on a server
Definition: vtkSMProxy.h:140
void operator=(const vtkSMProxy &)=delete
vtkSMProxyInternals * Internals
Definition: vtkSMProxy.h:1002
This is used by vtkPVXMLParser to represent an XML document starting at the root element.
proxy for vtkImporter classes.