VTK
|
maintain a list of polygonal data objects More...
#include <vtkPolyDataCollection.h>
Public Types | |
typedef vtkCollection | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkPolyDataCollection * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
void | AddItem (vtkPolyData *pd) |
vtkPolyData * | GetNextItem () |
vtkPolyData * | GetNextPolyData (vtkCollectionSimpleIterator &cookie) |
Static Public Member Functions | |
static vtkPolyDataCollection * | New () |
static int | IsTypeOf (const char *type) |
static vtkPolyDataCollection * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkPolyDataCollection () | |
~vtkPolyDataCollection () |
maintain a list of polygonal data objects
vtkPolyDataCollection is an object that creates and manipulates lists of datasets of type vtkPolyData.
Definition at line 33 of file vtkPolyDataCollection.h.
Reimplemented from vtkCollection.
Definition at line 37 of file vtkPolyDataCollection.h.
vtkPolyDataCollection::vtkPolyDataCollection | ( | ) | [inline, protected] |
Definition at line 64 of file vtkPolyDataCollection.h.
vtkPolyDataCollection::~vtkPolyDataCollection | ( | ) | [inline, protected] |
Definition at line 65 of file vtkPolyDataCollection.h.
static vtkPolyDataCollection* vtkPolyDataCollection::New | ( | ) | [static] |
Construct with empty list.
Reimplemented from vtkCollection.
static int vtkPolyDataCollection::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.
virtual int vtkPolyDataCollection::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.
static vtkPolyDataCollection* vtkPolyDataCollection::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkCollection.
virtual vtkObjectBase* vtkPolyDataCollection::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkCollection.
Reimplemented from vtkCollection.
void vtkPolyDataCollection::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 vtkPolyDataCollection::AddItem | ( | vtkPolyData * | pd | ) | [inline] |
Add a poly data to the list.
Definition at line 42 of file vtkPolyDataCollection.h.
vtkPolyData* vtkPolyDataCollection::GetNextItem | ( | ) | [inline] |
Get the next poly data in the list.
Definition at line 50 of file vtkPolyDataCollection.h.
vtkPolyData* vtkPolyDataCollection::GetNextPolyData | ( | vtkCollectionSimpleIterator & | cookie | ) | [inline] |
Reentrant safe way to get an object in a collection. Just pass the same cookie back and forth.
Definition at line 58 of file vtkPolyDataCollection.h.