VTK  9.4.20250103
vtkCompressCompositer.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-License-Identifier: BSD-3-Clause
18#ifndef vtkCompressCompositer_h
19#define vtkCompressCompositer_h
20
21#include "vtkCompositer.h"
22#include "vtkRenderingParallelModule.h" // For export macro
23
24VTK_ABI_NAMESPACE_BEGIN
25class vtkTimerLog;
26class vtkDataArray;
27class vtkFloatArray;
28
29class VTKRENDERINGPARALLEL_EXPORT vtkCompressCompositer : public vtkCompositer
30{
31public:
34 void PrintSelf(ostream& os, vtkIndent indent) override;
35
37 vtkDataArray* pBuf, vtkFloatArray* zBuf, vtkDataArray* pTmp, vtkFloatArray* zTmp) override;
38
43 static void Compress(
44 vtkFloatArray* zIn, vtkDataArray* pIn, vtkFloatArray* zOut, vtkDataArray* pOut);
45
46 static void Uncompress(
47 vtkFloatArray* zIn, vtkDataArray* pIn, vtkFloatArray* zOut, vtkDataArray* pOut, int lengthOut);
48
49 static void CompositeImagePair(vtkFloatArray* localZ, vtkDataArray* localP,
50 vtkFloatArray* remoteZ, vtkDataArray* remoteP, vtkFloatArray* outZ, vtkDataArray* outP);
51
52protected:
55
58
60
61private:
63 void operator=(const vtkCompressCompositer&) = delete;
64};
65
66VTK_ABI_NAMESPACE_END
67#endif
Super class for composite algorithms.
Implements compressed tree based compositing.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static void Compress(vtkFloatArray *zIn, vtkDataArray *pIn, vtkFloatArray *zOut, vtkDataArray *pOut)
I am granting access to these methods and making them static So I can create a TileDisplayCompositer ...
~vtkCompressCompositer() override
static void CompositeImagePair(vtkFloatArray *localZ, vtkDataArray *localP, vtkFloatArray *remoteZ, vtkDataArray *remoteP, vtkFloatArray *outZ, vtkDataArray *outP)
void CompositeBuffer(vtkDataArray *pBuf, vtkFloatArray *zBuf, vtkDataArray *pTmp, vtkFloatArray *zTmp) override
This method gets called on every process.
static void Uncompress(vtkFloatArray *zIn, vtkDataArray *pIn, vtkFloatArray *zOut, vtkDataArray *pOut, int lengthOut)
static vtkCompressCompositer * New()
abstract superclass for arrays of numeric data
dynamic, self-adjusting array of float
a simple class to control print indentation
Definition vtkIndent.h:108
Timer support and logging.