26#ifndef vtkThreadedImageWriter_h
27#define vtkThreadedImageWriter_h
29#include "vtkIOAsynchronousModule.h"
64 vtkGetMacro(MaxThreads, vtkTypeUInt32);
80 vtkInternals* Internals;
81 vtkTypeUInt32 MaxThreads;
topologically and geometrically regular array of data
a simple class to control print indentation
abstract base class for most VTK objects
class used to compress/write images using threads to prevent locking while encoding data.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void EncodeAndWrite(vtkImageData *image, VTK_FILEPATH const char *fileName)
Push an image into the threaded writer.
static vtkThreadedImageWriter * New()
void Finalize()
This method will wait for any running thread to terminate.
void SetMaxThreads(vtkTypeUInt32)
Define the number of worker thread to use.
void Initialize()
Need to be called at least once before using the class.
~vtkThreadedImageWriter() override