Main Page   Class Hierarchy   Alphabetical List   Compound List   Compound Members   Related Pages  

vtkImageSpatialFilter Class Reference

Filters that operate on pixel neighborhoods. More...

#include <vtkImageSpatialFilter.h>

Inheritance diagram for vtkImageSpatialFilter:

Inheritance graph
[legend]
Collaboration diagram for vtkImageSpatialFilter:

Collaboration graph
[legend]
List of all members.

Public Methods

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
int * GetKernelSize ()
int * GetKernelMiddle ()

Static Public Methods

vtkImageSpatialFilter * New ()
int IsTypeOf (const char *type)
vtkImageSpatialFilter * SafeDownCast (vtkObject *o)

Protected Methods

 vtkImageSpatialFilter ()
 ~vtkImageSpatialFilter ()
 vtkImageSpatialFilter (const vtkImageSpatialFilter &)
void operator= (const 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 Strides [3]
int HandleBoundaries

Detailed Description

Filters that operate on pixel neighborhoods.

Date:
2000/12/10 20:09:11
Revision:
1.41
Thanks:
Thanks to C. Charles Law who developed this class.
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.


Member Function Documentation

virtual const char* vtkImageSpatialFilter::GetClassName   [virtual]
 

Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkImageToImageFilter.

Reimplemented in vtkImageAnisotropicDiffusion2D.

int* vtkImageSpatialFilter::GetKernelMiddle   [inline]
 

Get the Kernel middle.

int* vtkImageSpatialFilter::GetKernelSize   [inline]
 

Get the Kernel size.

virtual int vtkImageSpatialFilter::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 vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkImageToImageFilter.

Reimplemented in vtkImageAnisotropicDiffusion2D.

int vtkImageSpatialFilter::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 vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkImageToImageFilter.

Reimplemented in vtkImageAnisotropicDiffusion2D.

vtkImageSpatialFilter* vtkImageSpatialFilter::New   [static]
 

Instantiate object with no start, end, or progress methods.

Reimplemented from vtkImageToImageFilter.

Reimplemented in vtkImageAnisotropicDiffusion2D.

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.

Reimplemented in vtkImageAnisotropicDiffusion2D.

vtkImageSpatialFilter* vtkImageSpatialFilter::SafeDownCast vtkObject   o [static]
 

Will cast the supplied object to vtkObject* is this is a safe operation (i.e., a safe downcast); otherwise NULL is returned. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkImageToImageFilter.

Reimplemented in vtkImageAnisotropicDiffusion2D.


The documentation for this class was generated from the following file:
Generated on Tue Mar 19 13:27:04 2002 for VTK by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002