vtkPVClientServerSynchronizedRenderers.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkPVClientServerSynchronizedRenderers.h
5 
6  Copyright (c) Kitware, Inc.
7  Copyright (c) 2017, NVIDIA CORPORATION.
8  All rights reserved.
9  See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details.
10 
11  This software is distributed WITHOUT ANY WARRANTY; without even
12  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
13  PURPOSE. See the above copyright notice for more information.
14 
15 =========================================================================*/
24 #ifndef vtkPVClientServerSynchronizedRenderers_h
25 #define vtkPVClientServerSynchronizedRenderers_h
26 
27 #include "vtkRemotingViewsModule.h" //needed for exports
29 
30 class vtkImageCompressor;
32 
35 {
36 public:
39  void PrintSelf(ostream& os, vtkIndent indent) override;
40 
41  // Description:
42  // This flag is set by the renderer during still renderers. When set
43  // compressor must use loss-less compression. When unset compressor
44  // can (if it's enabled) use lossy compression.
45  vtkSetMacro(LossLessCompression, bool);
46  vtkGetMacro(LossLessCompression, bool);
47 
48  // Description:
49  // This flag is set when NVPipe is supported. NVPipe may not be available
50  // even when compiled in, if the system is not using an NVIDIA GPU, for
51  // example.
52  vtkSetMacro(NVPipeSupport, bool);
53  vtkGetMacro(NVPipeSupport, bool);
54 
60  virtual void ConfigureCompressor(const char* stream);
61 
62 protected:
65 
67 
70  void SetCompressor(vtkImageCompressor* comp);
71  vtkGetObjectMacro(Compressor, vtkImageCompressor);
73 
75  void Decompress(vtkUnsignedCharArray* input, vtkUnsignedCharArray* outputBuffer);
76 
77  void MasterEndRender() override;
78  void SlaveEndRender() override;
79 
83 
84 private:
87 };
88 
89 #endif
#define VTKREMOTINGVIEWS_EXPORT
void PrintSelf(ostream &os, vtkIndent indent)
Superclass for image compressor/decompressor used by Composite Managers.
vtkPVClientServerSynchronizedRenderers is similar to vtkClientServerSynchronizedRenderers except that...
static vtkSynchronizedRenderers * New()
virtual void MasterEndRender()
virtual void SlaveEndRender()
void operator=(const vtkObjectBase &)