#include <vtkMapperCollection.h>
vtkMapperCollection represents and provides methods to manipulate a list of mappers (i.e., vtkMapper and subclasses). The list is unsorted and duplicate entries are not prevented.
Definition at line 33 of file vtkMapperCollection.h.
Public Types | |
typedef vtkCollection | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
virtual void | PrintSelf (ostream &os, vtkIndent indent) |
vtkMapper * | GetLastItem () |
void | AddItem (vtkMapper *a) |
vtkMapper * | GetNextItem () |
vtkMapper * | GetNextMapper (vtkCollectionSimpleIterator &cookie) |
Static Public Member Functions | |
static vtkMapperCollection * | New () |
static int | IsTypeOf (const char *type) |
static vtkMapperCollection * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkMapperCollection () | |
~vtkMapperCollection () |
vtkMapperCollection::vtkMapperCollection | ( | ) | [inline, protected] |
Definition at line 65 of file vtkMapperCollection.h.
vtkMapperCollection::~vtkMapperCollection | ( | ) | [inline, protected] |
Definition at line 66 of file vtkMapperCollection.h.
static vtkMapperCollection* vtkMapperCollection::New | ( | ) | [static] |
Construct with empty list.
Reimplemented from vtkCollection.
virtual const char* vtkMapperCollection::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkCollection.
static int vtkMapperCollection::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 vtkCollection.
virtual int vtkMapperCollection::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 vtkCollection.
static vtkMapperCollection* vtkMapperCollection::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkCollection.
virtual void vtkMapperCollection::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 vtkMapperCollection::AddItem | ( | vtkMapper * | a | ) | [inline] |
Add an mapper to the list.
Definition at line 42 of file vtkMapperCollection.h.
vtkMapper* vtkMapperCollection::GetNextItem | ( | ) | [inline] |
Get the next mapper in the list.
Definition at line 48 of file vtkMapperCollection.h.
vtkMapper * vtkMapperCollection::GetLastItem | ( | ) | [inline] |
Get the last mapper in the list.
Definition at line 78 of file vtkMapperCollection.h.
vtkMapper* vtkMapperCollection::GetNextMapper | ( | vtkCollectionSimpleIterator & | cookie | ) | [inline] |
Reentrant safe way to get an object in a collection. Just pass the same cookie back and forth.
Definition at line 59 of file vtkMapperCollection.h.