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

vtkOpenGLLight Class Reference

OpenGL light. More...

#include <vtkOpenGLLight.h>

Inheritance diagram for vtkOpenGLLight:

Inheritance graph
[legend]
Collaboration diagram for vtkOpenGLLight:

Collaboration graph
[legend]
List of all members.

Public Methods

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void Render (vtkRenderer *ren, int light_index)

Static Public Methods

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

Protected Methods

 vtkOpenGLLight ()
 ~vtkOpenGLLight ()
 vtkOpenGLLight (const vtkOpenGLLight &)
void operator= (const vtkOpenGLLight &)

Detailed Description

OpenGL light.

Date:
2000/12/10 20:08:44
Revision:
1.12

vtkOpenGLLight is a concrete implementation of the abstract class vtkLight. vtkOpenGLLight interfaces to the OpenGL rendering library.


Member Function Documentation

virtual const char* vtkOpenGLLight::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 vtkLight.

virtual int vtkOpenGLLight::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 vtkLight.

int vtkOpenGLLight::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 vtkLight.

vtkOpenGLLight* vtkOpenGLLight::New   [static]
 

Create a light with the focal point at the origin and its position set to (0,0,1). The light is a SceneLight, its color is white, intensity=1, and the light is turned on.

Reimplemented from vtkLight.

void vtkOpenGLLight::Render vtkRenderer   ren,
int    light_index
[virtual]
 

Implement base class method.

Reimplemented from vtkLight.

vtkOpenGLLight* vtkOpenGLLight::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 vtkLight.


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