#include <vtkCollection.h>
Inheritance diagram for vtkCollection:
vtkCollection is a general object for creating and manipulating lists of objects. The lists are unsorted and allow duplicate entries. vtkCollection also serves as a base class for lists of specific types of objects.
Definition at line 48 of file vtkCollection.h.
|
|
|
|
|
|
|
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h. Reimplemented from vtkObject. Reimplemented in vtkAssemblyPath, vtkAssemblyPaths, vtkDataArrayCollection, vtkIdListCollection, vtkImplicitFunctionCollection, vtkObjectFactoryCollection, vtkOverrideInformationCollection, vtkPlaneCollection, vtkPropCollection, vtkTransformCollection, vtkActor2DCollection, vtkDataObjectCollection, vtkDataSetCollection, vtkPolyDataCollection, vtkStructuredPointsCollection, vtkImageReader2Collection, vtkActorCollection, vtkCullerCollection, vtkLightCollection, vtkMapperCollection, vtkProp3DCollection, vtkRendererCollection, vtkRenderWindowCollection, and vtkVolumeCollection. |
|
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h. Reimplemented from vtkObject. Reimplemented in vtkAssemblyPath, vtkAssemblyPaths, vtkDataArrayCollection, vtkIdListCollection, vtkImplicitFunctionCollection, vtkObjectFactoryCollection, vtkOverrideInformationCollection, vtkPlaneCollection, vtkPropCollection, vtkTransformCollection, vtkActor2DCollection, vtkDataObjectCollection, vtkDataSetCollection, vtkPolyDataCollection, vtkStructuredPointsCollection, vtkImageReader2Collection, vtkActorCollection, vtkCullerCollection, vtkLightCollection, vtkMapperCollection, vtkProp3DCollection, vtkRendererCollection, vtkRenderWindowCollection, and vtkVolumeCollection. |
|
|
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes. Reimplemented from vtkObject. Reimplemented in vtkAssemblyPath, vtkPolyDataCollection, vtkStructuredPointsCollection, vtkImageReader2Collection, vtkActorCollection, vtkCullerCollection, vtkLightCollection, vtkMapperCollection, vtkProp3DCollection, vtkRendererCollection, vtkRenderWindowCollection, and vtkVolumeCollection. |
|
|
|
Replace the i'th item in the collection with a |
|
Remove the i'th item in the list. Be careful if using this function during traversal of the list using GetNextItemAsObject (or GetNextItem in derived class). The list WILL be shortened if a valid index is given! If this->Current is equal to the element being removed, have it point to then next element in the list. Referenced by vtkAssemblyPaths::RemoveItem(). |
|
Remove an object from the list. Removes the first object found, not all occurrences. If no object found, list is unaffected. See warning in description of RemoveItem(int). |
|
Remove all objects from the list. |
|
Search for an object and return location in list. If location == 0, object was not found. Referenced by vtkActor2DCollection::IsItemPresent(), and vtkAssemblyPaths::IsItemPresent(). |
|
Return the number of objects in the list. |
|
Initialize the traversal of the collection. This means the data pointer is set at the beginning of the list. Definition at line 87 of file vtkCollection.h. |
|
A reentrant safe way to iterate through a collection. Just pass the same cookie value around each time Definition at line 93 of file vtkCollection.h. |
|
|
Get the i'th item in the collection. NULL is returned if i is out of range Referenced by vtkDataSetCollection::GetDataSet(), vtkDataSetCollection::GetItem(), vtkDataObjectCollection::GetItem(), vtkIdListCollection::GetItem(), and vtkDataArrayCollection::GetItem(). |
|
A reentrant safe way to get the next object as a collection. Just pass the same cookie back and forth. |
|
Get an iterator to traverse the objects in this collection. |
|
Participate in garbage collection. Reimplemented from vtkObjectBase. |
|
Get an iterator to traverse the objects in this collection. Reimplemented from vtkObjectBase. |
|
Reimplemented in vtkActor2DCollection. |
|
Reimplemented from vtkObjectBase. |
|
Definition at line 133 of file vtkCollection.h. |
|
Definition at line 127 of file vtkCollection.h. |
|
Definition at line 128 of file vtkCollection.h. |
|
Definition at line 129 of file vtkCollection.h. Referenced by vtkActorCollection::GetLastActor(), vtkActor2DCollection::GetLastActor2D(), vtkMapperCollection::GetLastItem(), vtkCullerCollection::GetLastItem(), vtkPropCollection::GetLastProp(), and vtkProp3DCollection::GetLastProp3D(). |
|
Definition at line 130 of file vtkCollection.h. Referenced by GetNextItemAsObject(). |