VTK  9.0.1
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 
31 class VTKRENDERINGPARALLEL_EXPORT vtkClientServerCompositePass : public vtkRenderPass
32 {
33 public:
36  void PrintSelf(ostream& os, vtkIndent indent) override;
37 
42  void Render(const vtkRenderState* s) override;
43 
49  void ReleaseGraphicsResources(vtkWindow* w) override;
50 
52 
59  vtkGetObjectMacro(Controller, vtkMultiProcessController);
60  virtual void SetController(vtkMultiProcessController* controller);
62 
64 
69  void SetRenderPass(vtkRenderPass*);
70  vtkGetObjectMacro(RenderPass, vtkRenderPass);
72 
74 
82  void SetPostProcessingRenderPass(vtkRenderPass*);
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 
108 protected:
110  ~vtkClientServerCompositePass() override;
111 
115 
118 
119 private:
121  void operator=(const vtkClientServerCompositePass&) = delete;
122 };
123 
124 #endif
vtkRenderPass::ReleaseGraphicsResources
virtual void ReleaseGraphicsResources(vtkWindow *w)
Release graphics resources and ask components to release their own resources.
vtkClientServerCompositePass::ServerSideRendering
bool ServerSideRendering
Definition: vtkClientServerCompositePass.h:117
vtkObject::New
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
vtkRenderPass::Render
virtual void Render(const vtkRenderState *s)=0
Perform rendering according to a render state s.
vtkRenderPass.h
vtkWindow
window superclass for vtkRenderWindow
Definition: vtkWindow.h:37
vtkRenderPass::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkClientServerCompositePass
Definition: vtkClientServerCompositePass.h:31
vtkMultiProcessController
Multiprocessing communication superclass.
Definition: vtkMultiProcessController.h:75
vtkClientServerCompositePass::Controller
vtkMultiProcessController * Controller
Definition: vtkClientServerCompositePass.h:114
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:33
vtkClientServerCompositePass::PostProcessingRenderPass
vtkRenderPass * PostProcessingRenderPass
Definition: vtkClientServerCompositePass.h:113
vtkClientServerCompositePass::RenderPass
vtkRenderPass * RenderPass
Definition: vtkClientServerCompositePass.h:112
vtkRenderState
Context in which a vtkRenderPass will render.
Definition: vtkRenderState.h:40
vtkClientServerCompositePass::ProcessIsServer
bool ProcessIsServer
Definition: vtkClientServerCompositePass.h:116
vtkRenderPass
Perform part of the rendering of a vtkRenderer.
Definition: vtkRenderPass.h:56