24 #ifndef vtkDataCompressor_h
25 #define vtkDataCompressor_h
42 virtual size_t GetMaximumCompressionSpace(
size_t size)=0;
48 size_t Compress(
unsigned char const* uncompressedData,
49 size_t uncompressedSize,
50 unsigned char* compressedData,
51 size_t compressionSpace);
58 size_t Uncompress(
unsigned char const* compressedData,
59 size_t compressedSize,
60 unsigned char* uncompressedData,
61 size_t uncompressedSize);
68 size_t uncompressedSize);
77 size_t compressedSize,
78 size_t uncompressedSize);
86 virtual size_t CompressBuffer(
unsigned char const* uncompressedData,
87 size_t uncompressedSize,
88 unsigned char* compressedData,
89 size_t compressionSpace)=0;
92 virtual size_t UncompressBuffer(
unsigned char const* compressedData,
93 size_t compressedSize,
94 unsigned char* uncompressedData,
95 size_t uncompressedSize)=0;
abstract base class for most VTK objects
Abstract interface for data compression classes.
virtual void PrintSelf(ostream &os, vtkIndent indent)
a simple class to control print indentation
dynamic, self-adjusting array of unsigned char