Section: Visualization Toolkit Imaging Classes
To create an instance of class vtkImageMagnify, simply invoke its constructor as follows
obj = vtkImageMagnify
obj
is an instance of the vtkImageMagnify class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkImageMagnify = obj.NewInstance ()
vtkImageMagnify = obj.SafeDownCast (vtkObject o)
obj.SetMagnificationFactors (int , int , int )
- Set/Get the integer magnification factors in the i-j-k directions.
Initially, factors are set to 1 in all directions.
obj.SetMagnificationFactors (int a[3])
- Set/Get the integer magnification factors in the i-j-k directions.
Initially, factors are set to 1 in all directions.
int = obj. GetMagnificationFactors ()
- Set/Get the integer magnification factors in the i-j-k directions.
Initially, factors are set to 1 in all directions.
obj.SetInterpolate (int )
- Turn interpolation on and off (pixel replication is used when off).
Initially, interpolation is off.
int = obj.GetInterpolate ()
- Turn interpolation on and off (pixel replication is used when off).
Initially, interpolation is off.
obj.InterpolateOn ()
- Turn interpolation on and off (pixel replication is used when off).
Initially, interpolation is off.
obj.InterpolateOff ()
- Turn interpolation on and off (pixel replication is used when off).
Initially, interpolation is off.