23 #ifndef vtkZLibDataCompressor_h
24 #define vtkZLibDataCompressor_h
26 #include "vtkIOCoreModule.h"
48 vtkSetClampMacro(CompressionLevel,
int, 0, 9);
49 vtkGetMacro(CompressionLevel,
int);
59 size_t CompressBuffer(
unsigned char const* uncompressedData,
60 size_t uncompressedSize,
61 unsigned char* compressedData,
62 size_t compressionSpace) VTK_OVERRIDE;
64 size_t UncompressBuffer(
unsigned char const* compressedData,
65 size_t compressedSize,
66 unsigned char* uncompressedData,
67 size_t uncompressedSize) VTK_OVERRIDE;
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Abstract interface for data compression classes.
virtual size_t GetMaximumCompressionSpace(size_t size)=0
Get the maximum space that may be needed to store data of the given uncompressed size after compressi...
a simple class to control print indentation
Data compression using zlib.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...