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

vtkLightCollection Class Reference

a list of lights. More...

#include <vtkLightCollection.h>

Inheritance diagram for vtkLightCollection:

Inheritance graph
[legend]
Collaboration diagram for vtkLightCollection:

Collaboration graph
[legend]
List of all members.

Public Methods

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void AddItem (vtkLight *a)
vtkLightGetNextItem ()

Static Public Methods

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

Protected Methods

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

Detailed Description

a list of lights.

Date:
2000/12/10 20:08:42
Revision:
1.36

vtkLightCollection represents and provides methods to manipulate a list of lights (i.e., vtkLight and subclasses). The list is unsorted and duplicate entries are not prevented.

See also:
vtkCollection vtkLight

Definition at line 59 of file vtkLightCollection.h.


Constructor & Destructor Documentation

vtkLightCollection::vtkLightCollection   [inline, protected]
 

Definition at line 73 of file vtkLightCollection.h.

vtkLightCollection::~vtkLightCollection   [inline, protected]
 

Definition at line 74 of file vtkLightCollection.h.

vtkLightCollection::vtkLightCollection const vtkLightCollection &    [inline, protected]
 

Definition at line 75 of file vtkLightCollection.h.


Member Function Documentation

vtkLightCollection* vtkLightCollection::New   [static]
 

Construct with empty list.

Reimplemented from vtkCollection.

virtual const char* vtkLightCollection::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 vtkCollection.

int vtkLightCollection::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 vtkCollection.

virtual int vtkLightCollection::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 vtkCollection.

vtkLightCollection* vtkLightCollection::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 vtkCollection.

void vtkLightCollection::AddItem vtkLight   a
 

Add a light to the list.

vtkLight* vtkLightCollection::GetNextItem  
 

Get the next light in the list. NULL is returned when the collection is exhausted.

void vtkLightCollection::operator= const vtkLightCollection &    [inline, protected]
 

Definition at line 76 of file vtkLightCollection.h.


The documentation for this class was generated from the following file:
Generated on Wed Nov 21 12:52:43 2001 for VTK by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001