OGS
VtkVisHelper.h
Go to the documentation of this file.
1
15#pragma once
16
17class QImage;
18class vtkTexture;
19class vtkImageData;
20
25{
26public:
28 static vtkImageData* QImageToVtkImageData(QImage &img);
29
31 static vtkTexture* QImageToVtkTexture(QImage &img);
32};
Some data conversion helper functions.
static vtkImageData * QImageToVtkImageData(QImage &img)
Converts a QImage to vtkImageData.
static vtkTexture * QImageToVtkTexture(QImage &img)
Converts a QImage-object into a vtkTexture-object.