VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions
vtkImageSliceCollection Class Reference

a sorted list of image slice objects More...

#include <vtkImageSliceCollection.h>

Inheritance diagram for vtkImageSliceCollection:
Inheritance graph
[legend]
Collaboration diagram for vtkImageSliceCollection:
Collaboration graph
[legend]

List of all members.

Public Types

typedef vtkPropCollection Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkImageSliceCollectionNewInstance () const
void Sort ()
void AddItem (vtkImageSlice *a)
vtkImageSliceGetNextImage ()
vtkImageSliceGetNextItem ()
vtkImageSliceGetNextImage (vtkCollectionSimpleIterator &cookie)

Static Public Member Functions

static vtkImageSliceCollectionNew ()
static int IsTypeOf (const char *type)
static vtkImageSliceCollectionSafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkImageSliceCollection ()
 ~vtkImageSliceCollection ()
virtual void DeleteElement (vtkCollectionElement *)

Detailed Description

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.

See also:
vtkImageSlice vtkImageAssembly

Definition at line 32 of file vtkImageSliceCollection.h.


Member Typedef Documentation

Reimplemented from vtkPropCollection.

Definition at line 36 of file vtkImageSliceCollection.h.


Constructor & Destructor Documentation

Definition at line 65 of file vtkImageSliceCollection.h.


Member Function Documentation

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.

Reimplemented from vtkPropCollection.

virtual vtkObjectBase* vtkImageSliceCollection::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkPropCollection.

Reimplemented from vtkPropCollection.

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.

Add an image to the list. The new image is inserted in the list according to its layer number.

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.

Reentrant safe way to get an object in a collection.

Definition at line 85 of file vtkImageSliceCollection.h.

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.


The documentation for this class was generated from the following file: