Parallel/vtkCompressCompositer.h Source File

Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members Related Pages

# Parallel/vtkCompressCompositer.h

Go to the documentation of this file.

    00001 /*=========================================================================
    00002
    00003   Program:   Visualization Toolkit
    00004   Module:    $RCSfile: vtkCompressCompositer.h,v $
    00005   Language:  C++
    00006
    00007   Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen
    00008   All rights reserved.
    00009   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
    00010
    00011      This software is distributed WITHOUT ANY WARRANTY; without even
    00012      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
    00013      PURPOSE.  See the above copyright notice for more information.
    00014
    00015 =========================================================================*/
    00041 #ifndef __vtkCompressCompositer_h
    00042 #define __vtkCompressCompositer_h
    00043
    00044 #include "vtkCompositer.h"
    00045
    00046 class vtkTimerLog;
    00047 class vtkDataArray;
    00048 class vtkFloatArray;
    00049
    00050 class VTK_PARALLEL_EXPORT vtkCompressCompositer : public vtkCompositer
    00051 {
    00052 public:
    00053   static vtkCompressCompositer *New();
    00054   vtkTypeRevisionMacro(vtkCompressCompositer,vtkCompositer);
    00055   void PrintSelf(ostream& os, vtkIndent indent);
    00056
    00057   virtual void CompositeBuffer(vtkDataArray *pBuf, vtkFloatArray *zBuf,
    00058                                vtkDataArray *pTmp, vtkFloatArray *zTmp);
    00059
    00060 protected:
    00061   vtkCompressCompositer();
    00062   ~vtkCompressCompositer();
    00063
    00064   void Compress(vtkFloatArray *zIn, vtkDataArray *pIn,
    00065                 vtkFloatArray *zOut, vtkDataArray *pOut);
    00066
    00067   void Uncompress(vtkFloatArray *zIn, vtkDataArray *pIn,
    00068                   vtkDataArray *pOut, int finalLength);
    00069
    00070   void CompositeImagePair(vtkFloatArray *localZ, vtkDataArray *localP,
    00071                           vtkFloatArray *remoteZ, vtkDataArray *remoteP,
    00072                           vtkFloatArray *outZ, vtkDataArray *outP);
    00073
    00074   vtkDataArray *InternalPData;
    00075   vtkFloatArray *InternalZData;
    00076
    00077   vtkTimerLog *Timer;
    00078
    00079 private:
    00080   vtkCompressCompositer(const vtkCompressCompositer&); // Not implemented
    00081   void operator=(const vtkCompressCompositer&); // Not implemented
    00082 };
    00083
    00084 #endif