Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File 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.

Definition at line 61 of file vtkImageSpatialFilter.h.


Constructor & Destructor Documentation

vtkImageSpatialFilter::vtkImageSpatialFilter   [protected]
 

vtkImageSpatialFilter::~vtkImageSpatialFilter   [inline, protected]
 

Definition at line 76 of file vtkImageSpatialFilter.h.

vtkImageSpatialFilter::vtkImageSpatialFilter const vtkImageSpatialFilter &    [inline, protected]
 

Definition at line 77 of file vtkImageSpatialFilter.h.


Member Function Documentation

vtkImageSpatialFilter* vtkImageSpatialFilter::New   [static]
 

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

Reimplemented from vtkImageToImageFilter.

Reimplemented in vtkImageAnisotropicDiffusion2D, vtkImageAnisotropicDiffusion3D, vtkImageContinuousDilate3D, vtkImageContinuousErode3D, vtkImageDilateErode3D, vtkImageHybridMedian2D, vtkImageMedian3D, vtkImageRange3D, vtkImageSobel2D, vtkImageSobel3D, and vtkImageVariance3D.

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, vtkImageAnisotropicDiffusion3D, vtkImageContinuousDilate3D, vtkImageContinuousErode3D, vtkImageDilateErode3D, vtkImageHybridMedian2D, vtkImageMedian3D, vtkImageRange3D, vtkImageSobel2D, vtkImageSobel3D, and vtkImageVariance3D.

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, vtkImageAnisotropicDiffusion3D, vtkImageContinuousDilate3D, vtkImageContinuousErode3D, vtkImageDilateErode3D, vtkImageHybridMedian2D, vtkImageMedian3D, vtkImageRange3D, vtkImageSobel2D, vtkImageSobel3D, and vtkImageVariance3D.

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, vtkImageAnisotropicDiffusion3D, vtkImageContinuousDilate3D, vtkImageContinuousErode3D, vtkImageDilateErode3D, vtkImageHybridMedian2D, vtkImageMedian3D, vtkImageRange3D, vtkImageSobel2D, vtkImageSobel3D, and vtkImageVariance3D.

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, vtkImageAnisotropicDiffusion3D, vtkImageContinuousDilate3D, vtkImageContinuousErode3D, vtkImageDilateErode3D, vtkImageHybridMedian2D, vtkImageMedian3D, vtkImageRange3D, vtkImageSobel2D, vtkImageSobel3D, and vtkImageVariance3D.

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, vtkImageAnisotropicDiffusion3D, vtkImageContinuousDilate3D, vtkImageContinuousErode3D, vtkImageDilateErode3D, vtkImageMedian3D, vtkImageRange3D, vtkImageSobel2D, vtkImageSobel3D, and vtkImageVariance3D.

int* vtkImageSpatialFilter::GetKernelSize   [inline]
 

Get the Kernel size.

Definition at line 69 of file vtkImageSpatialFilter.h.

int* vtkImageSpatialFilter::GetKernelMiddle   [inline]
 

Get the Kernel middle.

Definition at line 72 of file vtkImageSpatialFilter.h.

void vtkImageSpatialFilter::operator= const vtkImageSpatialFilter &    [inline, protected]
 

Definition at line 78 of file vtkImageSpatialFilter.h.

void vtkImageSpatialFilter::ExecuteInformation   [protected, virtual]
 

Reimplemented from vtkImageToImageFilter.

Reimplemented in vtkImageRange3D, vtkImageSobel2D, vtkImageSobel3D, and vtkImageVariance3D.

virtual void vtkImageSpatialFilter::ExecuteInformation vtkImageData   inData,
vtkImageData   outData
[protected, virtual]
 

Reimplemented from vtkImageToImageFilter.

Reimplemented in vtkImageRange3D, vtkImageSobel2D, vtkImageSobel3D, and vtkImageVariance3D.

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

int vtkImageSpatialFilter::KernelSize[3] [protected]
 

Definition at line 80 of file vtkImageSpatialFilter.h.

int vtkImageSpatialFilter::KernelMiddle[3] [protected]
 

Definition at line 81 of file vtkImageSpatialFilter.h.

int vtkImageSpatialFilter::Strides[3] [protected]
 

Definition at line 82 of file vtkImageSpatialFilter.h.

int vtkImageSpatialFilter::HandleBoundaries [protected]
 

Definition at line 83 of file vtkImageSpatialFilter.h.


The documentation for this class was generated from the following file:
Generated on Wed Nov 21 12:49:02 2001 for VTK by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001