37 #ifndef vtkDataCompressor_h 38 #define vtkDataCompressor_h 40 #include "vtkIOCoreModule.h" 57 virtual size_t GetMaximumCompressionSpace(
size_t size)=0;
65 size_t Compress(
unsigned char const* uncompressedData,
66 size_t uncompressedSize,
67 unsigned char* compressedData,
68 size_t compressionSpace);
76 size_t Uncompress(
unsigned char const* compressedData,
77 size_t compressedSize,
78 unsigned char* uncompressedData,
79 size_t uncompressedSize);
86 size_t uncompressedSize);
96 size_t compressedSize,
97 size_t uncompressedSize);
105 virtual void SetCompressionLevel(
int compressionLevel) = 0;
106 virtual int GetCompressionLevel() = 0;
114 virtual size_t CompressBuffer(
unsigned char const* uncompressedData,
115 size_t uncompressedSize,
116 unsigned char* compressedData,
117 size_t compressionSpace)=0;
120 virtual size_t UncompressBuffer(
unsigned char const* compressedData,
121 size_t compressedSize,
122 unsigned char* uncompressedData,
123 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