VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
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 Types

typedef vtkThreadedImageAlgorithm Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkImageGaussianSmoothNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
virtual void SetStandardDeviations (double, double, double)
virtual void SetStandardDeviations (double[3])
void SetStandardDeviation (double std)
void SetStandardDeviations (double a, double b)
virtual doubleGetStandardDeviations ()
virtual void GetStandardDeviations (double &, double &, double &)
virtual void GetStandardDeviations (double[3])
void SetStandardDeviation (double a, double b)
void SetStandardDeviation (double a, double b, double c)
virtual void SetRadiusFactors (double, double, double)
virtual void SetRadiusFactors (double[3])
void SetRadiusFactors (double f, double f2)
void SetRadiusFactor (double f)
virtual doubleGetRadiusFactors ()
virtual void GetRadiusFactors (double &, double &, double &)
virtual void GetRadiusFactors (double[3])
virtual void SetDimensionality (int)
virtual int GetDimensionality ()

Static Public Member Functions

static int IsTypeOf (const char *type)
static vtkImageGaussianSmoothSafeDownCast (vtkObjectBase *o)
static vtkImageGaussianSmoothNew ()

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkImageGaussianSmooth ()
 ~vtkImageGaussianSmooth ()
void ComputeKernel (double *kernel, int min, int max, double std)
virtual int RequestUpdateExtent (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
void InternalRequestUpdateExtent (int *, int *)
void ExecuteAxis (int axis, vtkImageData *inData, int inExt[6], vtkImageData *outData, int outExt[6], int *pcycle, int target, int *pcount, int total, vtkInformation *inInfo)
void ThreadedRequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, vtkImageData ***inData, vtkImageData **outData, int outExt[6], int id)

Protected Attributes

int Dimensionality
double StandardDeviations [3]
double RadiusFactors [3]

Detailed Description

Performs a gaussian convolution.

vtkImageGaussianSmooth implements a convolution of the input image with a gaussian. Supports from one to three dimensional convolutions.

Tests:
vtkImageGaussianSmooth (Tests)

Definition at line 32 of file vtkImageGaussianSmooth.h.


Member Typedef Documentation

Reimplemented from vtkThreadedImageAlgorithm.

Definition at line 35 of file vtkImageGaussianSmooth.h.


Constructor & Destructor Documentation


Member Function Documentation

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

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

virtual vtkObjectBase* vtkImageGaussianSmooth::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkThreadedImageAlgorithm.

Reimplemented from vtkThreadedImageAlgorithm.

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

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

Reimplemented from vtkAlgorithm.

virtual void vtkImageGaussianSmooth::SetStandardDeviations ( double  ,
double  ,
double   
) [virtual]

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

virtual void vtkImageGaussianSmooth::SetStandardDeviations ( double  [3]) [virtual]

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

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

Definition at line 47 of file vtkImageGaussianSmooth.h.

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

Definition at line 49 of file vtkImageGaussianSmooth.h.

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

virtual void vtkImageGaussianSmooth::GetStandardDeviations ( double ,
double ,
double  
) [virtual]

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

virtual void vtkImageGaussianSmooth::GetStandardDeviations ( double  [3]) [virtual]

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

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

Definition at line 57 of file vtkImageGaussianSmooth.h.

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

Definition at line 59 of file vtkImageGaussianSmooth.h.

virtual void vtkImageGaussianSmooth::SetRadiusFactors ( double  ,
double  ,
double   
) [virtual]

Sets/Gets the Radius Factors of the gaussian (no unit). The radius factors determine how far out the gaussian kernel will go before being clamped to zero.

virtual void vtkImageGaussianSmooth::SetRadiusFactors ( double  [3]) [virtual]

Sets/Gets the Radius Factors of the gaussian (no unit). The radius factors determine how far out the gaussian kernel will go before being clamped to zero.

Sets/Gets the Radius Factors of the gaussian (no unit). The radius factors determine how far out the gaussian kernel will go before being clamped to zero.

Definition at line 68 of file vtkImageGaussianSmooth.h.

Sets/Gets the Radius Factors of the gaussian (no unit). The radius factors determine how far out the gaussian kernel will go before being clamped to zero.

Definition at line 70 of file vtkImageGaussianSmooth.h.

Sets/Gets the Radius Factors of the gaussian (no unit). The radius factors determine how far out the gaussian kernel will go before being clamped to zero.

virtual void vtkImageGaussianSmooth::GetRadiusFactors ( double ,
double ,
double  
) [virtual]

Sets/Gets the Radius Factors of the gaussian (no unit). The radius factors determine how far out the gaussian kernel will go before being clamped to zero.

virtual void vtkImageGaussianSmooth::GetRadiusFactors ( double  [3]) [virtual]

Sets/Gets the Radius Factors of the gaussian (no unit). The radius factors determine how far out the gaussian kernel will go before being clamped to zero.

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.

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

void vtkImageGaussianSmooth::ComputeKernel ( double kernel,
int  min,
int  max,
double  std 
) [protected]

Subclasses can reimplement this method to translate the update extent requests from each output port into update extent requests for the input connections.

Reimplemented from vtkImageAlgorithm.

void vtkImageGaussianSmooth::InternalRequestUpdateExtent ( int ,
int  
) [protected]
void vtkImageGaussianSmooth::ExecuteAxis ( int  axis,
vtkImageData inData,
int  inExt[6],
vtkImageData outData,
int  outExt[6],
int pcycle,
int  target,
int pcount,
int  total,
vtkInformation inInfo 
) [protected]
void vtkImageGaussianSmooth::ThreadedRequestData ( vtkInformation request,
vtkInformationVector **  inputVector,
vtkInformationVector outputVector,
vtkImageData ***  inData,
vtkImageData **  outData,
int  extent[6],
int  threadId 
) [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 vtkThreadedImageAlgorithm.


Member Data Documentation

Definition at line 85 of file vtkImageGaussianSmooth.h.

Definition at line 86 of file vtkImageGaussianSmooth.h.

Definition at line 87 of file vtkImageGaussianSmooth.h.


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