25 #ifndef vtkDataCompressor_h
26 #define vtkDataCompressor_h
28 #include "vtkIOCoreModule.h"
45 virtual size_t GetMaximumCompressionSpace(
size_t size)=0;
53 size_t Compress(
unsigned char const* uncompressedData,
54 size_t uncompressedSize,
55 unsigned char* compressedData,
56 size_t compressionSpace);
64 size_t Uncompress(
unsigned char const* compressedData,
65 size_t compressedSize,
66 unsigned char* uncompressedData,
67 size_t uncompressedSize);
74 size_t uncompressedSize);
84 size_t compressedSize,
85 size_t uncompressedSize);
93 virtual size_t CompressBuffer(
unsigned char const* uncompressedData,
94 size_t uncompressedSize,
95 unsigned char* compressedData,
96 size_t compressionSpace)=0;
99 virtual size_t UncompressBuffer(
unsigned char const* compressedData,
100 size_t compressedSize,
101 unsigned char* uncompressedData,
102 size_t uncompressedSize)=0;
abstract base class for most VTK objects
Abstract interface for data compression classes.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
dynamic, self-adjusting array of unsigned char