Main Page   Class Hierarchy   Alphabetical List   Compound List   Compound Members   Related Pages  

vtkOpenGLRenderer Class Reference

OpenGL renderer. More...

#include <vtkOpenGLRenderer.h>

Inheritance diagram for vtkOpenGLRenderer:

Inheritance graph
[legend]
Collaboration diagram for vtkOpenGLRenderer:

Collaboration graph
[legend]
List of all members.

Public Methods

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 Methods

vtkOpenGLRenderer * New ()
int IsTypeOf (const char *type)
vtkOpenGLRenderer * SafeDownCast (vtkObject *o)

Protected Methods

 vtkOpenGLRenderer ()
 ~vtkOpenGLRenderer ()
 vtkOpenGLRenderer (const vtkOpenGLRenderer &)
void operator= (const vtkOpenGLRenderer &)
virtual void DevicePickRender ()
virtual void StartPick (unsigned int pickFromSize)
virtual void UpdatePickId ()
virtual void DonePick ()
virtual unsigned int GetPickedId ()
virtual float GetPickedZ ()

Protected Attributes

int NumberOfLightsBound
vtkGLPickInfo * PickInfo
float PickedZ

Detailed Description

OpenGL renderer.

Date:
2000/12/10 20:08:45
Revision:
1.23

vtkOpenGLRenderer is a concrete implementation of the abstract class vtkRenderer. vtkOpenGLRenderer interfaces to the OpenGL graphics library.


Member Function Documentation

void vtkOpenGLRenderer::Clear void    [virtual]
 

Clear the image to the background color.

Reimplemented from vtkRenderer.

void vtkOpenGLRenderer::ClearLights void   
 

Internal method temporarily removes lights before reloading them into graphics pipeline.

void vtkOpenGLRenderer::DeviceRender void    [virtual]
 

Concrete open gl render method.

Implements vtkRenderer.

virtual const char* vtkOpenGLRenderer::GetClassName   [virtual]
 

Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkRenderer.

virtual float vtkOpenGLRenderer::GetPickedZ   [protected, virtual]
 

Return the Z value for the last picked Prop.

Implements vtkViewport.

virtual int vtkOpenGLRenderer::IsA const char *    type [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 vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkRenderer.

int vtkOpenGLRenderer::IsTypeOf const char *    type [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 vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkRenderer.

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.

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.

vtkOpenGLRenderer* vtkOpenGLRenderer::SafeDownCast vtkObject   o [static]
 

Will cast the supplied object to vtkObject* is this is a safe operation (i.e., a safe downcast); otherwise NULL is returned. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkRenderer.

int vtkOpenGLRenderer::UpdateLights void    [virtual]
 

Ask lights to load themselves into graphics pipeline.

Reimplemented from vtkRenderer.


The documentation for this class was generated from the following file:
Generated on Tue Mar 19 13:30:18 2002 for VTK by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002