Section: Visualization Toolkit Imaging Classes
To create an instance of class vtkImageCheckerboard, simply invoke its constructor as follows
obj = vtkImageCheckerboard
obj
is an instance of the vtkImageCheckerboard class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkImageCheckerboard = obj.NewInstance ()
vtkImageCheckerboard = obj.SafeDownCast (vtkObject o)
obj.SetNumberOfDivisions (int , int , int )
- Set/Get the number of divisions along each axis.
obj.SetNumberOfDivisions (int a[3])
- Set/Get the number of divisions along each axis.
int = obj. GetNumberOfDivisions ()
- Set/Get the number of divisions along each axis.
obj.SetInput1 (vtkDataObject in)
- Set the two inputs to this filter
obj.SetInput2 (vtkDataObject in)