vtkTVRD Function
Returns the contents of a VTK window as a bitmapped image.
Usage
image = vtkTVRD([window_index])
Input Parameters
window_index—(optional) An integer specifying the index of an existing VTK window. If omitted, the current window is used.
Keywords
Filename—File path to store a temporary PPM file. Default is “wave.ppm.”
Returned Value
image—An array (3, width, height) of bytes containing the 24-bit image.
Discussion
This function works like TVRD for PV-WAVE windows. It uses vtkPPMWRITE and vtkPPMREAD to save and then read the contents of a window. The temporary file created is deleted when done.
Example
vtkWINDOW, 7
vtkAXES
TV, vtkTVRD(7), /TRUE
See Also
Version 2017.0
Copyright © 2017, Rogue Wave Software, Inc. All Rights Reserved.