VTK
vtkClientServerCompositePass.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkClientServerCompositePass.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm 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 =========================================================================*/
26 #ifndef vtkClientServerCompositePass_h
27 #define vtkClientServerCompositePass_h
28 
29 #include "vtkRenderingParallelModule.h" // For export macro
30 #include "vtkRenderPass.h"
31 
33 
34 class VTKRENDERINGPARALLEL_EXPORT vtkClientServerCompositePass : public vtkRenderPass
35 {
36 public:
39  void PrintSelf(ostream& os, vtkIndent indent) override;
40 
45  void Render(const vtkRenderState *s) override;
46 
52  void ReleaseGraphicsResources(vtkWindow *w) override;
53 
55 
62  vtkGetObjectMacro(Controller,vtkMultiProcessController);
63  virtual void SetController(vtkMultiProcessController *controller);
65 
67 
72  void SetRenderPass(vtkRenderPass*);
73  vtkGetObjectMacro(RenderPass, vtkRenderPass);
75 
77 
85  void SetPostProcessingRenderPass(vtkRenderPass*);
86  vtkGetObjectMacro(PostProcessingRenderPass, vtkRenderPass);
88 
90 
95  vtkSetMacro(ProcessIsServer,bool);
96  vtkBooleanMacro(ProcessIsServer, bool);
97  vtkGetMacro(ProcessIsServer, bool);
99 
101 
106  vtkSetMacro(ServerSideRendering, bool);
107  vtkBooleanMacro(ServerSideRendering, bool);
108  vtkGetMacro(ServerSideRendering, bool);
110 
111 protected:
113  ~vtkClientServerCompositePass() override;
114 
118 
121 private:
123  void operator=(const vtkClientServerCompositePass&) = delete;
124 
125 };
126 
127 #endif
128 
129 
vtkClientServerCompositePass is a render-pass that can handle client-server image delivery...
vtkMultiProcessController * Controller
window superclass for vtkRenderWindow
Definition: vtkWindow.h:37
Context in which a vtkRenderPass will render.
a simple class to control print indentation
Definition: vtkIndent.h:39
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:58
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Multiprocessing communication superclass.