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