Section: Visualization Toolkit Imaging Classes
To create an instance of class vtkImageMaskBits, simply invoke its constructor as follows
obj = vtkImageMaskBits
obj
is an instance of the vtkImageMaskBits class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkImageMaskBits = obj.NewInstance ()
vtkImageMaskBits = obj.SafeDownCast (vtkObject o)
obj.SetMasks (int , int , int , int )
- Set/Get the bit-masks. Default is 0xffffffff.
obj.SetMasks (int a[4])
- Set/Get the bit-masks. Default is 0xffffffff.
obj.SetMask (int mask)
- Set/Get the bit-masks. Default is 0xffffffff.
obj.SetMasks (int mask1, int mask2)
- Set/Get the bit-masks. Default is 0xffffffff.
obj.SetMasks (int mask1, int mask2, int mask3)
- Set/Get the bit-masks. Default is 0xffffffff.
int = obj. GetMasks ()
- Set/Get the bit-masks. Default is 0xffffffff.
obj.SetOperation (int )
- Set/Get the boolean operator. Default is AND.
int = obj.GetOperation ()
- Set/Get the boolean operator. Default is AND.
obj.SetOperationToAnd ()
- Set/Get the boolean operator. Default is AND.
obj.SetOperationToOr ()
- Set/Get the boolean operator. Default is AND.
obj.SetOperationToXor ()
- Set/Get the boolean operator. Default is AND.
obj.SetOperationToNand ()
- Set/Get the boolean operator. Default is AND.
obj.SetOperationToNor ()
- Set/Get the boolean operator. Default is AND.