22#ifndef vtkOpenGLImageAlgorithmHelper_h
23#define vtkOpenGLImageAlgorithmHelper_h
25#include "vtkRenderingOpenGL2Module.h"
60 const char *vertexCode,
61 const char *fragmentCode,
62 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
vtkOpenGLImageAlgorithmCallback()
virtual void InitializeShaderUniforms(vtkShaderProgram *)
virtual void UpdateShaderUniforms(vtkShaderProgram *, int)
virtual ~vtkOpenGLImageAlgorithmCallback()
Help image algorithms use the GPU.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkSmartPointer< vtkOpenGLRenderWindow > RenderWindow
vtkOpenGLImageAlgorithmHelper()
void SetRenderWindow(vtkRenderWindow *renWin)
Set the render window to get the OpenGL resources from.
virtual ~vtkOpenGLImageAlgorithmHelper()
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.