VTK
|
a list of Props More...
#include <vtkPropCollection.h>
Public Types | |
typedef vtkCollection | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkPropCollection * | NewInstance () const |
void | AddItem (vtkProp *a) |
vtkProp * | GetNextProp () |
vtkProp * | GetLastProp () |
int | GetNumberOfPaths () |
vtkProp * | GetNextProp (vtkCollectionSimpleIterator &cookie) |
Static Public Member Functions | |
static vtkPropCollection * | New () |
static int | IsTypeOf (const char *type) |
static vtkPropCollection * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkPropCollection () | |
~vtkPropCollection () |
a list of Props
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 40 of file vtkPropCollection.h.
Reimplemented from vtkCollection.
Reimplemented in vtkActor2DCollection, vtkProp3DCollection, vtkActorCollection, vtkVolumeCollection, and vtkImageSliceCollection.
Definition at line 44 of file vtkPropCollection.h.
vtkPropCollection::vtkPropCollection | ( | ) | [inline, protected] |
Definition at line 71 of file vtkPropCollection.h.
vtkPropCollection::~vtkPropCollection | ( | ) | [inline, protected] |
Definition at line 72 of file vtkPropCollection.h.
static vtkPropCollection* vtkPropCollection::New | ( | ) | [static] |
Construct with empty list.
Reimplemented from vtkCollection.
Reimplemented in vtkActor2DCollection, vtkProp3DCollection, vtkActorCollection, vtkVolumeCollection, and vtkImageSliceCollection.
static int vtkPropCollection::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 vtkCollection.
Reimplemented in vtkActor2DCollection, vtkProp3DCollection, vtkActorCollection, vtkVolumeCollection, and vtkImageSliceCollection.
virtual int vtkPropCollection::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 vtkCollection.
Reimplemented in vtkActor2DCollection, vtkProp3DCollection, vtkActorCollection, vtkVolumeCollection, and vtkImageSliceCollection.
static vtkPropCollection* vtkPropCollection::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkCollection.
Reimplemented in vtkActor2DCollection, vtkProp3DCollection, vtkActorCollection, vtkVolumeCollection, and vtkImageSliceCollection.
virtual vtkObjectBase* vtkPropCollection::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkCollection.
Reimplemented in vtkActor2DCollection, vtkProp3DCollection, vtkActorCollection, vtkVolumeCollection, and vtkImageSliceCollection.
vtkPropCollection* vtkPropCollection::NewInstance | ( | ) | const |
Reimplemented from vtkCollection.
Reimplemented in vtkActor2DCollection, vtkProp3DCollection, vtkActorCollection, vtkVolumeCollection, and vtkImageSliceCollection.
void vtkPropCollection::AddItem | ( | vtkProp * | a | ) | [inline] |
Add an Prop to the list.
Definition at line 84 of file vtkPropCollection.h.
vtkProp * vtkPropCollection::GetNextProp | ( | ) | [inline] |
Get the next Prop in the list.
Definition at line 89 of file vtkPropCollection.h.
vtkProp * vtkPropCollection::GetLastProp | ( | ) | [inline] |
Get the last Prop in the list.
Definition at line 94 of file vtkPropCollection.h.
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.
vtkProp* vtkPropCollection::GetNextProp | ( | vtkCollectionSimpleIterator & | cookie | ) | [inline] |
Reentrant safe way to get an object in a collection. Just pass the same cookie back and forth.
Definition at line 65 of file vtkPropCollection.h.