#include <vtkImageSpatialFilter.h>
vtkImageSpatialFilter 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 39 of file vtkImageSpatialFilter.h.
Public Types | |
typedef vtkImageToImageFilter | 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 vtkImageSpatialFilter * | New () |
static int | IsTypeOf (const char *type) |
static vtkImageSpatialFilter * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkImageSpatialFilter () | |
~vtkImageSpatialFilter () | |
void | ExecuteInformation () |
virtual void | ExecuteInformation (vtkImageData *inData, vtkImageData *outData) |
void | ComputeOutputWholeExtent (int extent[6], int handleBoundaries) |
void | ComputeInputUpdateExtent (int extent[6], int wholeExtent[6]) |
Protected Attributes | |
int | KernelSize [3] |
int | KernelMiddle [3] |
int | HandleBoundaries |
vtkImageSpatialFilter::vtkImageSpatialFilter | ( | ) | [protected] |
vtkImageSpatialFilter::~vtkImageSpatialFilter | ( | ) | [inline, protected] |
Definition at line 58 of file vtkImageSpatialFilter.h.
static vtkImageSpatialFilter* vtkImageSpatialFilter::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkAlgorithm.
virtual const char* vtkImageSpatialFilter::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkImageToImageFilter.
static int vtkImageSpatialFilter::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 vtkImageToImageFilter.
virtual int vtkImageSpatialFilter::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 vtkImageToImageFilter.
static vtkImageSpatialFilter* vtkImageSpatialFilter::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkImageToImageFilter.
void vtkImageSpatialFilter::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 vtkImageToImageFilter.
virtual int* vtkImageSpatialFilter::GetKernelSize | ( | ) | [virtual] |
Get the Kernel size.
virtual void vtkImageSpatialFilter::GetKernelSize | ( | int & | , | |
int & | , | |||
int & | ||||
) | [virtual] |
Get the Kernel size.
virtual void vtkImageSpatialFilter::GetKernelSize | ( | int | [3] | ) | [virtual] |
Get the Kernel size.
virtual int* vtkImageSpatialFilter::GetKernelMiddle | ( | ) | [virtual] |
Get the Kernel middle.
virtual void vtkImageSpatialFilter::GetKernelMiddle | ( | int & | , | |
int & | , | |||
int & | ||||
) | [virtual] |
Get the Kernel middle.
virtual void vtkImageSpatialFilter::GetKernelMiddle | ( | int | [3] | ) | [virtual] |
Get the Kernel middle.
void vtkImageSpatialFilter::ExecuteInformation | ( | ) | [protected, virtual] |
Reimplemented from vtkImageToImageFilter.
virtual void vtkImageSpatialFilter::ExecuteInformation | ( | vtkImageData * | inData, | |
vtkImageData * | outData | |||
) | [protected, virtual] |
Reimplemented from vtkImageToImageFilter.
void vtkImageSpatialFilter::ComputeOutputWholeExtent | ( | int | extent[6], | |
int | handleBoundaries | |||
) | [protected] |
void vtkImageSpatialFilter::ComputeInputUpdateExtent | ( | int | extent[6], | |
int | wholeExtent[6] | |||
) | [protected, virtual] |
Reimplemented from vtkImageToImageFilter.
int vtkImageSpatialFilter::KernelSize[3] [protected] |
Definition at line 58 of file vtkImageSpatialFilter.h.
int vtkImageSpatialFilter::KernelMiddle[3] [protected] |
Definition at line 61 of file vtkImageSpatialFilter.h.
int vtkImageSpatialFilter::HandleBoundaries [protected] |
Definition at line 62 of file vtkImageSpatialFilter.h.