VTK
vtkClientServerCompositePass.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: $RCSfile$
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 =========================================================================*/
25 #ifndef __vtkClientServerCompositePass_h
26 #define __vtkClientServerCompositePass_h
27 
28 #include "vtkRenderPass.h"
29 
31 
33 {
34 public:
37  void PrintSelf(ostream& os, vtkIndent indent);
38 
39  //BTX
41 
43  virtual void Render(const vtkRenderState *s);
44  //ETX
46 
50 
52 
56  vtkGetObjectMacro(Controller,vtkMultiProcessController);
57  virtual void SetController(vtkMultiProcessController *controller);
59 
61 
64  void SetRenderPass(vtkRenderPass*);
65  vtkGetObjectMacro(RenderPass, vtkRenderPass);
67 
69 
75  void SetPostProcessingRenderPass(vtkRenderPass*);
76  vtkGetObjectMacro(PostProcessingRenderPass, vtkRenderPass);
78 
80 
83  vtkSetMacro(ProcessIsServer,bool);
84  vtkBooleanMacro(ProcessIsServer, bool);
85  vtkGetMacro(ProcessIsServer, bool);
87 
89 
93  vtkSetMacro(ServerSideRendering, bool);
94  vtkBooleanMacro(ServerSideRendering, bool);
95  vtkGetMacro(ServerSideRendering, bool);
97 
98 //BTX
99 protected:
102 
106 
109 private:
111  void operator=(const vtkClientServerCompositePass&); // Not implemented.
112 //ETX
113 };
114 
115 #endif
116 
117