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
vtkImageSinusoidSource Class Reference

Create an image with sinusoidal pixel values. More...

#include <vtkImageSinusoidSource.h>

Inherits vtkImageAlgorithm.

Public Types

typedef vtkImageAlgorithm Superclass
 

Public Member Functions

virtual int IsA (const char *type)
 
vtkImageSinusoidSourceNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 
void SetWholeExtent (int xMinx, int xMax, int yMin, int yMax, int zMin, int zMax)
 
void SetDirection (double, double, double)
 
void SetDirection (double dir[3])
 
virtual double * GetDirection ()
 
virtual void GetDirection (double &, double &, double &)
 
virtual void GetDirection (double[3])
 
virtual void SetPeriod (double)
 
virtual double GetPeriod ()
 
virtual void SetPhase (double)
 
virtual double GetPhase ()
 
virtual void SetAmplitude (double)
 
virtual double GetAmplitude ()
 

Static Public Member Functions

static vtkImageSinusoidSourceNew ()
 
static int IsTypeOf (const char *type)
 
static vtkImageSinusoidSourceSafeDownCast (vtkObjectBase *o)
 

Protected Member Functions

virtual vtkObjectBase * NewInstanceInternal () const
 
 vtkImageSinusoidSource ()
 
 ~vtkImageSinusoidSource ()
 
virtual int RequestInformation (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 
virtual void ExecuteDataWithInformation (vtkDataObject *data, vtkInformation *outInfo)
 

Protected Attributes

int WholeExtent [6]
 
double Direction [3]
 
double Period
 
double Phase
 
double Amplitude
 

Detailed Description

Create an image with sinusoidal pixel values.

vtkImageSinusoidSource just produces images with pixel values determined by a sinusoid.

Tests:
vtkImageSinusoidSource (Tests)

Definition at line 31 of file vtkImageSinusoidSource.h.

Member Typedef Documentation

typedef vtkImageAlgorithm vtkImageSinusoidSource::Superclass

Definition at line 35 of file vtkImageSinusoidSource.h.

Constructor & Destructor Documentation

vtkImageSinusoidSource::vtkImageSinusoidSource ( )
protected
vtkImageSinusoidSource::~vtkImageSinusoidSource ( )
inlineprotected

Definition at line 72 of file vtkImageSinusoidSource.h.

Member Function Documentation

static vtkImageSinusoidSource* vtkImageSinusoidSource::New ( )
static
static int vtkImageSinusoidSource::IsTypeOf ( const char *  type)
static
virtual int vtkImageSinusoidSource::IsA ( const char *  type)
virtual
static vtkImageSinusoidSource* vtkImageSinusoidSource::SafeDownCast ( vtkObjectBase *  o)
static
virtual vtkObjectBase* vtkImageSinusoidSource::NewInstanceInternal ( ) const
protectedvirtual
vtkImageSinusoidSource* vtkImageSinusoidSource::NewInstance ( ) const
void vtkImageSinusoidSource::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
void vtkImageSinusoidSource::SetWholeExtent ( int  xMinx,
int  xMax,
int  yMin,
int  yMax,
int  zMin,
int  zMax 
)

Set/Get the extent of the whole output image.

void vtkImageSinusoidSource::SetDirection ( double  ,
double  ,
double   
)

Set/Get the direction vector which determines the sinusoidal orientation. The magnitude is ignored.

void vtkImageSinusoidSource::SetDirection ( double  dir[3])

Set/Get the direction vector which determines the sinusoidal orientation. The magnitude is ignored.

virtual double* vtkImageSinusoidSource::GetDirection ( )
virtual

Set/Get the direction vector which determines the sinusoidal orientation. The magnitude is ignored.

virtual void vtkImageSinusoidSource::GetDirection ( double &  ,
double &  ,
double &   
)
virtual

Set/Get the direction vector which determines the sinusoidal orientation. The magnitude is ignored.

virtual void vtkImageSinusoidSource::GetDirection ( double  [3])
virtual

Set/Get the direction vector which determines the sinusoidal orientation. The magnitude is ignored.

virtual void vtkImageSinusoidSource::SetPeriod ( double  )
virtual

Set/Get the period of the sinusoid in pixels.

virtual double vtkImageSinusoidSource::GetPeriod ( )
virtual

Set/Get the period of the sinusoid in pixels.

virtual void vtkImageSinusoidSource::SetPhase ( double  )
virtual

Set/Get the phase: 0->2Pi. 0 => Cosine, pi/2 => Sine.

virtual double vtkImageSinusoidSource::GetPhase ( )
virtual

Set/Get the phase: 0->2Pi. 0 => Cosine, pi/2 => Sine.

virtual void vtkImageSinusoidSource::SetAmplitude ( double  )
virtual

Set/Get the magnitude of the sinusoid.

virtual double vtkImageSinusoidSource::GetAmplitude ( )
virtual

Set/Get the magnitude of the sinusoid.

virtual int vtkImageSinusoidSource::RequestInformation ( vtkInformation *  ,
vtkInformationVector **  ,
vtkInformationVector *   
)
protectedvirtual
virtual void vtkImageSinusoidSource::ExecuteDataWithInformation ( vtkDataObject *  data,
vtkInformation *  outInfo 
)
protectedvirtual

Member Data Documentation

int vtkImageSinusoidSource::WholeExtent[6]
protected

Definition at line 72 of file vtkImageSinusoidSource.h.

double vtkImageSinusoidSource::Direction[3]
protected

Definition at line 75 of file vtkImageSinusoidSource.h.

double vtkImageSinusoidSource::Period
protected

Definition at line 76 of file vtkImageSinusoidSource.h.

double vtkImageSinusoidSource::Phase
protected

Definition at line 77 of file vtkImageSinusoidSource.h.

double vtkImageSinusoidSource::Amplitude
protected

Definition at line 78 of file vtkImageSinusoidSource.h.


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