16 #ifndef vtkActor2DCollection_h
17 #define vtkActor2DCollection_h
20 #include "vtkRenderingCoreModule.h"
25 VTK_ABI_NAMESPACE_BEGIN
142 VTK_ABI_NAMESPACE_END
abstract superclass for all actors, volumes and annotations
void * vtkCollectionSimpleIterator
abstract base class for most VTK objects
int IndexOfFirstOccurrence(vtkActor2D *a)
Standard Collection methods.
abstract specification for Viewports
int GetNumberOfItems() VTK_FUTURE_CONST
Return the number of items in the collection.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a actor that draws 2D data
vtkActor2D * GetLastActor2D()
Standard Collection methods.
a simple class to control print indentation
int IndexOfFirstOccurrence(vtkObject *a) const
Search for the given item and return the 0-based index of its first occurrence in the collection...
vtkActor2D * GetNextItem()
Access routines that are provided for compatibility with previous version of VTK. ...
vtkObject * GetItemAsObject(int i) VTK_FUTURE_CONST
Get the i'th item in the collection.
void AddItem(vtkObject *)
Add given item to the bottom (end) of the collection.
int IsItemPresent(vtkActor2D *a)
Standard Collection methods.
void AddItem(vtkProp *a)
Add a Prop to the bottom of the list.
void Sort(std::function< bool(vtkObject *, vtkObject *)> f)
Sort the collection according to a given std::function that should return true if the first vtkObject...
vtkActor2D * GetNextActor2D(vtkCollectionSimpleIterator &cookie)
Reentrant safe way to get an object in a collection.
vtkActor2D * GetNextActor2D()
Standard Collection methods.
int IsItemPresent(vtkObject *a) VTK_FUTURE_CONST
Search for the given item and return the 1-based index of its first occurrence in the collection...
vtkObject * GetNextItemAsObject()
Get the next item in the collection.
static vtkPropCollection * New()
vtkActor2D * GetLastItem()
Access routines that are provided for compatibility with previous version of VTK. ...