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

vtkImageGaussianSmooth Class Reference

Performs a gaussian convolution. More...

#include <vtkImageGaussianSmooth.h>

Inheritance diagram for vtkImageGaussianSmooth:

Inheritance graph
[legend]
Collaboration diagram for vtkImageGaussianSmooth:

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)
virtual void SetStandardDeviations (float, float, float)
virtual void SetStandardDeviations (float[3])
void SetStandardDeviation (float std)
void SetStandardDeviations (float a, float b)
virtual float * GetStandardDeviations ()
virtual void GetStandardDeviations (float &, float &, float &)
virtual void GetStandardDeviations (float[3])
void SetStandardDeviation (float a, float b)
void SetStandardDeviation (float a, float b, float c)
virtual void SetRadiusFactors (float, float, float)
virtual void SetRadiusFactors (float[3])
void SetRadiusFactors (float f, float f2)
void SetRadiusFactor (float f)
virtual float * GetRadiusFactors ()
virtual void GetRadiusFactors (float &, float &, float &)
virtual void GetRadiusFactors (float[3])
virtual void SetDimensionality (int)
virtual int GetDimensionality ()

Static Public Methods

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

Protected Methods

 vtkImageGaussianSmooth ()
 ~vtkImageGaussianSmooth ()
 vtkImageGaussianSmooth (const vtkImageGaussianSmooth &)
void operator= (const vtkImageGaussianSmooth &)
void ComputeKernel (double *kernel, int min, int max, double std)
void ComputeInputUpdateExtent (int inExt[6], int outExt[6])
void ExecuteAxis (int axis, vtkImageData *inData, int inExt[6], vtkImageData *outData, int outExt[6], int *pcycle, int target, int *pcount, int total)
void ThreadedExecute (vtkImageData *inData, vtkImageData *outData, int outExt[6], int id)

Protected Attributes

int Dimensionality
float StandardDeviations [3]
float RadiusFactors [3]

Detailed Description

Performs a gaussian convolution.

Date:
2000/12/10 20:09:06
Revision:
1.31
Thanks:
Thanks to C. Charles Law who developed this class.
vtkImageGaussianSmooth implements a convolution of the input image with a gaussian. Supports from one to three dimensional convolutions.
Examples:
vtkImageGaussianSmooth (examples)


Member Function Documentation

virtual const char* vtkImageGaussianSmooth::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.

virtual int vtkImageGaussianSmooth::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.

int vtkImageGaussianSmooth::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.

vtkImageGaussianSmooth* vtkImageGaussianSmooth::New   [static]
 

Creates an instance of vtkImageGaussianSmmoth with the following defaults: Dimensioonality 3, StandardDeviations( 2, 2, 2), Radius Factors ( 1.5, 1.5, 1.5)

Reimplemented from vtkImageToImageFilter.

void vtkImageGaussianSmooth::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.

vtkImageGaussianSmooth* vtkImageGaussianSmooth::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.

virtual void vtkImageGaussianSmooth::SetDimensionality int    [virtual]
 

Set/Get the dimensionality of this filter. This determines whether a one, two, or three dimensional gaussian is performed.

virtual void vtkImageGaussianSmooth::SetRadiusFactors float   ,
float   ,
float   
[virtual]
 

Sets/Gets the Radius Factors of the gaussian in pixel units. The radius factors determine how far out the gaussian kernel will go before being clamped to zero.

void vtkImageGaussianSmooth::SetStandardDeviation float    a,
float    b
[inline]
 

Sets/Gets the Standard deviation of the gaussian in pixel units. These methods are provided for compatibility with old scripts

virtual void vtkImageGaussianSmooth::SetStandardDeviations float   ,
float   ,
float   
[virtual]
 

Sets/Gets the Standard deviation of the gaussian in pixel units.

void vtkImageGaussianSmooth::ThreadedExecute vtkImageData   inData,
vtkImageData   outData,
int    outExt[6],
int    id
[protected, virtual]
 

If the subclass does not define an Execute method, then the task will be broken up, multiple threads will be spawned, and each thread will call this method. It is public so that the thread functions can call this method.

Reimplemented from vtkImageToImageFilter.


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