36 #ifndef vtkDataEncoder_h 37 #define vtkDataEncoder_h 40 #include "vtkWebCoreModule.h" 57 void SetMaxThreads(vtkTypeUInt32);
58 vtkGetMacro(MaxThreads, vtkTypeUInt32);
75 void PushAndTakeReference(vtkTypeUInt32
key,
vtkImageData* &
data,
int quality,
int encoding = 1);
92 void Flush(vtkTypeUInt32
key);
97 const char* EncodeAsBase64Png(
vtkImageData* img,
int compressionLevel=5);
102 const char* EncodeAsBase64Jpg(
vtkImageData* img,
int quality=50);
120 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...