22#ifndef vtkOpenGLImageAlgorithmHelper_h
23#define vtkOpenGLImageAlgorithmHelper_h
26#include "vtkRenderingOpenGL2Module.h"
57 vtkImageData* outData,
int outExt[6],
const char* vertexCode,
const char* fragmentCode,
58 const char* geometryCode);
abstract superclass for arrays of numeric data
topologically and geometrically regular array of data
a simple class to control print indentation
abstract base class for most VTK objects
virtual ~vtkOpenGLImageAlgorithmCallback()=default
virtual void InitializeShaderUniforms(vtkShaderProgram *)
vtkOpenGLImageAlgorithmCallback()=default
virtual void UpdateShaderUniforms(vtkShaderProgram *, int)
Help image algorithms use the GPU.
vtkSmartPointer< vtkOpenGLRenderWindow > RenderWindow
~vtkOpenGLImageAlgorithmHelper() override
vtkOpenGLImageAlgorithmHelper()
void SetRenderWindow(vtkRenderWindow *renWin)
Set the render window to get the OpenGL resources from.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkOpenGLImageAlgorithmHelper * New()
void Execute(vtkOpenGLImageAlgorithmCallback *cb, vtkImageData *inImage, vtkDataArray *inData, vtkImageData *outData, int outExt[6], const char *vertexCode, const char *fragmentCode, const char *geometryCode)
create a window for renderers to draw into
The ShaderProgram uses one or more Shader objects.
Hold a reference to a vtkObjectBase instance.