vtkImageAlgorithm Class Reference
#include <vtkImageAlgorithm.h>
Inheritance diagram for vtkImageAlgorithm:
[legend]Collaboration diagram for vtkImageAlgorithm:
[legend]List of all members.
Detailed Description
Generic algorithm superclass for image algs.
vtkImageToImageAlgorithm 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 vtkSimpleImageToImageAlgorithm instead.
- See also:
- vtkSimpleImageToImageAlgorithm
- Events:
- vtkCommand::StartEvent vtkCommand::EndEvent
- Created by:
-
- CVS contributions (if > 5%):
-
- CVS logs (CVSweb):
.h (/Filtering/vtkImageAlgorithm
.h)
.cxx (/Filtering/vtkImageAlgorithm
.cxx)
Definition at line 47 of file 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) |
|
vtkImageData * | GetOutput () |
vtkImageData * | GetOutput (int) |
|
virtual int | ProcessRequest (vtkInformation *, vtkInformationVector *, vtkInformationVector *) |
|
void | SetInput (vtkDataObject *) |
void | SetInput (int, vtkDataObject *) |
|
void | AddInput (vtkDataObject *) |
void | AddInput (int, vtkDataObject *) |
Static Public Member Functions |
int | IsTypeOf (const char *type) |
vtkImageAlgorithm * | SafeDownCast (vtkObject *o) |
Protected Member Functions |
| vtkImageAlgorithm () |
| ~vtkImageAlgorithm () |
virtual void | ExecuteInformation (vtkInformation *request, vtkInformationVector *inputVector, vtkInformationVector *outputVector) |
virtual void | RequestUpdateExtent (vtkInformation *, vtkInformationVector *, vtkInformationVector *) |
virtual void | RequestData (vtkInformation *request, vtkInformationVector *inputVector, vtkInformationVector *outputVector) |
virtual void | AllocateOutputData (vtkImageData *out, int *uExtent) |
virtual vtkImageData * | AllocateOutputData (vtkDataObject *out) |
virtual void | CopyAttributeData (vtkImageData *in, vtkImageData *out) |
virtual int | FillOutputPortInformation (int port, vtkInformation *info) |
virtual int | FillInputPortInformation (int port, vtkInformation *info) |
virtual void | SetInputScalarsSelection (const char *) |
|
virtual void | ExecuteData (vtkDataObject *output) |
virtual void | Execute () |
Protected Attributes |
char * | InputScalarsSelection |
Member Typedef Documentation
|
Reimplemented from vtkAlgorithm.
Reimplemented in vtkThreadedImageAlgorithm, vtkBooleanTexture, vtkExtractVOI, vtkImageCast, vtkImageConstantPad, vtkImageDivergence, vtkImageEllipsoidSource, vtkImageEuclideanToPolar, vtkImageExtractComponents, vtkImageGaussianSource, vtkImageGradient, vtkImageGradientMagnitude, vtkImageGridSource, vtkImageHSIToRGB, vtkImageHSVToRGB, vtkImageLogarithmicScale, vtkImageLogic, vtkImageLuminance, vtkImageMagnitude, vtkImageMandelbrotSource, vtkImageMaskBits, vtkImageMirrorPad, vtkImageNoiseSource, vtkImageNormalize, vtkImagePadFilter, vtkImageRGBToHSI, vtkImageRGBToHSV, vtkImageShiftScale, vtkImageSinusoidSource, vtkImageWrapPad, vtkTriangularTexture, vtkRendererSource, and vtkWindowToImageFilter.
Definition at line 50 of file vtkImageAlgorithm.h. |
Constructor & Destructor Documentation
vtkImageAlgorithm::vtkImageAlgorithm |
( |
|
) |
[protected] |
|
Member Function Documentation
virtual const char* vtkImageAlgorithm::GetClassName |
( |
|
) |
[virtual] |
|
|
Reimplemented from vtkAlgorithm.
Reimplemented in vtkThreadedImageAlgorithm, vtkBooleanTexture, vtkExtractVOI, vtkImageCast, vtkImageConstantPad, vtkImageDivergence, vtkImageEllipsoidSource, vtkImageEuclideanToPolar, vtkImageExtractComponents, vtkImageGaussianSource, vtkImageGradient, vtkImageGradientMagnitude, vtkImageGridSource, vtkImageHSIToRGB, vtkImageHSVToRGB, vtkImageLogarithmicScale, vtkImageLogic, vtkImageLuminance, vtkImageMagnitude, vtkImageMandelbrotSource, vtkImageMaskBits, vtkImageMirrorPad, vtkImageNoiseSource, vtkImageNormalize, vtkImagePadFilter, vtkImageRGBToHSI, vtkImageRGBToHSV, vtkImageShiftScale, vtkImageSinusoidSource, vtkImageWrapPad, vtkTriangularTexture, vtkRendererSource, and vtkWindowToImageFilter. |
int vtkImageAlgorithm::IsTypeOf |
( |
const char * |
type |
) |
[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 vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkAlgorithm.
Reimplemented in vtkThreadedImageAlgorithm, vtkBooleanTexture, vtkExtractVOI, vtkImageCast, vtkImageConstantPad, vtkImageDivergence, vtkImageEllipsoidSource, vtkImageEuclideanToPolar, vtkImageExtractComponents, vtkImageGaussianSource, vtkImageGradient, vtkImageGradientMagnitude, vtkImageGridSource, vtkImageHSIToRGB, vtkImageHSVToRGB, vtkImageLogarithmicScale, vtkImageLogic, vtkImageLuminance, vtkImageMagnitude, vtkImageMandelbrotSource, vtkImageMaskBits, vtkImageMirrorPad, vtkImageNoiseSource, vtkImageNormalize, vtkImagePadFilter, vtkImageRGBToHSI, vtkImageRGBToHSV, vtkImageShiftScale, vtkImageSinusoidSource, vtkImageWrapPad, vtkTriangularTexture, vtkRendererSource, and vtkWindowToImageFilter. |
virtual int vtkImageAlgorithm::IsA |
( |
const char * |
type |
) |
[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 vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkAlgorithm.
Reimplemented in vtkThreadedImageAlgorithm, vtkBooleanTexture, vtkExtractVOI, vtkImageCast, vtkImageConstantPad, vtkImageDivergence, vtkImageEllipsoidSource, vtkImageEuclideanToPolar, vtkImageExtractComponents, vtkImageGaussianSource, vtkImageGradient, vtkImageGradientMagnitude, vtkImageGridSource, vtkImageHSIToRGB, vtkImageHSVToRGB, vtkImageLogarithmicScale, vtkImageLogic, vtkImageLuminance, vtkImageMagnitude, vtkImageMandelbrotSource, vtkImageMaskBits, vtkImageMirrorPad, vtkImageNoiseSource, vtkImageNormalize, vtkImagePadFilter, vtkImageRGBToHSI, vtkImageRGBToHSV, vtkImageShiftScale, vtkImageSinusoidSource, vtkImageWrapPad, vtkTriangularTexture, vtkRendererSource, and vtkWindowToImageFilter. |
|
Reimplemented from vtkAlgorithm.
Reimplemented in vtkThreadedImageAlgorithm, vtkBooleanTexture, vtkExtractVOI, vtkImageCast, vtkImageConstantPad, vtkImageDivergence, vtkImageEllipsoidSource, vtkImageEuclideanToPolar, vtkImageExtractComponents, vtkImageGaussianSource, vtkImageGradient, vtkImageGradientMagnitude, vtkImageGridSource, vtkImageHSIToRGB, vtkImageHSVToRGB, vtkImageLogarithmicScale, vtkImageLogic, vtkImageLuminance, vtkImageMagnitude, vtkImageMandelbrotSource, vtkImageMaskBits, vtkImageMirrorPad, vtkImageNoiseSource, vtkImageNormalize, vtkImagePadFilter, vtkImageRGBToHSI, vtkImageRGBToHSV, vtkImageShiftScale, vtkImageSinusoidSource, vtkImageWrapPad, vtkTriangularTexture, vtkRendererSource, and vtkWindowToImageFilter. |
void vtkImageAlgorithm::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 vtkAlgorithm.
Reimplemented in vtkThreadedImageAlgorithm, vtkBooleanTexture, vtkExtractVOI, vtkImageCast, vtkImageConstantPad, vtkImageEllipsoidSource, vtkImageEuclideanToPolar, vtkImageExtractComponents, vtkImageGaussianSource, vtkImageGradient, vtkImageGradientMagnitude, vtkImageGridSource, vtkImageHSIToRGB, vtkImageHSVToRGB, vtkImageLogarithmicScale, vtkImageLogic, vtkImageMandelbrotSource, vtkImageMaskBits, vtkImageNoiseSource, vtkImagePadFilter, vtkImageRGBToHSI, vtkImageRGBToHSV, vtkImageShiftScale, vtkImageSinusoidSource, vtkTriangularTexture, vtkRendererSource, and vtkWindowToImageFilter. |
|
Get the output data object for a port on this algorithm. |
|
Get the output data object for a port on this algorithm. |
|
Set an input of this algorithm. |
|
Add an input of this algorithm. |
|
Add an input of this algorithm. |
|
Reimplemented in vtkBooleanTexture, vtkExtractVOI, vtkImageCast, vtkImageDivergence, vtkImageEllipsoidSource, vtkImageExtractComponents, vtkImageGaussianSource, vtkImageGradient, vtkImageGradientMagnitude, vtkImageGridSource, vtkImageLuminance, vtkImageMagnitude, vtkImageMandelbrotSource, vtkImageNoiseSource, vtkImageNormalize, vtkImagePadFilter, vtkImageShiftScale, vtkImageSinusoidSource, vtkTriangularTexture, vtkRendererSource, and vtkWindowToImageFilter. |
virtual void vtkImageAlgorithm::ExecuteData |
( |
vtkDataObject * |
output |
) |
[protected, virtual] |
|
virtual void vtkImageAlgorithm::Execute |
( |
|
) |
[protected, virtual] |
|
|
This method is the old style execute method |
virtual void vtkImageAlgorithm::AllocateOutputData |
( |
vtkImageData * |
out, |
|
|
int * |
uExtent |
|
) |
[protected, virtual] |
|
virtual int vtkImageAlgorithm::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 vtkAlgorithm. |
virtual int vtkImageAlgorithm::FillInputPortInformation |
( |
int |
port, |
|
|
vtkInformation * |
info |
|
) |
[protected, virtual] |
|
|
Fill the input port information objects for this algorithm. This is invoked by the first call to GetInputPortInformation for each port so subclasses can specify what they can handle.
Reimplemented from vtkAlgorithm. |
virtual void vtkImageAlgorithm::SetInputScalarsSelection |
( |
const char * |
|
) |
[protected, virtual] |
|
Member Data Documentation
The documentation for this class was generated from the following file: