30 #ifndef vtkActorCollection_h 31 #define vtkActorCollection_h 33 #include "vtkRenderingCoreModule.h" 110 if ( this->Bottom ==
nullptr )
116 return static_cast<vtkActor *
>(this->Bottom->Item);
122 return this->GetNextActor();
127 return this->GetLastActor();
abstract superclass for all actors, volumes and annotations
void * vtkCollectionSimpleIterator
represents an object (geometry & properties) in a rendered scene
abstract base class for most VTK objects
vtkActor * GetLastItem()
Access routines that are provided for compatibility with previous version of VTK. ...
represent surface properties of a geometric object
void AddItem(vtkActor *a)
Add an actor to the bottom of the list.
a simple class to control print indentation
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkActor * GetLastActor()
Get the last actor in the list.
vtkActor * GetNextActor(vtkCollectionSimpleIterator &cookie)
Reentrant safe way to get an object in a collection.
vtkActor * GetNextItem()
Access routines that are provided for compatibility with previous version of VTK. ...
an ordered list of actors
~vtkActorCollection() override
void AddItem(vtkObject *)
Add an object to the bottom of the list.
void AddItem(vtkProp *a)
Add a Prop to the bottom of the list.
vtkActor * GetNextActor()
Get the next actor in the list.
vtkObject * GetNextItemAsObject()
Get the next item in the collection.
static vtkPropCollection * New()