#include <vtkOpenGLDisplayListPainter.h>
vtkOpenGLDisplayListPainter creates an OpenGL display list for rendering. This painter creates a different display list for every render request with a different set of typeflags. If any of the data or inputs change, then all display lists are discarded.
Definition at line 29 of file vtkOpenGLDisplayListPainter.h.
Public Types | |
typedef vtkDisplayListPainter | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | ReleaseGraphicsResources (vtkWindow *) |
Static Public Member Functions | |
static vtkOpenGLDisplayListPainter * | New () |
static int | IsTypeOf (const char *type) |
static vtkOpenGLDisplayListPainter * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkOpenGLDisplayListPainter () | |
~vtkOpenGLDisplayListPainter () | |
virtual void | RenderInternal (vtkRenderer *renderer, vtkActor *actor, unsigned long typeflags, bool forceCompileOnly) |
Reimplemented from vtkDisplayListPainter.
Definition at line 33 of file vtkOpenGLDisplayListPainter.h.
vtkOpenGLDisplayListPainter::vtkOpenGLDisplayListPainter | ( | ) | [protected] |
vtkOpenGLDisplayListPainter::~vtkOpenGLDisplayListPainter | ( | ) | [protected] |
static vtkOpenGLDisplayListPainter* vtkOpenGLDisplayListPainter::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkDisplayListPainter.
virtual const char* vtkOpenGLDisplayListPainter::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkDisplayListPainter.
static int vtkOpenGLDisplayListPainter::IsTypeOf | ( | const char * | name | ) | [static] |
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkDisplayListPainter.
virtual int vtkOpenGLDisplayListPainter::IsA | ( | const char * | name | ) | [virtual] |
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkDisplayListPainter.
static vtkOpenGLDisplayListPainter* vtkOpenGLDisplayListPainter::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkDisplayListPainter.
void vtkOpenGLDisplayListPainter::PrintSelf | ( | ostream & | os, | |
vtkIndent | indent | |||
) | [virtual] |
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from vtkDisplayListPainter.
virtual void vtkOpenGLDisplayListPainter::ReleaseGraphicsResources | ( | vtkWindow * | ) | [virtual] |
Release any graphics resources that are being consumed by this mapper. The parameter window could be used to determine which graphic resources to release. In this case, releases the display lists.
Reimplemented from vtkPainter.
virtual void vtkOpenGLDisplayListPainter::RenderInternal | ( | vtkRenderer * | renderer, | |
vtkActor * | actor, | |||
unsigned long | typeflags, | |||
bool | forceCompileOnly | |||
) | [protected, virtual] |
If not using ImmediateModeRendering, this will build a display list, if outdated and use the display list.
Reimplemented from vtkPainter.