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

Source of data for the imaging pipeline. More...

#include <vtkImageSource.h>

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

List of all members.

Public Types

typedef vtkSource Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
void SetOutput (vtkImageData *output)
vtkImageDataGetOutput ()
vtkImageDataGetOutput (int idx)

Static Public Member Functions

static int IsTypeOf (const char *type)
static vtkImageSourceSafeDownCast (vtkObject *o)

Protected Member Functions

 vtkImageSource ()
 ~vtkImageSource ()
void Execute ()
virtual void Execute (vtkImageData *data)
virtual vtkImageDataAllocateOutputData (vtkDataObject *out)
virtual int FillOutputPortInformation (int, vtkInformation *)

Detailed Description

Source of data for the imaging pipeline.

vtkImageSource is the superclass for all imaging sources and filters. The method Update(), called by the cache, is the major interface to the source.

See also:
vtkImageToImageFilter

Definition at line 33 of file vtkImageSource.h.


Member Typedef Documentation


Constructor & Destructor Documentation

vtkImageSource::vtkImageSource ( ) [protected]
vtkImageSource::~vtkImageSource ( ) [inline, protected]

Definition at line 48 of file vtkImageSource.h.


Member Function Documentation

virtual const char* vtkImageSource::GetClassName ( ) [virtual]
static int vtkImageSource::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 vtkSource.

Reimplemented in vtkImageSpatialFilter, vtkImageToImageFilter, vtkDataSetToImageFilter, vtkImageMultipleInputFilter, vtkImageMultipleInputOutputFilter, and vtkImageTwoInputFilter.

virtual int vtkImageSource::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 vtkSource.

Reimplemented in vtkImageSpatialFilter, vtkImageToImageFilter, vtkDataSetToImageFilter, vtkImageMultipleInputFilter, vtkImageMultipleInputOutputFilter, and vtkImageTwoInputFilter.

static vtkImageSource* vtkImageSource::SafeDownCast ( vtkObject o) [static]
void vtkImageSource::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 vtkSource.

Reimplemented in vtkImageSpatialFilter, vtkImageToImageFilter, vtkDataSetToImageFilter, vtkImageMultipleInputFilter, vtkImageMultipleInputOutputFilter, and vtkImageTwoInputFilter.

void vtkImageSource::SetOutput ( vtkImageData output)

Get the output of this source.

vtkImageData* vtkImageSource::GetOutput ( )

Get the output of this source.

Reimplemented in vtkImageMultipleInputOutputFilter.

vtkImageData* vtkImageSource::GetOutput ( int  idx)

Get the output of this source.

Reimplemented from vtkSource.

Reimplemented in vtkImageMultipleInputOutputFilter.

void vtkImageSource::Execute ( ) [protected, virtual]

This method is the old style execute method

Reimplemented from vtkSource.

virtual void vtkImageSource::Execute ( vtkImageData data) [protected, virtual]
virtual vtkImageData* vtkImageSource::AllocateOutputData ( vtkDataObject out) [protected, virtual]

Reimplemented in vtkImageToImageFilter.

virtual int vtkImageSource::FillOutputPortInformation ( int  port,
vtkInformation info 
) [protected, virtual]

Fill the output port information objects for this algorithm. This is invoked by the first call to GetOutputPortInformation for each port so subclasses can specify what they can handle.

Reimplemented from vtkSource.


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