ParaView
vtkSIWriterProxy.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkSIWriterProxy.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 =========================================================================*/
21 #ifndef vtkSIWriterProxy_h
22 #define vtkSIWriterProxy_h
23 
24 #include "vtkPVServerImplementationCoreModule.h" //needed for exports
25 #include "vtkSISourceProxy.h"
26 
27 class VTKPVSERVERIMPLEMENTATIONCORE_EXPORT vtkSIWriterProxy : public vtkSISourceProxy
28 {
29 public:
30  static vtkSIWriterProxy* New();
32  void PrintSelf(ostream& os, vtkIndent indent);
33 
35 
41  virtual void AddInput(int input_port, vtkAlgorithmOutput* connection, const char* method);
42  virtual void CleanInputs(const char* method);
44 
50  virtual void UpdatePipelineTime(double time);
51 
52 protected:
55 
60  void OnCreateVTKObjects() VTK_OVERRIDE;
61 
65  virtual bool ReadXMLAttributes(vtkPVXMLElement* element);
66 
67  char* FileNameMethod;
68  vtkSetStringMacro(FileNameMethod);
69 
70 private:
71  vtkSIWriterProxy(const vtkSIWriterProxy&) VTK_DELETE_FUNCTION;
72  void operator=(const vtkSIWriterProxy&) VTK_DELETE_FUNCTION;
73 };
74 
75 #endif
vtkSISourceProxy is the server-side helper for a vtkSMSourceProxy.
ServerImplementation for WriterProxy.
virtual void OnCreateVTKObjects()
Called after CreateVTKObjects().
void PrintSelf(ostream &os, vtkIndent indent)
virtual void CleanInputs(const char *method)
These methods are called to add/remove input connections by vtkSIInputProperty.
static vtkSISourceProxy * New()
virtual void AddInput(int input_port, vtkAlgorithmOutput *connection, const char *method)
These methods are called to add/remove input connections by vtkSIInputProperty.
This is used by vtkPVXMLParser to represent an XML document starting at the root element.