Go to the documentation of this file.
43 #ifndef vtkOpenGLPainterDeviceAdapter_h
44 #define vtkOpenGLPainterDeviceAdapter_h
46 #include "vtkRenderingOpenGLModule.h"
53 #pragma warning(disable:4996)
97 int stride,
const void *pointer);
152 #if defined(_MSC_VER)
virtual void DisableAttributeArray(int index)
virtual void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
virtual void EndPrimitive()
Calls glEnd.
An adapter between a vtkPainter and a rendering device.
virtual void DrawElements(int mode, vtkIdType count, int type, void *indices)
Calls glDrawElements.
virtual void BeginPrimitive(int mode)
Converts mode from VTK_* to GL_* and calls glBegin.
An adapter between a vtkPainter and a rendering device.
virtual void SendMultiTextureCoords(int numcomp, int type, const void *attribute, int idx, vtkIdType offset)
Calls glMultiTex.
static vtkOpenGLPainterDeviceAdapter * New()
virtual void EnableAttributeArray(int index)
Calls glEnableClientState or glDisableClientState.
virtual void MakeVertexEmphasis(bool mode)
Turns emphasis of vertices on or off for vertex selection.
virtual void Stencil(int on)
Control use of the stencil buffer (for vertex selection).
vtkOpenGLPainterDeviceAdapter()
a simple class to control print indentation
virtual void TestStencil(vtkIdType value)
virtual void SendAttribute(int index, int components, int type, const void *attribute, vtkIdType offset=0)
Calls one of glVertex*, glNormal*, glColor*, or glTexCoord*.
virtual void WriteStencil(vtkIdType value)
virtual void SetAttributePointer(int index, int numcomponents, int type, int stride, const void *pointer)
Calls one of glVertexPointer, glNormalPointer, glColorPointer, or glTexCoordPointer.
virtual int Compatible(vtkRenderer *renderer)
Returns true if renderer is a vtkOpenGLRenderer.
virtual void DrawArrays(int mode, vtkIdType first, vtkIdType count)
Calls glDrawArrays.
abstract specification for renderers
virtual int IsAttributesSupported(int attribute)
Returns if the given attribute type is supported by the device.
~vtkOpenGLPainterDeviceAdapter()