VTK
|
a list of mappers More...
#include <vtkMapperCollection.h>
Public Types | |
typedef vtkCollection | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkMapperCollection * | NewInstance () const |
virtual void | PrintSelf (ostream &os, vtkIndent indent) |
void | AddItem (vtkMapper *a) |
vtkMapper * | GetNextItem () |
vtkMapper * | GetLastItem () |
vtkMapper * | GetNextMapper (vtkCollectionSimpleIterator &cookie) |
Static Public Member Functions | |
static vtkMapperCollection * | New () |
static int | IsTypeOf (const char *type) |
static vtkMapperCollection * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkMapperCollection () | |
~vtkMapperCollection () |
a list of mappers
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 34 of file vtkMapperCollection.h.
Reimplemented from vtkCollection.
Definition at line 38 of file vtkMapperCollection.h.
vtkMapperCollection::vtkMapperCollection | ( | ) | [inline, protected] |
Definition at line 69 of file vtkMapperCollection.h.
vtkMapperCollection::~vtkMapperCollection | ( | ) | [inline, protected] |
Definition at line 70 of file vtkMapperCollection.h.
static vtkMapperCollection* vtkMapperCollection::New | ( | ) | [static] |
Construct with empty list.
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 vtkTypeMacro 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 vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkCollection.
static vtkMapperCollection* vtkMapperCollection::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkCollection.
virtual vtkObjectBase* vtkMapperCollection::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkCollection.
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 43 of file vtkMapperCollection.h.
vtkMapper* vtkMapperCollection::GetNextItem | ( | ) | [inline] |
Get the next mapper in the list.
Definition at line 49 of file vtkMapperCollection.h.
vtkMapper* vtkMapperCollection::GetLastItem | ( | ) | [inline] |
Get the last mapper in the list.
Definition at line 55 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 63 of file vtkMapperCollection.h.