#include <vtkPropCollection.h>
Inheritance diagram for vtkPropCollection:
vtkPropCollection represents and provides methods to manipulate a list of Props (i.e., vtkProp and subclasses). The list is unsorted and duplicate entries are not prevented.
Definition at line 52 of file vtkPropCollection.h.
Public Types | |
typedef vtkCollection | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | AddItem (vtkProp *a) |
vtkProp * | GetNextProp () |
vtkProp * | GetLastProp () |
int | GetNumberOfPaths () |
vtkProp * | GetNextProp (vtkCollectionSimpleIterator &cookie) |
Static Public Member Functions | |
vtkPropCollection * | New () |
int | IsTypeOf (const char *type) |
vtkPropCollection * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkPropCollection () | |
~vtkPropCollection () |
|
Reimplemented from vtkCollection. Reimplemented in vtkActor2DCollection, vtkActorCollection, vtkProp3DCollection, and vtkVolumeCollection. Definition at line 56 of file vtkPropCollection.h. |
|
Definition at line 83 of file vtkPropCollection.h. |
|
Definition at line 84 of file vtkPropCollection.h. |
|
Construct with empty list. Reimplemented from vtkCollection. Reimplemented in vtkActor2DCollection, vtkActorCollection, vtkProp3DCollection, and vtkVolumeCollection. |
|
Reimplemented from vtkCollection. Reimplemented in vtkActor2DCollection, vtkActorCollection, vtkProp3DCollection, and vtkVolumeCollection. |
|
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 vtkCollection. Reimplemented in vtkActor2DCollection, vtkActorCollection, vtkProp3DCollection, 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 vtkCollection. Reimplemented in vtkActor2DCollection, vtkActorCollection, vtkProp3DCollection, and vtkVolumeCollection. |
|
Reimplemented from vtkCollection. Reimplemented in vtkActor2DCollection, vtkActorCollection, vtkProp3DCollection, and vtkVolumeCollection. |
|
Add an Prop to the list. Definition at line 96 of file vtkPropCollection.h. References vtkCollection::AddItem(). |
|
Get the next Prop in the list. Definition at line 101 of file vtkPropCollection.h. References vtkCollection::GetNextItemAsObject(). |
|
Get the last Prop in the list. Definition at line 106 of file vtkPropCollection.h. References vtkCollectionElement::Item. |
|
Get the number of paths contained in this list. (Recall that a vtkProp can consist of multiple parts.) Used in picking and other activities to get the parts of composite entities like vtkAssembly or vtkPropAssembly. |
|
Reentrant safe way to get an object in a collection. Just pass the same cookie back and forth. Definition at line 77 of file vtkPropCollection.h. References vtkCollection::GetNextItemAsObject(), and vtkCollectionSimpleIterator. |