VTK  9.1.0
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=========================================================================*/
23#ifndef vtkClientServerCompositePass_h
24#define vtkClientServerCompositePass_h
25
26#include "vtkRenderPass.h"
27#include "vtkRenderingParallelModule.h" // For export macro
28
30
31class VTKRENDERINGPARALLEL_EXPORT vtkClientServerCompositePass : public vtkRenderPass
32{
33public:
36 void PrintSelf(ostream& os, vtkIndent indent) override;
37
42 void Render(const vtkRenderState* s) override;
43
50
52
59 vtkGetObjectMacro(Controller, vtkMultiProcessController);
60 virtual void SetController(vtkMultiProcessController* controller);
62
64
70 vtkGetObjectMacro(RenderPass, vtkRenderPass);
72
74
83 vtkGetObjectMacro(PostProcessingRenderPass, vtkRenderPass);
85
87
92 vtkSetMacro(ProcessIsServer, bool);
93 vtkBooleanMacro(ProcessIsServer, bool);
94 vtkGetMacro(ProcessIsServer, bool);
96
98
103 vtkSetMacro(ServerSideRendering, bool);
104 vtkBooleanMacro(ServerSideRendering, bool);
105 vtkGetMacro(ServerSideRendering, bool);
107
108protected:
111
115
118
119private:
121 void operator=(const vtkClientServerCompositePass&) = delete;
122};
123
124#endif
vtkClientServerCompositePass is a render-pass that can handle client-server image delivery.
virtual void SetController(vtkMultiProcessController *controller)
Controller If it is NULL, nothing will be rendered and a warning will be emitted.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetPostProcessingRenderPass(vtkRenderPass *)
Set/Get the optional post-fetch render pass.
static vtkClientServerCompositePass * New()
~vtkClientServerCompositePass() override
void ReleaseGraphicsResources(vtkWindow *w) override
Release graphics resources and ask components to release their own resources.
void Render(const vtkRenderState *s) override
Perform rendering according to a render state s.
void SetRenderPass(vtkRenderPass *)
Get/Set the render pass used to do the actual rendering.
vtkMultiProcessController * Controller
a simple class to control print indentation
Definition: vtkIndent.h:113
Multiprocessing communication superclass.
Perform part of the rendering of a vtkRenderer.
Definition: vtkRenderPass.h:57
Context in which a vtkRenderPass will render.
window superclass for vtkRenderWindow
Definition: vtkWindow.h:39