vtkPVClientServerSynchronizedRenderers.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-FileCopyrightText: Copyright (c) 2017, NVIDIA CORPORATION
3 // SPDX-License-Identifier: BSD-3-Clause
12 #ifndef vtkPVClientServerSynchronizedRenderers_h
13 #define vtkPVClientServerSynchronizedRenderers_h
14 
15 #include "vtkRemotingViewsModule.h" //needed for exports
17 
18 class vtkImageCompressor;
20 
23 {
24 public:
27  void PrintSelf(ostream& os, vtkIndent indent) override;
28 
29  // Description:
30  // This flag is set by the renderer during still renderers. When set
31  // compressor must use loss-less compression. When unset compressor
32  // can (if it's enabled) use lossy compression.
33  vtkSetMacro(LossLessCompression, bool);
34  vtkGetMacro(LossLessCompression, bool);
35 
36  // Description:
37  // This flag is set when NVPipe is supported. NVPipe may not be available
38  // even when compiled in, if the system is not using an NVIDIA GPU, for
39  // example.
40  vtkSetMacro(NVPipeSupport, bool);
41  vtkGetMacro(NVPipeSupport, bool);
42 
48  virtual void ConfigureCompressor(const char* stream);
49 
50 protected:
53 
55 
58  void SetCompressor(vtkImageCompressor* comp);
59  vtkGetObjectMacro(Compressor, vtkImageCompressor);
61 
63  void Decompress(vtkUnsignedCharArray* input, vtkUnsignedCharArray* outputBuffer);
64 
65  void MasterEndRender() override;
66  void SlaveEndRender() override;
67 
71 
72 private:
75 };
76 
77 #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 &)