#include <vtkImageSinusoidSource.h>
vtkImageSinusoidSource just produces images with pixel values determined by a sinusoid.
Definition at line 30 of file vtkImageSinusoidSource.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) |
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 vtkImageSinusoidSource * | New () |
static int | IsTypeOf (const char *type) |
static vtkImageSinusoidSource * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkImageSinusoidSource () | |
~vtkImageSinusoidSource () | |
virtual int | RequestInformation (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
virtual void | ExecuteData (vtkDataObject *data) |
Protected Attributes | |
int | WholeExtent [6] |
double | Direction [3] |
double | Period |
double | Phase |
double | Amplitude |
vtkImageSinusoidSource::vtkImageSinusoidSource | ( | ) | [protected] |
vtkImageSinusoidSource::~vtkImageSinusoidSource | ( | ) | [inline, protected] |
Definition at line 71 of file vtkImageSinusoidSource.h.
static vtkImageSinusoidSource* vtkImageSinusoidSource::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkAlgorithm.
virtual const char* vtkImageSinusoidSource::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkImageAlgorithm.
static int vtkImageSinusoidSource::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 vtkImageSinusoidSource::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.
static vtkImageSinusoidSource* vtkImageSinusoidSource::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkImageAlgorithm.
void vtkImageSinusoidSource::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 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 * | ||||
) | [protected, virtual] |
Reimplemented from vtkImageAlgorithm.
virtual void vtkImageSinusoidSource::ExecuteData | ( | vtkDataObject * | output | ) | [protected, virtual] |
This method is the old style execute method
Reimplemented from vtkImageAlgorithm.
int vtkImageSinusoidSource::WholeExtent[6] [protected] |
Definition at line 71 of file vtkImageSinusoidSource.h.
double vtkImageSinusoidSource::Direction[3] [protected] |
Definition at line 74 of file vtkImageSinusoidSource.h.
double vtkImageSinusoidSource::Period [protected] |
Definition at line 75 of file vtkImageSinusoidSource.h.
double vtkImageSinusoidSource::Phase [protected] |
Definition at line 76 of file vtkImageSinusoidSource.h.
double vtkImageSinusoidSource::Amplitude [protected] |
Definition at line 77 of file vtkImageSinusoidSource.h.