40#ifndef vtkDataSetCollection_h
41#define vtkDataSetCollection_h
44#include "vtkCommonDataModelModule.h"
48VTK_ABI_NAMESPACE_BEGIN
create and manipulate ordered lists of objects
vtkObject * GetItemAsObject(int i)
Get the i'th item in the collection.
void AddItem(vtkObject *)
Add an object to the bottom of the list.
vtkObject * GetNextItemAsObject()
Get the next item in the collection.
maintain an unordered list of dataset objects
void AddItem(vtkDataSet *ds)
Add a dataset to the bottom of the list.
vtkDataSet * GetNextDataSet(vtkCollectionSimpleIterator &cookie)
Reentrant safe way to get an object in a collection.
vtkDataSet * GetNextDataSet()
Get the next dataset in the list.
vtkDataSet * GetDataSet(int i)
Get the ith dataset in the list.
vtkDataSet * GetItem(int i)
Get the ith dataset in the list.
vtkDataSetCollection()=default
static vtkDataSetCollection * New()
~vtkDataSetCollection() override=default
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkDataSet * GetNextItem()
Get the next dataset in the list.
abstract class to specify dataset behavior
a simple class to control print indentation
abstract base class for most VTK objects
void * vtkCollectionSimpleIterator