vtkOpenGLPainterDeviceAdapter

Section: Visualization Toolkit Rendering Classes

Usage

An adapter between vtkPainter and the OpenGL rendering system. Only a handful of attributes with special meaning are supported. The OpenGL attribute used for each attribute is given below.

\verbatim vtkDataSetAttributes::NORMALS glNormal vtkDataSetAttributes:::SCALARS glColor vtkDataSetAttributes::TCOORDS glTexCoord vtkDataSetAttributes::NUM_ATTRIBUTES glVertex \endverbatim

To create an instance of class vtkOpenGLPainterDeviceAdapter, simply invoke its constructor as follows

  obj = vtkOpenGLPainterDeviceAdapter

Methods

The class vtkOpenGLPainterDeviceAdapter has several methods that can be used. They are listed below. Note that the documentation is translated automatically from the VTK sources, and may not be completely intelligible. When in doubt, consult the VTK website. In the methods listed below, obj is an instance of the vtkOpenGLPainterDeviceAdapter class.