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

typedef vtkImageAlgorithm Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkImageNoiseSourceNewInstance () const
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 (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkImageNoiseSource ()
 ~vtkImageNoiseSource ()
virtual int RequestInformation (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual void ExecuteDataWithInformation (vtkDataObject *data, vtkInformation *outInfo)

Protected Attributes

double Minimum
double Maximum
int WholeExtent [6]

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 37 of file vtkImageNoiseSource.h.


Member Typedef Documentation

Reimplemented from vtkImageAlgorithm.

Definition at line 41 of file vtkImageNoiseSource.h.


Constructor & Destructor Documentation

Definition at line 64 of file vtkImageNoiseSource.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 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.

Reimplemented from vtkImageAlgorithm.

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

Reimplemented from vtkImageAlgorithm.

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 56 of file vtkImageNoiseSource.h.

virtual int vtkImageNoiseSource::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 void vtkImageNoiseSource::ExecuteDataWithInformation ( vtkDataObject output,
vtkInformation outInfo 
) [protected, virtual]

This is a convenience method that is implemented in many subclasses instead of RequestData. It is called by RequestData.

Reimplemented from vtkImageAlgorithm.


Member Data Documentation

Definition at line 64 of file vtkImageNoiseSource.h.

Definition at line 67 of file vtkImageNoiseSource.h.

Definition at line 68 of file vtkImageNoiseSource.h.


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