Section: Visualization Toolkit Imaging Classes
To create an instance of class vtkImageClip, simply invoke its constructor as follows
obj = vtkImageClip
obj
is an instance of the vtkImageClip class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkImageClip = obj.NewInstance ()
vtkImageClip = obj.SafeDownCast (vtkObject o)
obj.SetOutputWholeExtent (int extent[6], vtkInformation outInfo)
- The whole extent of the output has to be set explicitly.
obj.SetOutputWholeExtent (int minX, int maxX, int minY, int maxY, int minZ, int maxZ)
- The whole extent of the output has to be set explicitly.
obj.GetOutputWholeExtent (int extent[6])
- The whole extent of the output has to be set explicitly.
int = obj.GetOutputWholeExtent ()
obj.ResetOutputWholeExtent ()
obj.SetClipData (int )
- By default, ClipData is off, and only the WholeExtent is modified.
the data's extent may actually be larger. When this flag is on,
the data extent will be no more than the OutputWholeExtent.
int = obj.GetClipData ()
- By default, ClipData is off, and only the WholeExtent is modified.
the data's extent may actually be larger. When this flag is on,
the data extent will be no more than the OutputWholeExtent.
obj.ClipDataOn ()
- By default, ClipData is off, and only the WholeExtent is modified.
the data's extent may actually be larger. When this flag is on,
the data extent will be no more than the OutputWholeExtent.
obj.ClipDataOff ()
- By default, ClipData is off, and only the WholeExtent is modified.
the data's extent may actually be larger. When this flag is on,
the data extent will be no more than the OutputWholeExtent.
obj.SetOutputWholeExtent (int piece, int numPieces)
- Hack set output by piece