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

vtkImageNoiseSource Class Reference

Create an image filled with noise. More...

#include <vtkImageNoiseSource.h>

Inheritance diagram for vtkImageNoiseSource:

Inheritance graph
[legend]
Collaboration diagram for vtkImageNoiseSource:

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 SetMinimum (float)
virtual float GetMinimum ()
virtual void SetMaximum (float)
virtual float GetMaximum ()
void SetWholeExtent (int xMinx, int xMax, int yMin, int yMax, int zMin, int zMax)

Static Public Methods

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

Protected Methods

 vtkImageNoiseSource ()
 ~vtkImageNoiseSource ()
 vtkImageNoiseSource (const vtkImageNoiseSource &)
void operator= (const vtkImageNoiseSource &)
void ExecuteInformation ()
void Execute (vtkImageData *data)
void Execute ()

Protected Attributes

float Minimum
float Maximum
int WholeExtent [6]

Detailed Description

Create an image filled with noise.

Date:
2000/12/10 20:09:09
Revision:
1.17
Thanks:
Thanks to C. Charles Law who developed this class.
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.
Examples:
vtkImageNoiseSource (examples)

Definition at line 65 of file vtkImageNoiseSource.h.


Constructor & Destructor Documentation

vtkImageNoiseSource::vtkImageNoiseSource   [protected]
 

vtkImageNoiseSource::~vtkImageNoiseSource   [inline, protected]
 

Definition at line 84 of file vtkImageNoiseSource.h.

vtkImageNoiseSource::vtkImageNoiseSource const vtkImageNoiseSource &    [inline, protected]
 

Definition at line 85 of file vtkImageNoiseSource.h.


Member Function Documentation

vtkImageNoiseSource* vtkImageNoiseSource::New   [static]
 

Instantiate object with no start, end, or progress methods.

Reimplemented from vtkImageSource.

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

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

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

vtkImageNoiseSource* vtkImageNoiseSource::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 vtkImageSource.

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

virtual void vtkImageNoiseSource::SetMinimum float    [virtual]
 

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

virtual float vtkImageNoiseSource::GetMinimum   [virtual]
 

virtual void vtkImageNoiseSource::SetMaximum float    [virtual]
 

virtual float vtkImageNoiseSource::GetMaximum   [virtual]
 

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::operator= const vtkImageNoiseSource &    [inline, protected]
 

Definition at line 86 of file vtkImageNoiseSource.h.

void vtkImageNoiseSource::ExecuteInformation   [protected, virtual]
 

Reimplemented from vtkSource.

void vtkImageNoiseSource::Execute vtkImageData   data [protected, virtual]
 

Reimplemented from vtkImageSource.

void vtkImageNoiseSource::Execute   [inline, protected, virtual]
 

Reimplemented from vtkImageSource.

Definition at line 94 of file vtkImageNoiseSource.h.


Member Data Documentation

float vtkImageNoiseSource::Minimum [protected]
 

Definition at line 88 of file vtkImageNoiseSource.h.

float vtkImageNoiseSource::Maximum [protected]
 

Definition at line 89 of file vtkImageNoiseSource.h.

int vtkImageNoiseSource::WholeExtent[6] [protected]
 

Definition at line 90 of file vtkImageNoiseSource.h.


The documentation for this class was generated from the following file:
Generated on Wed Nov 21 12:48:50 2001 for VTK by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001