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