The ITRESET procedure resets the IDL iTools session. When called, all active tools and overall system management is destroyed and associated resources released.
This routine is written in the IDL language. Its source code can be found in the file itreset.pro in the lib/itools subdirectory of the IDL distribution.
ITRESET[, /NO_PROMPT]
None
Set this keyword to disable prompting the user before resetting the system. If this keyword is set, the user is not presented with a prompt and the reset is performed immediately.
The iTool Data Manager system maintains your data during the entire IDL session, unless ITRESET is used. This example shows how the data is maintained and how ITRESET is used to clear the iTool Data Manager.
Read in plot data and load it into an iPlot tool at the IDL Command Line:
file = FILEPATH('dirty_sine.dat', $
SUBDIRECTORY = ['examples', 'data'])
data = READ_BINARY(file, DATA_DIMS = [256, 1])
IPLOT, data
Delete this tool with the ITDELETE procedure at the IDL Command Line:
ITDELETE
Read in surface data and load it into an iSurface tool at the IDL Command Line:
file = FILEPATH('elevbin.dat', $
SUBDIRECTORY = ['examples', 'data'])
data = READ_BINARY(file, DATA_DIMS = [64, 64])
ISURFACE, data
Use Window ® Data Manager... to access the Data Manager Browser. The browser contains both plot and surface parameters. Although the iPlot tool was deleted, its data remains in the Data Manager. Click Dismiss.
Use File ® New ® iPlot to create an empty iPlot tool. If you want to load the plot data in the Data Manager into this tool, use Insert ® Visualization to access the Insert Visualization dialog, which allows you to specify the plot data to be displayed.
At the IDL Command Line, enter:
ITRESET, /NO_PROMPT
The two iTools are deleted and the data in the Data Manager is released. To verify the data in released, create an empty iSurface tool at the IDL Command Line:
ISURFACE
Use Window ® Data Manager... to access the Data Manager Browser. No data appears in the browser. The iTool Data Manger in empty. Click Dismiss.
At the IDL Command Line, enter:
ITRESET, /NO_PROMPT
Introduced: 6.0
ITCURRENT, ITDELETE, ITGETCURRENT