Reference Guide > U–V Routines > vtkERASE Procedure
  

vtkERASE Procedure
Erases the contents of the current VTK window.
Usage
vtkERASE [, background_color]
Input Parameters
background_color—(optional) The background color to be used for the window, specified as a 24-bit color. See vtkWINDOW Procedure for possible ways to specify the color.
Keywords
None.
Discussion
This procedure works like ERASE for PV-WAVE windows. It removes all actors, cameras, and lights from the current window.
Example
This example shows vtkERASE removing the axes from the window.
vtkwindow, 1
vtkaxes
vtkerase
See Also
ERASE, VtkCLOSE, vtkWINDOW

Version 2017.0
Copyright © 2017, Rogue Wave Software, Inc. All Rights Reserved.