Go to the documentation of this file.
21 #ifndef vtkOpenGLRenderUtilities_h
22 #define vtkOpenGLRenderUtilities_h
24 #include "vtkRenderingOpenGL2Module.h"
43 float *verts,
float *tcoords,
46 float *verts,
unsigned int numVerts,
#define vtkTypeMacro(thisClass, superclass)
abstract base class for most VTK objects
vtkOpenGLRenderUtilities()
OpenGL rendering utility functions.
The ShaderProgram uses one or more Shader objects.
a simple class to control print indentation
GLuint GLuint GLsizei GLenum const GLvoid * indices
~vtkOpenGLRenderUtilities()
typedef GLuint(APIENTRYP PFNGLCREATEPROGRAMPROC)(void)
void PrintSelf(ostream &os, vtkIndent indent)
static void RenderQuad(float *verts, float *tcoords, vtkShaderProgram *program, vtkOpenGLVertexArrayObject *vao)
static void RenderTriangles(float *verts, unsigned int numVerts, GLuint *indices, unsigned int numIndices, float *tcoords, vtkShaderProgram *program, vtkOpenGLVertexArrayObject *vao)
The VertexArrayObject class uses, or emulates, vertex array objects.