vtkImageSpatialAlgorithm Class Reference

#include <vtkImageSpatialAlgorithm.h>

Inheritance diagram for vtkImageSpatialAlgorithm:

Inheritance graph
[legend]
Collaboration diagram for vtkImageSpatialAlgorithm:

Collaboration graph
[legend]

List of all members.


Detailed Description

Filters that operate on pixel neighborhoods.

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

Member Typedef Documentation


Constructor & Destructor Documentation

vtkImageSpatialAlgorithm::vtkImageSpatialAlgorithm (  )  [protected]

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

Definition at line 51 of file vtkImageSpatialAlgorithm.h.


Member Function Documentation

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]

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]

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]

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]


Member Data Documentation

Definition at line 51 of file vtkImageSpatialAlgorithm.h.

Definition at line 54 of file vtkImageSpatialAlgorithm.h.

Definition at line 55 of file vtkImageSpatialAlgorithm.h.


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

Generated on Mon Sep 27 18:29:26 2010 for VTK by  doxygen 1.5.6