vtkRENDERWINDOW Procedure
Renders a VTK window.
Usage
vtkRENDERWINDOW[, 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
None.
Discussion
Call this procedure after all objects (lights, cameras, surfaces, polygon meshes, etc.) have been added to the window. This routine starts the rendering process and creates the initial rendered scene. You need to call this procedure only if you used the Norender keyword with the vtkWINDOW Procedure, or if you are making low-level calls to VTK using vtkCOMMAND.
Example 1
This example shows the essense of vtkRENDERWINDOW.
vtkwindow, 1, /norender
vtkaxes
vtkrenderwindow
Example 2
A more complicated example:
vtkwindow, 2, /norender
V=[[0,0,0],[1,0,0],[1,1,0],[0,1,0]]
p=[4,0,1,2,3]
vtkpolyshade, v, p
vtkaxes
vtktext, 'This is VTK', charsize=[1.0,1.0,1.0], color='blue'
vtkrenderwindow, 2