VTK
|
a sorted list of image slice objects More...
#include <vtkImageSliceCollection.h>
Public Types | |
typedef vtkPropCollection | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkImageSliceCollection * | NewInstance () const |
void | Sort () |
void | AddItem (vtkImageSlice *a) |
vtkImageSlice * | GetNextImage () |
vtkImageSlice * | GetNextItem () |
vtkImageSlice * | GetNextImage (vtkCollectionSimpleIterator &cookie) |
Static Public Member Functions | |
static vtkImageSliceCollection * | New () |
static int | IsTypeOf (const char *type) |
static vtkImageSliceCollection * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkImageSliceCollection () | |
~vtkImageSliceCollection () | |
virtual void | DeleteElement (vtkCollectionElement *) |
a sorted list of image slice objects
vtkImageSliceCollection is a vtkPropCollection that maintains a list of vtkImageSlice objects that are sorted by LayerNumber. This allows the images to be rendered in the correct order.
Definition at line 32 of file vtkImageSliceCollection.h.
Reimplemented from vtkPropCollection.
Definition at line 36 of file vtkImageSliceCollection.h.
vtkImageSliceCollection::vtkImageSliceCollection | ( | ) | [inline, protected] |
Definition at line 65 of file vtkImageSliceCollection.h.
vtkImageSliceCollection::~vtkImageSliceCollection | ( | ) | [protected] |
static vtkImageSliceCollection* vtkImageSliceCollection::New | ( | ) | [static] |
Construct with empty list.
Reimplemented from vtkPropCollection.
static int vtkImageSliceCollection::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 vtkImageSliceCollection::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 vtkImageSliceCollection* vtkImageSliceCollection::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkPropCollection.
virtual vtkObjectBase* vtkImageSliceCollection::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkPropCollection.
Reimplemented from vtkPropCollection.
void vtkImageSliceCollection::Sort | ( | ) |
Sorts the vtkImageSliceCollection by layer number. Smaller layer numbers are first. Layer numbers can be any integer value. Items with the same layer number will be kept in the same relative order as before the sort.
void vtkImageSliceCollection::AddItem | ( | vtkImageSlice * | a | ) |
Add an image to the list. The new image is inserted in the list according to its layer number.
vtkImageSlice * vtkImageSliceCollection::GetNextImage | ( | ) | [inline] |
Standard Collection methods. You must call InitTraversal before calling GetNextImage. If possible, you should use the GetNextImage method that takes a collection iterator instead.
Definition at line 80 of file vtkImageSliceCollection.h.
vtkImageSlice * vtkImageSliceCollection::GetNextImage | ( | vtkCollectionSimpleIterator & | cookie | ) | [inline] |
Reentrant safe way to get an object in a collection.
Definition at line 85 of file vtkImageSliceCollection.h.
vtkImageSlice* vtkImageSliceCollection::GetNextItem | ( | ) | [inline] |
Access routine provided for compatibility with previous versions of VTK. Please use the GetNextImage() variant where possible.
Definition at line 62 of file vtkImageSliceCollection.h.
virtual void vtkImageSliceCollection::DeleteElement | ( | vtkCollectionElement * | ) | [protected, virtual] |
Reimplemented from vtkCollection.