ParaView
vtkSISourceProxy.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkSISourceProxy.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 =========================================================================*/
25 #ifndef vtkSISourceProxy_h
26 #define vtkSISourceProxy_h
27 
28 #include "vtkPVServerImplementationCoreModule.h" //needed for exports
29 #include "vtkSIProxy.h"
30 
31 class vtkAlgorithm;
32 class vtkAlgorithmOutput;
33 
34 class VTKPVSERVERIMPLEMENTATIONCORE_EXPORT vtkSISourceProxy : public vtkSIProxy
35 {
36 public:
37  static vtkSISourceProxy* New();
38  vtkTypeMacro(vtkSISourceProxy, vtkSIProxy);
39  void PrintSelf(ostream& os, vtkIndent indent);
40 
44  virtual vtkAlgorithmOutput* GetOutputPort(int port);
45 
49  virtual void UpdatePipelineInformation();
50 
55  virtual void UpdatePipeline(int port, double time, bool doTime);
56 
60  virtual void SetupSelectionProxy(int port, vtkSIProxy* extractSelection);
61 
66  virtual void SetDisablePipelineExecution(bool value) { this->DisablePipelineExecution = value; }
67 
71  void RecreateVTKObjects() VTK_OVERRIDE;
72 
73 protected:
76 
80  bool CreateVTKObjects() VTK_OVERRIDE;
81 
85  virtual bool ReadXMLAttributes(vtkPVXMLElement* element);
86 
92  virtual bool CreateOutputPorts();
93 
95 
98  void MarkStartEvent();
99  void MarkEndEvent();
101 
103  vtkSetStringMacro(ExecutiveName);
105 
107 
108 private:
109  vtkSISourceProxy(const vtkSISourceProxy&) VTK_DELETE_FUNCTION;
110  void operator=(const vtkSISourceProxy&) VTK_DELETE_FUNCTION;
111 
112  class vtkInternals;
113  vtkInternals* Internals;
114  bool PortsCreated;
115 };
116 
117 #endif
virtual void UpdatePipelineInformation()
Triggers UpdateInformation() on vtkObject if possible.
Definition: vtkSIProxy.h:120
virtual bool ReadXMLAttributes(vtkPVXMLElement *element)
Parses the XML to create property/subproxy helpers.
vtkSISourceProxy is the server-side helper for a vtkSMSourceProxy.
virtual bool CreateVTKObjects()
Creates the VTK objects.
void PrintSelf(ostream &os, vtkIndent indent)
vtkSIProxy is the server-implementation for a vtkSMProxy that helps the vtkSMProxy with managing/upda...
Definition: vtkSIProxy.h:34
static vtkSIProxy * New()
virtual void RecreateVTKObjects()
Called by vtkSMProxy::RecreateVTKObjects() to re-create the VTK objects.
virtual void SetDisablePipelineExecution(bool value)
Allow to shut down pipeline execution.
This is used by vtkPVXMLParser to represent an XML document starting at the root element.
vtkSICompoundSourceProxy is the server-side helper for a vtkSMCompoundSourceProxy.