Section: Visualization Toolkit Imaging Classes
To create an instance of class vtkImageSinusoidSource, simply invoke its constructor as follows
obj = vtkImageSinusoidSource
obj
is an instance of the vtkImageSinusoidSource class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkImageSinusoidSource = obj.NewInstance ()
vtkImageSinusoidSource = obj.SafeDownCast (vtkObject o)
obj.SetWholeExtent (int xMinx, int xMax, int yMin, int yMax, int zMin, int zMax)
- Set/Get the extent of the whole output image.
obj.SetDirection (double , double , double )
- Set/Get the direction vector which determines the sinusoidal
orientation. The magnitude is ignored.
obj.SetDirection (double dir[3])
- Set/Get the direction vector which determines the sinusoidal
orientation. The magnitude is ignored.
double = obj. GetDirection ()
- Set/Get the direction vector which determines the sinusoidal
orientation. The magnitude is ignored.
obj.SetPeriod (double )
- Set/Get the period of the sinusoid in pixels.
double = obj.GetPeriod ()
- Set/Get the period of the sinusoid in pixels.
obj.SetPhase (double )
- Set/Get the phase: 0->2Pi. 0 => Cosine, pi/2 => Sine.
double = obj.GetPhase ()
- Set/Get the phase: 0->2Pi. 0 => Cosine, pi/2 => Sine.
obj.SetAmplitude (double )
- Set/Get the magnitude of the sinusoid.
double = obj.GetAmplitude ()
- Set/Get the magnitude of the sinusoid.