vtkImageNoiseSource Class Reference

#include <vtkImageNoiseSource.h>

Inheritance diagram for vtkImageNoiseSource:

Inheritance graph
[legend]
Collaboration diagram for vtkImageNoiseSource:

Collaboration graph
[legend]

List of all members.


Detailed Description

Create an image filled with noise.

vtkImageNoiseSource just produces images filled with noise. The only option now is uniform noise specified by a min and a max. There is one major problem with this source. Every time it executes, it will output different pixel values. This has important implications when a stream requests overlapping regions. The same pixels will have different values on different updates.

Tests:
vtkImageNoiseSource (Tests)

Definition at line 36 of file vtkImageNoiseSource.h.


Public Types

typedef vtkImageAlgorithm Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
virtual void SetMinimum (double)
virtual double GetMinimum ()
virtual void SetMaximum (double)
virtual double GetMaximum ()
void SetWholeExtent (int xMinx, int xMax, int yMin, int yMax, int zMin, int zMax)
void SetWholeExtent (const int ext[6])

Static Public Member Functions

static vtkImageNoiseSourceNew ()
static int IsTypeOf (const char *type)
static vtkImageNoiseSourceSafeDownCast (vtkObject *o)

Protected Member Functions

 vtkImageNoiseSource ()
 ~vtkImageNoiseSource ()
virtual int RequestInformation (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual void ExecuteData (vtkDataObject *data)

Protected Attributes

double Minimum
double Maximum
int WholeExtent [6]

Member Typedef Documentation

Reimplemented from vtkImageAlgorithm.

Definition at line 40 of file vtkImageNoiseSource.h.


Constructor & Destructor Documentation

vtkImageNoiseSource::vtkImageNoiseSource (  )  [protected]

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

Definition at line 63 of file vtkImageNoiseSource.h.


Member Function Documentation

static vtkImageNoiseSource* vtkImageNoiseSource::New (  )  [static]

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

Reimplemented from vtkAlgorithm.

virtual const char* vtkImageNoiseSource::GetClassName (  )  [virtual]

Reimplemented from vtkImageAlgorithm.

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

static vtkImageNoiseSource* vtkImageNoiseSource::SafeDownCast ( vtkObject o  )  [static]

Reimplemented from vtkImageAlgorithm.

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

virtual void vtkImageNoiseSource::SetMinimum ( double   )  [virtual]

Set/Get the minimum and maximum values for the generated noise.

virtual double vtkImageNoiseSource::GetMinimum (  )  [virtual]

Set/Get the minimum and maximum values for the generated noise.

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

Set/Get the minimum and maximum values for the generated noise.

virtual double vtkImageNoiseSource::GetMaximum (  )  [virtual]

Set/Get the minimum and maximum values for the generated noise.

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

Set how large of an image to generate.

void vtkImageNoiseSource::SetWholeExtent ( const int  ext[6]  )  [inline]

Set how large of an image to generate.

Definition at line 55 of file vtkImageNoiseSource.h.

virtual int vtkImageNoiseSource::RequestInformation ( vtkInformation ,
vtkInformationVector **  ,
vtkInformationVector  
) [protected, virtual]

Reimplemented from vtkImageAlgorithm.

virtual void vtkImageNoiseSource::ExecuteData ( vtkDataObject output  )  [protected, virtual]

This method is the old style execute method

Reimplemented from vtkImageAlgorithm.


Member Data Documentation

double vtkImageNoiseSource::Minimum [protected]

Definition at line 63 of file vtkImageNoiseSource.h.

double vtkImageNoiseSource::Maximum [protected]

Definition at line 66 of file vtkImageNoiseSource.h.

Definition at line 67 of file vtkImageNoiseSource.h.


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

Generated on Wed Aug 24 11:41:34 2011 for VTK by  doxygen 1.5.6