24 static bool toImageData(
const QImage& img,
vtkImageData* vtkimage);
30 static bool fromImageData(
vtkImageData* vtkimage, QImage& img);
38 static bool imageDataToFormatedByteArray(
39 vtkImageData* vtkimage, QByteArray& bArray,
const char* format);
47 static int saveImage(
vtkImageData* vtkimage,
const QString& filename,
int quality = -1);
55 static int saveImage(
const QImage&
image,
const QString& filename,
int quality = -1);
Utility class to convert VTK images to Qt images and vice versa.