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 const char * GetClassName ()
virtual int IsA (const char *type)
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 (vtkObject *o)

Protected Member Functions

 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 31 of file vtkImageSliceCollection.h.


Member Typedef Documentation

Reimplemented from vtkPropCollection.

Definition at line 35 of file vtkImageSliceCollection.h.


Constructor & Destructor Documentation

vtkImageSliceCollection::vtkImageSliceCollection ( ) [inline, protected]

Definition at line 64 of file vtkImageSliceCollection.h.

vtkImageSliceCollection::~vtkImageSliceCollection ( ) [protected]

Member Function Documentation

static vtkImageSliceCollection* vtkImageSliceCollection::New ( ) [static]

Construct with empty list.

Reimplemented from vtkPropCollection.

virtual const char* vtkImageSliceCollection::GetClassName ( ) [virtual]

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 ( vtkObject o) [static]

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 79 of file vtkImageSliceCollection.h.

vtkImageSlice * vtkImageSliceCollection::GetNextImage ( vtkCollectionSimpleIterator cookie) [inline]

Reentrant safe way to get an object in a collection.

Definition at line 84 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 61 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: