VTK
|
Generic algorithm superclass for image algs. More...
#include <vtkImageAlgorithm.h>
Public Types | |
typedef vtkAlgorithm | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
vtkDataObject * | GetInput (int port) |
vtkDataObject * | GetInput () |
vtkImageData * | GetImageDataInput (int port) |
vtkImageData * | GetOutput () |
vtkImageData * | GetOutput (int) |
virtual void | SetOutput (vtkDataObject *d) |
virtual int | ProcessRequest (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
void | SetInput (vtkDataObject *) |
void | SetInput (int, vtkDataObject *) |
virtual void | AddInput (vtkDataObject *) |
virtual void | AddInput (int, vtkDataObject *) |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkImageAlgorithm * | SafeDownCast (vtkObject *o) |
Generic algorithm superclass for image algs.
vtkImageAlgorithm is a filter superclass that hides much of the pipeline complexity. It handles breaking the pipeline execution into smaller extents so that the vtkImageData limits are observed. It also provides support for multithreading. If you don't need any of this functionality, consider using vtkSimpleImageToImageFilter instead.
Definition at line 35 of file vtkImageAlgorithm.h.
typedef vtkAlgorithm vtkImageAlgorithm::Superclass |
Definition at line 38 of file vtkImageAlgorithm.h.
|
protected |
|
protected |
|
virtual |
Reimplemented in vtkSimpleImageToImageFilter, vtkThreadedImageAlgorithm, and vtkImageInPlaceFilter.
|
static |
|
virtual |
Reimplemented in vtkSimpleImageToImageFilter, vtkThreadedImageAlgorithm, and vtkImageInPlaceFilter.
|
static |
void vtkImageAlgorithm::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) |
vtkImageData* vtkImageAlgorithm::GetOutput | ( | ) |
Get the output data object for a port on this algorithm.
vtkImageData* vtkImageAlgorithm::GetOutput | ( | int | ) |
Get the output data object for a port on this algorithm.
|
virtual |
Get the output data object for a port on this algorithm.
|
virtual |
see vtkAlgorithm for details
void vtkImageAlgorithm::SetInput | ( | vtkDataObject * | ) |
Set an input of this algorithm. You should not override these methods because they are not the only way to connect a pipeline. Note that these methods support old-style pipeline connections. When writing new code you should use the more general vtkAlgorithm::SetInputConnection(). These methods transform the input index to the input port index, not an index of a connection within a single port.
void vtkImageAlgorithm::SetInput | ( | int | , |
vtkDataObject * | |||
) |
Set an input of this algorithm. You should not override these methods because they are not the only way to connect a pipeline. Note that these methods support old-style pipeline connections. When writing new code you should use the more general vtkAlgorithm::SetInputConnection(). These methods transform the input index to the input port index, not an index of a connection within a single port.
vtkDataObject* vtkImageAlgorithm::GetInput | ( | int | port | ) |
|
inline |
Definition at line 70 of file vtkImageAlgorithm.h.
vtkImageData* vtkImageAlgorithm::GetImageDataInput | ( | int | port | ) |
|
virtual |
Add an input of this algorithm. Note that these methods support old-style pipeline connections. When writing new code you should use the more general vtkAlgorithm::AddInputConnection(). See SetInput() for details.
|
virtual |
Add an input of this algorithm. Note that these methods support old-style pipeline connections. When writing new code you should use the more general vtkAlgorithm::AddInputConnection(). See SetInput() for details.
|
protectedvirtual |
|
protectedvirtual |
Reimplemented in vtkSimpleImageToImageFilter.
|
protectedvirtual |
|
protectedvirtual |
This is called by the superclass. This is the method you should override.
Reimplemented in vtkThreadedImageAlgorithm, vtkSimpleImageToImageFilter, and vtkImageInPlaceFilter.
|
protectedvirtual |
This method is the old style execute method
|
protectedvirtual |
This method is the old style execute method
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |