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
34class VTKRENDERINGPARALLEL_EXPORT vtkClientServerCompositePass : public vtkRenderPass
35{
36public:
39 void PrintSelf(ostream& os, vtkIndent indent);
40
45 virtual void Render(const vtkRenderState *s);
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
121private:
123 void operator=(const vtkClientServerCompositePass&) VTK_DELETE_FUNCTION;
124
125};
126
127#endif
128
129
vtkClientServerCompositePass is a render-pass that can handle client-server image delivery.
virtual void SetController(vtkMultiProcessController *controller)
void PrintSelf(ostream &os, vtkIndent indent)
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()
void SetRenderPass(vtkRenderPass *)
Get/Set the render pass used to do the actual rendering.
virtual void Render(const vtkRenderState *s)
Perform rendering according to a render state s.
vtkMultiProcessController * Controller
void ReleaseGraphicsResources(vtkWindow *w)
Release graphics resources and ask components to release their own resources.
a simple class to control print indentation
Definition: vtkIndent.h:40
Multiprocessing communication superclass.
Perform part of the rendering of a vtkRenderer.
Definition: vtkRenderPass.h:59
Context in which a vtkRenderPass will render.
window superclass for vtkRenderWindow
Definition: vtkWindow.h:35
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.