vtkRTAnalyticSource Class Reference

#include <vtkRTAnalyticSource.h>

Inheritance diagram for vtkRTAnalyticSource:

Inheritance graph
[legend]
Collaboration diagram for vtkRTAnalyticSource:

Collaboration graph
[legend]

List of all members.


Detailed Description

Create an image for regression testing.

vtkRTAnalyticSource just produces images with pixel values determined by a Maximum*Gaussian*XMag*sin(XFreq*x)*sin(YFreq*y)*cos(ZFreq*z) Values are float scalars on point data with name "RTData".

Tests:
vtkRTAnalyticSource (Tests)

Definition at line 31 of file vtkRTAnalyticSource.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)
void SetWholeExtent (int xMinx, int xMax, int yMin, int yMax, int zMin, int zMax)
virtual int * GetWholeExtent ()
virtual void GetWholeExtent (int &, int &, int &, int &, int &, int &)
virtual void GetWholeExtent (int[6])
virtual void SetCenter (double, double, double)
virtual void SetCenter (double[3])
virtual double * GetCenter ()
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 ()
virtual void SetXFreq (double)
virtual double GetXFreq ()
virtual void SetYFreq (double)
virtual double GetYFreq ()
virtual void SetZFreq (double)
virtual double GetZFreq ()
virtual void SetXMag (double)
virtual double GetXMag ()
virtual void SetYMag (double)
virtual double GetYMag ()
virtual void SetZMag (double)
virtual double GetZMag ()
virtual void SetSubsampleRate (int)
virtual int GetSubsampleRate ()

Static Public Member Functions

static vtkRTAnalyticSourceNew ()
static int IsTypeOf (const char *type)
static vtkRTAnalyticSourceSafeDownCast (vtkObject *o)

Protected Member Functions

 vtkRTAnalyticSource ()
virtual int RequestInformation (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
virtual void ExecuteData (vtkDataObject *data)
 ~vtkRTAnalyticSource ()

Protected Attributes

double XFreq
double YFreq
double ZFreq
double XMag
double YMag
double ZMag
double StandardDeviation
int WholeExtent [6]
double Center [3]
double Maximum
int SubsampleRate

Member Typedef Documentation

Reimplemented from vtkImageAlgorithm.

Definition at line 35 of file vtkRTAnalyticSource.h.


Constructor & Destructor Documentation

vtkRTAnalyticSource::vtkRTAnalyticSource (  )  [protected]

Default constructor. Initial values are: Maximum=255.0, Center[3]={0.0,0.0,0.0}, WholeExtent={-10,10,-10,10,-10,10} StandardDeviation=0.5, XFreq=60, XMag=10, YFreq=30, YMag=18, ZFreq=40, ZMag=5, SubsampleRate=1

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

Destructor.

Definition at line 115 of file vtkRTAnalyticSource.h.


Member Function Documentation

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

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

Reimplemented from vtkAlgorithm.

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

Reimplemented from vtkImageAlgorithm.

static int vtkRTAnalyticSource::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 vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkImageAlgorithm.

virtual int vtkRTAnalyticSource::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 vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkImageAlgorithm.

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

Reimplemented from vtkImageAlgorithm.

void vtkRTAnalyticSource::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 vtkRTAnalyticSource::SetWholeExtent ( int  xMinx,
int  xMax,
int  yMin,
int  yMax,
int  zMin,
int  zMax 
)

Set/Get the extent of the whole output image. Initial value is {-10,10,-10,10,-10,10}

virtual int* vtkRTAnalyticSource::GetWholeExtent (  )  [virtual]

Set/Get the extent of the whole output image. Initial value is {-10,10,-10,10,-10,10}

virtual void vtkRTAnalyticSource::GetWholeExtent ( int &  ,
int &  ,
int &  ,
int &  ,
int &  ,
int &   
) [virtual]

Set/Get the extent of the whole output image. Initial value is {-10,10,-10,10,-10,10}

virtual void vtkRTAnalyticSource::GetWholeExtent ( int  [6]  )  [virtual]

Set/Get the extent of the whole output image. Initial value is {-10,10,-10,10,-10,10}

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

Set/Get the center of function. Initial value is {0.0,0.0,0.0}

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

Set/Get the center of function. Initial value is {0.0,0.0,0.0}

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

Set/Get the center of function. Initial value is {0.0,0.0,0.0}

virtual void vtkRTAnalyticSource::GetCenter ( double &  ,
double &  ,
double &   
) [virtual]

Set/Get the center of function. Initial value is {0.0,0.0,0.0}

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

Set/Get the center of function. Initial value is {0.0,0.0,0.0}

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

Set/Get the Maximum value of the function. Initial value is 255.0.

virtual double vtkRTAnalyticSource::GetMaximum (  )  [virtual]

Set/Get the Maximum value of the function. Initial value is 255.0.

virtual void vtkRTAnalyticSource::SetStandardDeviation ( double   )  [virtual]

Set/Get the standard deviation of the function. Initial value is 0.5.

virtual double vtkRTAnalyticSource::GetStandardDeviation (  )  [virtual]

Set/Get the standard deviation of the function. Initial value is 0.5.

virtual void vtkRTAnalyticSource::SetXFreq ( double   )  [virtual]

Set/Get the natural frequency in x. Initial value is 60.

virtual double vtkRTAnalyticSource::GetXFreq (  )  [virtual]

Set/Get the natural frequency in x. Initial value is 60.

virtual void vtkRTAnalyticSource::SetYFreq ( double   )  [virtual]

Set/Get the natural frequency in y. Initial value is 30.

virtual double vtkRTAnalyticSource::GetYFreq (  )  [virtual]

Set/Get the natural frequency in y. Initial value is 30.

virtual void vtkRTAnalyticSource::SetZFreq ( double   )  [virtual]

Set/Get the natural frequency in z. Initial value is 40.

virtual double vtkRTAnalyticSource::GetZFreq (  )  [virtual]

Set/Get the natural frequency in z. Initial value is 40.

virtual void vtkRTAnalyticSource::SetXMag ( double   )  [virtual]

Set/Get the magnitude in x. Initial value is 10.

virtual double vtkRTAnalyticSource::GetXMag (  )  [virtual]

Set/Get the magnitude in x. Initial value is 10.

virtual void vtkRTAnalyticSource::SetYMag ( double   )  [virtual]

Set/Get the magnitude in y. Initial value is 18.

virtual double vtkRTAnalyticSource::GetYMag (  )  [virtual]

Set/Get the magnitude in y. Initial value is 18.

virtual void vtkRTAnalyticSource::SetZMag ( double   )  [virtual]

Set/Get the magnitude in z. Initial value is 5.

virtual double vtkRTAnalyticSource::GetZMag (  )  [virtual]

Set/Get the magnitude in z. Initial value is 5.

virtual void vtkRTAnalyticSource::SetSubsampleRate ( int   )  [virtual]

Set/Get the sub-sample rate. Initial value is 1.

virtual int vtkRTAnalyticSource::GetSubsampleRate (  )  [virtual]

Set/Get the sub-sample rate. Initial value is 1.

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

Reimplemented from vtkImageAlgorithm.

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

This method is the old style execute method

Reimplemented from vtkImageAlgorithm.


Member Data Documentation

double vtkRTAnalyticSource::XFreq [protected]

Definition at line 120 of file vtkRTAnalyticSource.h.

double vtkRTAnalyticSource::YFreq [protected]

Definition at line 121 of file vtkRTAnalyticSource.h.

double vtkRTAnalyticSource::ZFreq [protected]

Definition at line 122 of file vtkRTAnalyticSource.h.

double vtkRTAnalyticSource::XMag [protected]

Definition at line 123 of file vtkRTAnalyticSource.h.

double vtkRTAnalyticSource::YMag [protected]

Definition at line 124 of file vtkRTAnalyticSource.h.

double vtkRTAnalyticSource::ZMag [protected]

Definition at line 125 of file vtkRTAnalyticSource.h.

Definition at line 126 of file vtkRTAnalyticSource.h.

Definition at line 127 of file vtkRTAnalyticSource.h.

double vtkRTAnalyticSource::Center[3] [protected]

Definition at line 128 of file vtkRTAnalyticSource.h.

double vtkRTAnalyticSource::Maximum [protected]

Definition at line 129 of file vtkRTAnalyticSource.h.

Definition at line 130 of file vtkRTAnalyticSource.h.


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

Generated on Wed Jun 3 19:32:19 2009 for VTK by  doxygen 1.5.6