Section: Visualization Toolkit IO Classes
To create an instance of class vtkGenericMovieWriter, simply invoke its constructor as follows
obj = vtkGenericMovieWriter
obj
is an instance of the vtkGenericMovieWriter class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkGenericMovieWriter = obj.NewInstance ()
vtkGenericMovieWriter = obj.SafeDownCast (vtkObject o)
obj.SetInput (vtkImageData input)
- Set/Get the input object from the image pipeline.
vtkImageData = obj.GetInput ()
- Set/Get the input object from the image pipeline.
obj.SetFileName (string )
- Specify file name of avi file.
string = obj.GetFileName ()
- Specify file name of avi file.
obj.Start ()
- These methods start writing an Movie file, write a frame to the file
and then end the writing process.
obj.Write ()
- These methods start writing an Movie file, write a frame to the file
and then end the writing process.
obj.End ()
- These methods start writing an Movie file, write a frame to the file
and then end the writing process.
int = obj.GetError ()
- Was there an error on the last write performed?