33 #ifndef vtkDataEncoder_h 34 #define vtkDataEncoder_h 38 #include "vtkWebCoreModule.h" 54 void SetMaxThreads(vtkTypeUInt32);
55 vtkGetMacro(MaxThreads, vtkTypeUInt32);
72 void PushAndTakeReference(vtkTypeUInt32
key,
vtkImageData*&
data,
int quality,
int encoding = 1);
89 void Flush(vtkTypeUInt32
key);
94 const char* EncodeAsBase64Png(
vtkImageData* img,
int compressionLevel = 5);
99 const char* EncodeAsBase64Jpg(
vtkImageData* img,
int quality = 50);
117 vtkInternals* Internals;
abstract base class for most VTK objects
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
topologically and geometrically regular array of data
dynamic, self-adjusting array of unsigned char
class used to compress/encode images using threads.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...