VTK  9.3.1
vtkClientServerCompositePass.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
14 #ifndef vtkClientServerCompositePass_h
15 #define vtkClientServerCompositePass_h
16 
17 #include "vtkRenderPass.h"
18 #include "vtkRenderingParallelModule.h" // For export macro
19 
20 VTK_ABI_NAMESPACE_BEGIN
22 
23 class VTKRENDERINGPARALLEL_EXPORT vtkClientServerCompositePass : public vtkRenderPass
24 {
25 public:
28  void PrintSelf(ostream& os, vtkIndent indent) override;
29 
34  void Render(const vtkRenderState* s) override;
35 
41  void ReleaseGraphicsResources(vtkWindow* w) override;
42 
44 
51  vtkGetObjectMacro(Controller, vtkMultiProcessController);
52  virtual void SetController(vtkMultiProcessController* controller);
54 
56 
61  void SetRenderPass(vtkRenderPass*);
62  vtkGetObjectMacro(RenderPass, vtkRenderPass);
64 
66 
74  void SetPostProcessingRenderPass(vtkRenderPass*);
75  vtkGetObjectMacro(PostProcessingRenderPass, vtkRenderPass);
77 
79 
84  vtkSetMacro(ProcessIsServer, bool);
85  vtkBooleanMacro(ProcessIsServer, bool);
86  vtkGetMacro(ProcessIsServer, bool);
88 
90 
95  vtkSetMacro(ServerSideRendering, bool);
96  vtkBooleanMacro(ServerSideRendering, bool);
97  vtkGetMacro(ServerSideRendering, bool);
99 
100 protected:
102  ~vtkClientServerCompositePass() override;
103 
107 
110 
111 private:
113  void operator=(const vtkClientServerCompositePass&) = delete;
114 };
115 
116 VTK_ABI_NAMESPACE_END
117 #endif
vtkClientServerCompositePass is a render-pass that can handle client-server image delivery...
vtkMultiProcessController * Controller
window superclass for vtkRenderWindow
Definition: vtkWindow.h:27
Context in which a vtkRenderPass will render.
a simple class to control print indentation
Definition: vtkIndent.h:28
virtual void Render(const vtkRenderState *s)=0
Perform rendering according to a render state s.
virtual void ReleaseGraphicsResources(vtkWindow *w)
Release graphics resources and ask components to release their own resources.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
Perform part of the rendering of a vtkRenderer.
Definition: vtkRenderPass.h:48
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Multiprocessing communication superclass.