VTK  9.2.6
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 "vtkRenderPass.h"
30#include "vtkRenderingParallelModule.h" // For export macro
31
33
34class VTKRENDERINGPARALLEL_EXPORT vtkClientServerCompositePass : public vtkRenderPass
35{
36public:
39 void PrintSelf(ostream& os, vtkIndent indent) override;
40
45 void Render(const vtkRenderState* s) override;
46
53
55
62 vtkGetObjectMacro(Controller, vtkMultiProcessController);
63 virtual void SetController(vtkMultiProcessController* controller);
65
67
73 vtkGetObjectMacro(RenderPass, vtkRenderPass);
75
77
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
111protected:
114
118
121
122private:
124 void operator=(const vtkClientServerCompositePass&) = delete;
125};
126
127#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.
a simple class to control print indentation
Definition vtkIndent.h:40
Multiprocessing communication superclass.
Perform part of the rendering of a vtkRenderer.
Context in which a vtkRenderPass will render.
window superclass for vtkRenderWindow
Definition vtkWindow.h:39