VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vtkImageNoiseSource Class Reference

Create an image filled with noise. More...

#include <vtkImageNoiseSource.h>

Inherits vtkImageAlgorithm.

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 vtkObjectBase * NewInstanceInternal () 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

typedef vtkImageAlgorithm vtkImageNoiseSource::Superclass

Definition at line 41 of file vtkImageNoiseSource.h.

Constructor & Destructor Documentation

vtkImageNoiseSource::vtkImageNoiseSource ( )
protected
vtkImageNoiseSource::~vtkImageNoiseSource ( )
inlineprotected

Definition at line 64 of file vtkImageNoiseSource.h.

Member Function Documentation

static vtkImageNoiseSource* vtkImageNoiseSource::New ( )
static
static int vtkImageNoiseSource::IsTypeOf ( const char *  type)
static
virtual int vtkImageNoiseSource::IsA ( const char *  type)
virtual
static vtkImageNoiseSource* vtkImageNoiseSource::SafeDownCast ( vtkObjectBase *  o)
static
virtual vtkObjectBase* vtkImageNoiseSource::NewInstanceInternal ( ) const
protectedvirtual
vtkImageNoiseSource* vtkImageNoiseSource::NewInstance ( ) const
void vtkImageNoiseSource::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
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 *  ,
vtkInformationVector **  ,
vtkInformationVector *   
)
protectedvirtual
virtual void vtkImageNoiseSource::ExecuteDataWithInformation ( vtkDataObject *  data,
vtkInformation *  outInfo 
)
protectedvirtual

Member Data Documentation

double vtkImageNoiseSource::Minimum
protected

Definition at line 64 of file vtkImageNoiseSource.h.

double vtkImageNoiseSource::Maximum
protected

Definition at line 67 of file vtkImageNoiseSource.h.

int vtkImageNoiseSource::WholeExtent[6]
protected

Definition at line 68 of file vtkImageNoiseSource.h.


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