VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkImageGaussianSource Class Reference

Create an image with Gaussian pixel values. More...

#include <vtkImageGaussianSource.h>

Inheritance diagram for vtkImageGaussianSource:
Inheritance graph
[legend]
Collaboration diagram for vtkImageGaussianSource:
Collaboration graph
[legend]

List of all members.

Public Types

typedef vtkImageAlgorithm Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkImageGaussianSourceNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
void SetWholeExtent (int xMinx, int xMax, int yMin, int yMax, int zMin, int zMax)
virtual void SetCenter (double, double, double)
virtual void SetCenter (double[3])
virtual doubleGetCenter ()
virtual void GetCenter (double &, double &, double &)
virtual void GetCenter (double[3])
virtual void SetMaximum (double)
virtual double GetMaximum ()
virtual void SetStandardDeviation (double)
virtual double GetStandardDeviation ()

Static Public Member Functions

static vtkImageGaussianSourceNew ()
static int IsTypeOf (const char *type)
static vtkImageGaussianSourceSafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkImageGaussianSource ()
 ~vtkImageGaussianSource ()
virtual int RequestInformation (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)

Protected Attributes

double StandardDeviation
int WholeExtent [6]
double Center [3]
double Maximum

Detailed Description

Create an image with Gaussian pixel values.

vtkImageGaussianSource just produces images with pixel values determined by a Gaussian.

Tests:
vtkImageGaussianSource (Tests)

Definition at line 31 of file vtkImageGaussianSource.h.


Member Typedef Documentation

Reimplemented from vtkImageAlgorithm.

Definition at line 35 of file vtkImageGaussianSource.h.


Constructor & Destructor Documentation

Definition at line 64 of file vtkImageGaussianSource.h.


Member Function Documentation

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkAlgorithm.

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

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

Reimplemented from vtkImageAlgorithm.

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

Reimplemented from vtkImageAlgorithm.

Reimplemented from vtkImageAlgorithm.

void vtkImageGaussianSource::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 vtkImageAlgorithm.

void vtkImageGaussianSource::SetWholeExtent ( int  xMinx,
int  xMax,
int  yMin,
int  yMax,
int  zMin,
int  zMax 
)

Set/Get the extent of the whole output image.

virtual void vtkImageGaussianSource::SetCenter ( double  ,
double  ,
double   
) [virtual]

Set/Get the center of the Gaussian.

virtual void vtkImageGaussianSource::SetCenter ( double  [3]) [virtual]

Set/Get the center of the Gaussian.

virtual double* vtkImageGaussianSource::GetCenter ( ) [virtual]

Set/Get the center of the Gaussian.

virtual void vtkImageGaussianSource::GetCenter ( double ,
double ,
double  
) [virtual]

Set/Get the center of the Gaussian.

virtual void vtkImageGaussianSource::GetCenter ( double  [3]) [virtual]

Set/Get the center of the Gaussian.

virtual void vtkImageGaussianSource::SetMaximum ( double  ) [virtual]

Set/Get the Maximum value of the gaussian

Set/Get the Maximum value of the gaussian

Set/Get the standard deviation of the gaussian

Set/Get the standard deviation of the gaussian

virtual int vtkImageGaussianSource::RequestInformation ( vtkInformation request,
vtkInformationVector **  inputVector,
vtkInformationVector outputVector 
) [protected, virtual]

Subclasses can reimplement this method to collect information from their inputs and set information for their outputs.

Reimplemented from vtkImageAlgorithm.

virtual int vtkImageGaussianSource::RequestData ( vtkInformation request,
vtkInformationVector **  inputVector,
vtkInformationVector outputVector 
) [protected, virtual]

This is called in response to a REQUEST_DATA request from the executive. Subclasses should override either this method or the ExecuteDataWithInformation method in order to generate data for their outputs. For images, the output arrays will already be allocated, so all that is necessary is to fill in the voxel values.

Reimplemented from vtkImageAlgorithm.


Member Data Documentation

Definition at line 64 of file vtkImageGaussianSource.h.

Definition at line 67 of file vtkImageGaussianSource.h.

Definition at line 68 of file vtkImageGaussianSource.h.

Definition at line 69 of file vtkImageGaussianSource.h.


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