23 #ifndef vtkDataSetCollection_h 24 #define vtkDataSetCollection_h 26 #include "vtkCommonDataModelModule.h" void * vtkCollectionSimpleIterator
vtkDataSet * GetNextItem()
Get the next dataset in the list.
maintain an unordered list of dataset objects
abstract base class for most VTK objects
abstract class to specify dataset behavior
vtkDataSet * GetDataSet(int i)
Get the ith dataset in the list.
~vtkDataSetCollection() override
vtkDataSet * GetNextDataSet()
Get the next dataset in the list.
vtkDataSet * GetItem(int i)
Get the ith dataset in the list.
static vtkCollection * New()
Construct with empty list.
vtkDataSet * GetNextDataSet(vtkCollectionSimpleIterator &cookie)
Reentrant safe way to get an object in a collection.
void AddItem(vtkObject *)
Add an object to the bottom of the list.
create and manipulate ordered lists of objects
vtkObject * GetNextItemAsObject()
Get the next item in the collection.
vtkObject * GetItemAsObject(int i)
Get the i'th item in the collection.
void AddItem(vtkDataSet *ds)
Add a dataset to the bottom of the list.