vtkPVSynchronizedRenderer.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkPVSynchronizedRenderer.h
5 
6  Copyright (c) Kitware, Inc.
7  All rights reserved.
8  See Copyright.txt or http://www.paraview.org/HTML/Copyright.html 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 =========================================================================*/
29 #ifndef vtkPVSynchronizedRenderer_h
30 #define vtkPVSynchronizedRenderer_h
31 
32 #include "vtkObject.h"
33 #include "vtkRemotingViewsModule.h" //needed for exports
34 
37 class vtkOpenGLRenderer;
39 class vtkPVSession;
40 class vtkRenderer;
41 class vtkRenderPass;
43 
45 {
46 public:
49  void PrintSelf(ostream& os, vtkIndent indent) override;
50 
52 
57  vtkSetMacro(DisableIceT, bool);
58  vtkGetMacro(DisableIceT, bool);
60 
66  void Initialize(vtkPVSession* session);
67 
73  void SetOrderedCompositingHelper(vtkOrderedCompositingHelper* helper);
74 
78  void SetRenderer(vtkRenderer*);
79 
81 
84  virtual void SetEnabled(bool enabled);
85  vtkGetMacro(Enabled, bool);
86  vtkBooleanMacro(Enabled, bool);
88 
90 
94  void SetImageReductionFactor(int);
95  vtkGetMacro(ImageReductionFactor, int);
97 
99 
104  void SetDataReplicatedOnAllProcesses(bool);
105  vtkGetMacro(DataReplicatedOnAllProcesses, bool);
106  vtkBooleanMacro(DataReplicatedOnAllProcesses, bool);
108 
110 
113  void SetImageProcessingPass(vtkImageProcessingPass*);
114  vtkGetObjectMacro(ImageProcessingPass, vtkImageProcessingPass);
116 
118 
125  void SetRenderPass(vtkRenderPass*);
126  vtkGetObjectMacro(RenderPass, vtkRenderPass);
128 
130 
137  void ConfigureCompressor(const char* configuration);
138  void SetLossLessCompression(bool);
140 
144  void SetUseDepthBuffer(bool);
145 
149  void SetRenderEmptyImages(bool);
150 
154  void SetNVPipeSupport(bool);
155 
157 
160  void SetEnableRayTracing(bool val);
161  vtkGetMacro(EnableRayTracing, bool);
162  void SetEnablePathTracing(bool val);
163  vtkGetMacro(EnablePathTracing, bool);
165 
167 
178  vtkGetObjectMacro(ParallelSynchronizer, vtkSynchronizedRenderers);
179  vtkGetObjectMacro(CSSynchronizer, vtkSynchronizedRenderers);
181 
182 protected:
184  ~vtkPVSynchronizedRenderer() override;
185 
191  virtual void SetupPasses();
192 
197 
198  bool Enabled;
202 
206 
209 
210 private:
212  void operator=(const vtkPVSynchronizedRenderer&) = delete;
213 
218  void UpdateFixBackgroundState();
219  bool InTileDisplayMode;
220  bool InCAVEMode;
221 };
222 
223 #endif
vtkSynchronizedRenderers subclass that uses IceT for parallel rendering and compositing.
coordinates rendering between corresponding renderers across multiple processes
#define VTKREMOTINGVIEWS_EXPORT
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
vtkSynchronizedRenderers * ParallelSynchronizer
extends vtkSession to add API for ParaView sessions.
Definition: vtkPVSession.h:35
vtkSynchronizedRenderers * CSSynchronizer
static vtkObject * New()
vtkImageProcessingPass * ImageProcessingPass
void operator=(const vtkObjectBase &)
helper to assist in determine process order when rendering