#include <vtkImageSpatialAlgorithm.h>
vtkImageSpatialAlgorithm is a super class for filters that operate on an input neighborhood for each output pixel. It handles even sized neighborhoods, but their can be a half pixel shift associated with processing. This superclass has some logic for handling boundaries. It can split regions into boundary and non-boundary pieces and call different execute methods.
Definition at line 32 of file vtkImageSpatialAlgorithm.h.
Public Types | |
typedef vtkThreadedImageAlgorithm | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual int * | GetKernelSize () |
virtual void | GetKernelSize (int &, int &, int &) |
virtual void | GetKernelSize (int[3]) |
virtual int * | GetKernelMiddle () |
virtual void | GetKernelMiddle (int &, int &, int &) |
virtual void | GetKernelMiddle (int[3]) |
Static Public Member Functions | |
static vtkImageSpatialAlgorithm * | New () |
static int | IsTypeOf (const char *type) |
static vtkImageSpatialAlgorithm * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkImageSpatialAlgorithm () | |
~vtkImageSpatialAlgorithm () | |
virtual int | RequestInformation (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
void | ComputeOutputWholeExtent (int extent[6], int handleBoundaries) |
virtual int | RequestUpdateExtent (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
void | InternalRequestUpdateExtent (int *extent, int *inExtent, int *wholeExtent) |
Protected Attributes | |
int | KernelSize [3] |
int | KernelMiddle [3] |
int | HandleBoundaries |
Reimplemented from vtkThreadedImageAlgorithm.
Reimplemented in vtkImageAnisotropicDiffusion2D, vtkImageAnisotropicDiffusion3D, vtkImageContinuousDilate3D, vtkImageContinuousErode3D, vtkImageDilateErode3D, vtkImageHybridMedian2D, vtkImageMedian3D, vtkImageRange3D, vtkImageSobel2D, vtkImageSobel3D, and vtkImageVariance3D.
Definition at line 36 of file vtkImageSpatialAlgorithm.h.
vtkImageSpatialAlgorithm::vtkImageSpatialAlgorithm | ( | ) | [protected] |
vtkImageSpatialAlgorithm::~vtkImageSpatialAlgorithm | ( | ) | [inline, protected] |
Definition at line 51 of file vtkImageSpatialAlgorithm.h.
static vtkImageSpatialAlgorithm* vtkImageSpatialAlgorithm::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkAlgorithm.
Reimplemented in vtkImageAnisotropicDiffusion2D, vtkImageAnisotropicDiffusion3D, vtkImageContinuousDilate3D, vtkImageContinuousErode3D, vtkImageDilateErode3D, vtkImageHybridMedian2D, vtkImageMedian3D, vtkImageRange3D, vtkImageSobel2D, vtkImageSobel3D, and vtkImageVariance3D.
virtual const char* vtkImageSpatialAlgorithm::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkThreadedImageAlgorithm.
Reimplemented in vtkImageAnisotropicDiffusion2D, vtkImageAnisotropicDiffusion3D, vtkImageContinuousDilate3D, vtkImageContinuousErode3D, vtkImageDilateErode3D, vtkImageHybridMedian2D, vtkImageMedian3D, vtkImageRange3D, vtkImageSobel2D, vtkImageSobel3D, and vtkImageVariance3D.
static int vtkImageSpatialAlgorithm::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 vtkThreadedImageAlgorithm.
Reimplemented in vtkImageAnisotropicDiffusion2D, vtkImageAnisotropicDiffusion3D, vtkImageContinuousDilate3D, vtkImageContinuousErode3D, vtkImageDilateErode3D, vtkImageHybridMedian2D, vtkImageMedian3D, vtkImageRange3D, vtkImageSobel2D, vtkImageSobel3D, and vtkImageVariance3D.
virtual int vtkImageSpatialAlgorithm::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 vtkThreadedImageAlgorithm.
Reimplemented in vtkImageAnisotropicDiffusion2D, vtkImageAnisotropicDiffusion3D, vtkImageContinuousDilate3D, vtkImageContinuousErode3D, vtkImageDilateErode3D, vtkImageHybridMedian2D, vtkImageMedian3D, vtkImageRange3D, vtkImageSobel2D, vtkImageSobel3D, and vtkImageVariance3D.
static vtkImageSpatialAlgorithm* vtkImageSpatialAlgorithm::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkThreadedImageAlgorithm.
Reimplemented in vtkImageAnisotropicDiffusion2D, vtkImageAnisotropicDiffusion3D, vtkImageContinuousDilate3D, vtkImageContinuousErode3D, vtkImageDilateErode3D, vtkImageHybridMedian2D, vtkImageMedian3D, vtkImageRange3D, vtkImageSobel2D, vtkImageSobel3D, and vtkImageVariance3D.
void vtkImageSpatialAlgorithm::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 vtkThreadedImageAlgorithm.
Reimplemented in vtkImageAnisotropicDiffusion2D, vtkImageAnisotropicDiffusion3D, vtkImageContinuousDilate3D, vtkImageContinuousErode3D, vtkImageDilateErode3D, vtkImageMedian3D, vtkImageRange3D, vtkImageSobel2D, vtkImageSobel3D, and vtkImageVariance3D.
virtual int* vtkImageSpatialAlgorithm::GetKernelSize | ( | ) | [virtual] |
Get the Kernel size.
virtual void vtkImageSpatialAlgorithm::GetKernelSize | ( | int & | , | |
int & | , | |||
int & | ||||
) | [virtual] |
Get the Kernel size.
virtual void vtkImageSpatialAlgorithm::GetKernelSize | ( | int | [3] | ) | [virtual] |
Get the Kernel size.
virtual int* vtkImageSpatialAlgorithm::GetKernelMiddle | ( | ) | [virtual] |
Get the Kernel middle.
virtual void vtkImageSpatialAlgorithm::GetKernelMiddle | ( | int & | , | |
int & | , | |||
int & | ||||
) | [virtual] |
Get the Kernel middle.
virtual void vtkImageSpatialAlgorithm::GetKernelMiddle | ( | int | [3] | ) | [virtual] |
Get the Kernel middle.
virtual int vtkImageSpatialAlgorithm::RequestInformation | ( | vtkInformation * | , | |
vtkInformationVector ** | , | |||
vtkInformationVector * | ||||
) | [protected, virtual] |
Reimplemented from vtkImageAlgorithm.
Reimplemented in vtkImageRange3D, vtkImageSobel2D, vtkImageSobel3D, and vtkImageVariance3D.
void vtkImageSpatialAlgorithm::ComputeOutputWholeExtent | ( | int | extent[6], | |
int | handleBoundaries | |||
) | [protected] |
virtual int vtkImageSpatialAlgorithm::RequestUpdateExtent | ( | vtkInformation * | , | |
vtkInformationVector ** | , | |||
vtkInformationVector * | ||||
) | [protected, virtual] |
Reimplemented from vtkImageAlgorithm.
void vtkImageSpatialAlgorithm::InternalRequestUpdateExtent | ( | int * | extent, | |
int * | inExtent, | |||
int * | wholeExtent | |||
) | [protected] |
int vtkImageSpatialAlgorithm::KernelSize[3] [protected] |
Definition at line 51 of file vtkImageSpatialAlgorithm.h.
int vtkImageSpatialAlgorithm::KernelMiddle[3] [protected] |
Definition at line 54 of file vtkImageSpatialAlgorithm.h.
int vtkImageSpatialAlgorithm::HandleBoundaries [protected] |
Definition at line 55 of file vtkImageSpatialAlgorithm.h.