VTK  9.1.0
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
36class vtkTimerLog;
37class vtkDataArray;
38class vtkFloatArray;
39
40class VTKRENDERINGPARALLEL_EXPORT vtkCompressCompositer : public vtkCompositer
41{
42public:
45 void PrintSelf(ostream& os, vtkIndent indent) override;
46
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
63protected:
66
69
71
72private:
74 void operator=(const vtkCompressCompositer&) = delete;
75};
76
77#endif
Super class for composite algorthms.
Definition: vtkCompositer.h:42
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
Definition: vtkDataArray.h:159
dynamic, self-adjusting array of float
a simple class to control print indentation
Definition: vtkIndent.h:113
Timer support and logging.
Definition: vtkTimerLog.h:199