VTK
|
a list of lights More...
#include <vtkLightCollection.h>
Public Types | |
typedef vtkCollection | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkLightCollection * | NewInstance () const |
virtual void | PrintSelf (ostream &os, vtkIndent indent) |
void | AddItem (vtkLight *a) |
vtkLight * | GetNextItem () |
vtkLight * | GetNextLight (vtkCollectionSimpleIterator &cookie) |
Static Public Member Functions | |
static vtkLightCollection * | New () |
static int | IsTypeOf (const char *type) |
static vtkLightCollection * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkLightCollection () | |
~vtkLightCollection () |
a list of lights
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.
Definition at line 37 of file vtkLightCollection.h.
Reimplemented from vtkCollection.
Definition at line 41 of file vtkLightCollection.h.
vtkLightCollection::vtkLightCollection | ( | ) | [inline, protected] |
Definition at line 60 of file vtkLightCollection.h.
vtkLightCollection::~vtkLightCollection | ( | ) | [inline, protected] |
Definition at line 61 of file vtkLightCollection.h.
static vtkLightCollection* vtkLightCollection::New | ( | ) | [static] |
Construct with empty list.
Reimplemented from vtkCollection.
static int vtkLightCollection::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 vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkCollection.
virtual int vtkLightCollection::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 vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkCollection.
static vtkLightCollection* vtkLightCollection::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkCollection.
virtual vtkObjectBase* vtkLightCollection::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkCollection.
Reimplemented from vtkCollection.
virtual void vtkLightCollection::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 vtkCollection.
void vtkLightCollection::AddItem | ( | vtkLight * | a | ) |
Add a light to the list.
Get the next light in the list. NULL is returned when the collection is exhausted.
Reentrant safe way to get an object in a collection. Just pass the same cookie back and forth.