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)

Examples:
vtkRTAnalyticSource (Examples)
Tests:
vtkRTAnalyticSource (Tests)

Definition at line 33 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)
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 ()
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 ()

Static Public Member Functions

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

Protected Member Functions

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

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


Constructor & Destructor Documentation

vtkRTAnalyticSource::vtkRTAnalyticSource (  )  [protected]

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

Definition at line 87 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.

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

Set/Get the extent of the whole output image.

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

Set/Get the extent of the whole output image.

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

Set/Get the extent of the whole output image.

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

Set/Get the center of function.

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

Set/Get the center of function.

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

Set/Get the center of function.

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

Set/Get the center of function.

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

Set/Get the center of function.

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

Set/Get the Maximum value of the function.

virtual double vtkRTAnalyticSource::GetMaximum (  )  [virtual]

Set/Get the Maximum value of the function.

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

Set/Get the standard deviation of the function.

virtual double vtkRTAnalyticSource::GetStandardDeviation (  )  [virtual]

Set/Get the standard deviation of the function.

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

Set the natural frequencies in x,y and z

virtual double vtkRTAnalyticSource::GetXFreq (  )  [virtual]

Set the natural frequencies in x,y and z

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

Set the natural frequencies in x,y and z

virtual double vtkRTAnalyticSource::GetYFreq (  )  [virtual]

Set the natural frequencies in x,y and z

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

Set the natural frequencies in x,y and z

virtual double vtkRTAnalyticSource::GetZFreq (  )  [virtual]

Set the natural frequencies in x,y and z

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

virtual double vtkRTAnalyticSource::GetXMag (  )  [virtual]

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

virtual double vtkRTAnalyticSource::GetYMag (  )  [virtual]

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

virtual double vtkRTAnalyticSource::GetZMag (  )  [virtual]

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

virtual int vtkRTAnalyticSource::GetSubsampleRate (  )  [virtual]

virtual int vtkRTAnalyticSource::RequestInformation ( vtkInformation ,
vtkInformationVector **  ,
vtkInformationVector  
) [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 87 of file vtkRTAnalyticSource.h.

double vtkRTAnalyticSource::YFreq [protected]

Definition at line 90 of file vtkRTAnalyticSource.h.

double vtkRTAnalyticSource::ZFreq [protected]

Definition at line 91 of file vtkRTAnalyticSource.h.

double vtkRTAnalyticSource::XMag [protected]

Definition at line 92 of file vtkRTAnalyticSource.h.

double vtkRTAnalyticSource::YMag [protected]

Definition at line 93 of file vtkRTAnalyticSource.h.

double vtkRTAnalyticSource::ZMag [protected]

Definition at line 94 of file vtkRTAnalyticSource.h.

Definition at line 95 of file vtkRTAnalyticSource.h.

Definition at line 96 of file vtkRTAnalyticSource.h.

double vtkRTAnalyticSource::Center[3] [protected]

Definition at line 97 of file vtkRTAnalyticSource.h.

double vtkRTAnalyticSource::Maximum [protected]

Definition at line 98 of file vtkRTAnalyticSource.h.

Definition at line 99 of file vtkRTAnalyticSource.h.


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

Generated on Sat Dec 27 13:48:11 2008 for VTK by  doxygen 1.5.6