#include <vtkProp3DCollection.h>
vtkProp3DCollection represents and provides methods to manipulate a list of 3D props (i.e., vtkProp3D and subclasses). The list is unsorted and duplicate entries are not prevented.
Definition at line 32 of file vtkProp3DCollection.h.
Public Types | |
typedef vtkPropCollection | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
virtual void | PrintSelf (ostream &os, vtkIndent indent) |
void | AddItem (vtkProp3D *p) |
vtkProp3D * | GetNextProp3D () |
vtkProp3D * | GetLastProp3D () |
vtkProp3D * | GetNextProp3D (vtkCollectionSimpleIterator &cookie) |
Static Public Member Functions | |
static vtkProp3DCollection * | New () |
static int | IsTypeOf (const char *type) |
static vtkProp3DCollection * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkProp3DCollection () | |
~vtkProp3DCollection () |
vtkProp3DCollection::vtkProp3DCollection | ( | ) | [inline, protected] |
Definition at line 60 of file vtkProp3DCollection.h.
vtkProp3DCollection::~vtkProp3DCollection | ( | ) | [inline, protected] |
Definition at line 61 of file vtkProp3DCollection.h.
static vtkProp3DCollection* vtkProp3DCollection::New | ( | ) | [static] |
Construct with empty list.
Reimplemented from vtkPropCollection.
virtual const char* vtkProp3DCollection::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkPropCollection.
static int vtkProp3DCollection::IsTypeOf | ( | const char * | name | ) | [static] |
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 vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkPropCollection.
virtual int vtkProp3DCollection::IsA | ( | const char * | name | ) | [virtual] |
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 vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkPropCollection.
static vtkProp3DCollection* vtkProp3DCollection::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkPropCollection.
virtual void vtkProp3DCollection::PrintSelf | ( | ostream & | os, | |
vtkIndent | indent | |||
) | [virtual] |
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 vtkCollection.
void vtkProp3DCollection::AddItem | ( | vtkProp3D * | p | ) | [inline] |
Add an actor to the list.
Definition at line 80 of file vtkProp3DCollection.h.
vtkProp3D * vtkProp3DCollection::GetNextProp3D | ( | ) | [inline] |
Get the next actor in the list.
Definition at line 85 of file vtkProp3DCollection.h.
vtkProp3D * vtkProp3DCollection::GetLastProp3D | ( | ) | [inline] |
Get the last actor in the list.
Definition at line 90 of file vtkProp3DCollection.h.
vtkProp3D* vtkProp3DCollection::GetNextProp3D | ( | vtkCollectionSimpleIterator & | cookie | ) | [inline] |
Reentrant safe way to get an object in a collection. Just pass the same cookie back and forth.
Definition at line 52 of file vtkProp3DCollection.h.