VTK  9.2.6
vtkCompressCompositer.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkCompressCompositer.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 =========================================================================*/
30 #ifndef vtkCompressCompositer_h
31 #define vtkCompressCompositer_h
32 
33 #include "vtkCompositer.h"
34 #include "vtkRenderingParallelModule.h" // For export macro
35 
36 class vtkTimerLog;
37 class vtkDataArray;
38 class vtkFloatArray;
39 
40 class VTKRENDERINGPARALLEL_EXPORT vtkCompressCompositer : public vtkCompositer
41 {
42 public:
43  static vtkCompressCompositer* New();
45  void PrintSelf(ostream& os, vtkIndent indent) override;
46 
47  void CompositeBuffer(
48  vtkDataArray* pBuf, vtkFloatArray* zBuf, vtkDataArray* pTmp, vtkFloatArray* zTmp) override;
49 
54  static void Compress(
55  vtkFloatArray* zIn, vtkDataArray* pIn, vtkFloatArray* zOut, vtkDataArray* pOut);
56 
57  static void Uncompress(
58  vtkFloatArray* zIn, vtkDataArray* pIn, vtkFloatArray* zOut, vtkDataArray* pOut, int lengthOut);
59 
60  static void CompositeImagePair(vtkFloatArray* localZ, vtkDataArray* localP,
61  vtkFloatArray* remoteZ, vtkDataArray* remoteP, vtkFloatArray* outZ, vtkDataArray* outP);
62 
63 protected:
65  ~vtkCompressCompositer() override;
66 
69 
71 
72 private:
74  void operator=(const vtkCompressCompositer&) = delete;
75 };
76 
77 #endif
Implements compressed tree based compositing.
dynamic, self-adjusting array of float
Definition: vtkFloatArray.h:41
Timer support and logging.
Definition: vtkTimerLog.h:95
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
Definition: vtkIndent.h:39
abstract superclass for arrays of numeric data
Definition: vtkDataArray.h:55
virtual void CompositeBuffer(vtkDataArray *pBuf, vtkFloatArray *zBuf, vtkDataArray *pTmp, vtkFloatArray *zTmp)
This method gets called on every process.
Super class for composite algorithms.
Definition: vtkCompositer.h:41
static vtkCompositer * New()