VTK
|
Source of data for the imaging pipeline. More...
#include <vtkImageSource.h>
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) |
vtkImageData * | GetOutput () |
vtkImageData * | GetOutput (int idx) |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkImageSource * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkImageSource () | |
~vtkImageSource () | |
void | Execute () |
virtual void | Execute (vtkImageData *data) |
virtual vtkImageData * | AllocateOutputData (vtkDataObject *out) |
virtual int | FillOutputPortInformation (int, vtkInformation *) |
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.
Definition at line 33 of file vtkImageSource.h.
typedef vtkSource vtkImageSource::Superclass |
Reimplemented from vtkSource.
Reimplemented in vtkImageSpatialFilter, vtkImageToImageFilter, vtkDataSetToImageFilter, vtkImageMultipleInputFilter, vtkImageMultipleInputOutputFilter, and vtkImageTwoInputFilter.
Definition at line 36 of file vtkImageSource.h.
vtkImageSource::vtkImageSource | ( | ) | [protected] |
vtkImageSource::~vtkImageSource | ( | ) | [inline, protected] |
Definition at line 48 of file vtkImageSource.h.
virtual const char* vtkImageSource::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkSource.
Reimplemented in vtkImageSpatialFilter, vtkImageToImageFilter, vtkDataSetToImageFilter, vtkImageMultipleInputFilter, vtkImageMultipleInputOutputFilter, and vtkImageTwoInputFilter.
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] |
Reimplemented from vtkSource.
Reimplemented in vtkImageSpatialFilter, vtkImageToImageFilter, vtkDataSetToImageFilter, vtkImageMultipleInputFilter, vtkImageMultipleInputOutputFilter, and vtkImageTwoInputFilter.
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.