vtkPainterDeviceAdapter

Section: Visualization Toolkit Rendering Classes

Usage

This class is an adapter between a vtkPainter and a rendering device (such as an OpenGL machine). Having an abstract adapter allows vtkPainters to be re-used for any rendering system.

Although VTK really only uses OpenGL right now, there are reasons to swap out the rendering functions. Sometimes MESA with mangled names is used. Also, different shader extensions use different functions. Furthermore, Cg also has its own interface.

The interface for this class should be familier to anyone experienced with OpenGL.

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

  obj = vtkPainterDeviceAdapter

Methods

The class vtkPainterDeviceAdapter 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 vtkPainterDeviceAdapter class.