vtkSMExtractWriterProxy.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkSMExtractWriterProxy.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 =========================================================================*/
24 #ifndef vtkSMExtractWriterProxy_h
25 #define vtkSMExtractWriterProxy_h
26 
27 #include "vtkSMProxy.h"
28 
30 
32 {
33 public:
35  void PrintSelf(ostream& os, vtkIndent indent) override;
36 
40  virtual bool Write(vtkSMExtractsController* extractor) = 0;
41 
47  virtual bool CanExtract(vtkSMProxy* proxy) = 0;
48 
53  virtual bool IsExtracting(vtkSMProxy* proxy) = 0;
54 
56 
60  virtual void SetInput(vtkSMProxy* proxy) = 0;
61  virtual vtkSMProxy* GetInput() = 0;
63 protected:
65  ~vtkSMExtractWriterProxy() override;
66 
71  static std::string GenerateExtractsFileName(const std::string& filename, const char* outDir);
72 
73 private:
75  void operator=(const vtkSMExtractWriterProxy&) = delete;
76 };
77 
78 #endif
void PrintSelf(ostream &os, vtkIndent indent) override
#define VTKREMOTINGSERVERMANAGER_EXPORT
abstract class defining extract writer proxy API
proxy for a VTK object(s) on a server
Definition: vtkSMProxy.h:152
void operator=(const vtkSMProxy &)=delete
controller for extract generation