vtkImageSpatialFilter Class Reference

#include <vtkImageSpatialFilter.h>

Inheritance diagram for vtkImageSpatialFilter:

Inheritance graph
[legend]
Collaboration diagram for vtkImageSpatialFilter:

Collaboration graph
[legend]

List of all members.


Detailed Description

Filters that operate on pixel neighborhoods.

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.

Warning:
This used to be the parent class for most imaging filter in VTK4.x, now this role has been replaced by vtkImageSpatialAlgorithm. You should consider using vtkImageSpatialAlgorithm instead, when writing filter for VTK5 and above. This class was kept to ensure full backward compatibility.
See also:
vtkSimpleImageToImageFilter vtkImageToImageFilter vtkImageSpatialAlgorithm

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 vtkImageSpatialFilterNew ()
static int IsTypeOf (const char *type)
static vtkImageSpatialFilterSafeDownCast (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

Member Typedef Documentation

Reimplemented from vtkImageToImageFilter.

Definition at line 43 of file vtkImageSpatialFilter.h.


Constructor & Destructor Documentation

vtkImageSpatialFilter::vtkImageSpatialFilter (  )  [protected]

vtkImageSpatialFilter::~vtkImageSpatialFilter (  )  [inline, protected]

Definition at line 58 of file vtkImageSpatialFilter.h.


Member Function Documentation

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 vtkTypeRevisionMacro 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 vtkTypeRevisionMacro 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.


Member Data Documentation

Definition at line 58 of file vtkImageSpatialFilter.h.

Definition at line 61 of file vtkImageSpatialFilter.h.

Definition at line 62 of file vtkImageSpatialFilter.h.


The documentation for this class was generated from the following file:

Generated on Wed Jun 3 19:11:16 2009 for VTK by  doxygen 1.5.6