#include <vtkOpenGLRenderer.h>
Inheritance diagram for vtkOpenGLRenderer:
vtkOpenGLRenderer is a concrete implementation of the abstract class vtkRenderer. vtkOpenGLRenderer interfaces to the OpenGL graphics library.
Definition at line 27 of file vtkOpenGLRenderer.h.
Public Types | |
typedef vtkRenderer | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
void | DeviceRender (void) |
void | ClearLights (void) |
void | Clear (void) |
int | UpdateLights (void) |
Static Public Member Functions | |
static vtkOpenGLRenderer * | New () |
static int | IsTypeOf (const char *type) |
static vtkOpenGLRenderer * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkOpenGLRenderer () | |
~vtkOpenGLRenderer () | |
virtual void | DevicePickRender () |
virtual void | StartPick (unsigned int pickFromSize) |
virtual void | UpdatePickId () |
virtual void | DonePick () |
virtual unsigned int | GetPickedId () |
virtual double | GetPickedZ () |
Protected Attributes | |
int | NumberOfLightsBound |
vtkGLPickInfo * | PickInfo |
double | PickedZ |
vtkOpenGLRenderer::vtkOpenGLRenderer | ( | ) | [protected] |
vtkOpenGLRenderer::~vtkOpenGLRenderer | ( | ) | [protected] |
static vtkOpenGLRenderer* vtkOpenGLRenderer::New | ( | ) | [static] |
Create a vtkRenderer with a black background, a white ambient light, two-sided lighting turned on, a viewport of (0,0,1,1), and backface culling turned off.
Reimplemented from vtkRenderer.
virtual const char* vtkOpenGLRenderer::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkRenderer.
static int vtkOpenGLRenderer::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 vtkRenderer.
virtual int vtkOpenGLRenderer::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 vtkRenderer.
static vtkOpenGLRenderer* vtkOpenGLRenderer::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkRenderer.
void vtkOpenGLRenderer::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 vtkRenderer.
void vtkOpenGLRenderer::DeviceRender | ( | void | ) | [virtual] |
Concrete open gl render method.
Implements vtkRenderer.
void vtkOpenGLRenderer::ClearLights | ( | void | ) |
Internal method temporarily removes lights before reloading them into graphics pipeline.
void vtkOpenGLRenderer::Clear | ( | void | ) | [virtual] |
Clear the image to the background color.
Reimplemented from vtkRenderer.
int vtkOpenGLRenderer::UpdateLights | ( | void | ) | [virtual] |
Ask lights to load themselves into graphics pipeline.
Reimplemented from vtkRenderer.
virtual void vtkOpenGLRenderer::DevicePickRender | ( | ) | [protected, virtual] |
Implements vtkViewport.
virtual void vtkOpenGLRenderer::StartPick | ( | unsigned int | pickFromSize | ) | [protected, virtual] |
Implements vtkViewport.
virtual void vtkOpenGLRenderer::UpdatePickId | ( | ) | [protected, virtual] |
Implements vtkViewport.
virtual void vtkOpenGLRenderer::DonePick | ( | ) | [protected, virtual] |
Implements vtkViewport.
virtual unsigned int vtkOpenGLRenderer::GetPickedId | ( | ) | [protected, virtual] |
Implements vtkViewport.
virtual double vtkOpenGLRenderer::GetPickedZ | ( | ) | [protected, virtual] |
Return the Z value for the last picked Prop.
Implements vtkViewport.
int vtkOpenGLRenderer::NumberOfLightsBound [protected] |
Definition at line 30 of file vtkOpenGLRenderer.h.
class vtkGLPickInfo* vtkOpenGLRenderer::PickInfo [protected] |
Definition at line 62 of file vtkOpenGLRenderer.h.
double vtkOpenGLRenderer::PickedZ [protected] |
Definition at line 64 of file vtkOpenGLRenderer.h.