Go to the documentation of this file.
18 #ifndef vtkZlibImageCompressor_h
19 #define vtkZlibImageCompressor_h
22 #include "vtkPVVTKExtensionsFiltersRenderingModule.h"
24 class vtkZlibCompressorImageConditioner;
63 vtkSetClampMacro(CompressionLevel,
int, 1, 9);
64 vtkGetMacro(CompressionLevel,
int);
72 void SetColorSpace(
int csId);
84 void SetStripAlpha(
int status);
99 vtkZlibCompressorImageConditioner* Conditioner;
100 int CompressionLevel;
virtual const char * SaveConfiguration()
Serialize compressor configuration (but not the data) into the stream.
Image compressor/decompressor using Zlib.
Superclass for image compressor/decompressor used by Composite Managers.
virtual int Decompress()=0
Decompresses and geenartes the decompressed data as output.
virtual void SetLossLessMode(int)
When set the implementation must use loss-less compression, otherwise implemnetation should user prov...
virtual bool RestoreConfiguration(vtkMultiProcessStream *stream)
Restore state from the stream.
void PrintSelf(ostream &os, vtkIndent indent) override
virtual int Compress()=0
Call this method to compress the input and generate the compressed data.