Go to the documentation of this file.
27 #ifndef vtkMapperCollection_h
28 #define vtkMapperCollection_h
30 #include "vtkRenderingCoreModule.h"
58 {
return this->Bottom ? static_cast<vtkMapper*>(this->Bottom->Item) :
nullptr; }
static vtkCollection * New()
Construct with empty list.
void * vtkCollectionSimpleIterator
vtkMapper * GetNextMapper(vtkCollectionSimpleIterator &cookie)
Reentrant safe way to get an object in a collection.
abstract base class for most VTK objects
vtkObject * GetNextItemAsObject()
Get the next item in the collection.
create and manipulate ordered lists of objects
abstract class specifies interface to map data to graphics primitives
an ordered list of mappers
a simple class to control print indentation
vtkMapper * GetNextItem()
Get the next mapper in the list.
void AddItem(vtkObject *)
Add an object to the bottom of the list.
~vtkMapperCollection() override
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void AddItem(vtkMapper *a)
Add an mapper to the bottom of the list.
vtkMapper * GetLastItem()
Get the last mapper in the list.