
148 Chapter 7: Creating an Operation
Predefined iTool Operations iTool Developer’s Guide
Predefined iTool Operations
The iTool system distributed with IDL includes a number of predefined operations.
You can include these operations in an iTool directly by registering the class with
your iTool (as described in “Registering an Operation” on page 182). You can also
create a new operation class based on one of the predefined classes.
IDLitOpBytscl
Scales the values contained in a two-dimensional array into the range of 0-255
Data Types Accepted
• IDLARRAY2D
IDLitOpConvolution
Displays a dialog that allows the user to choose convolution settings, then calls the
CONVOL function on the selected data using the specified parameters.
Data Types Accepted
• IDLVECTOR, IDLARRAY2D, IDLIMAGE
IDLitOpCurvefitting
Displays a dialog that allows the user to select a curve-fitting algorithm, then calls the
appropriate IDL routine to perform the fit. The fitted curve is then created and
inserted into the visualization as a new plot line.
Data Types Accepted
• IDLVECTOR
IDLitOpSmooth
Calls the SMOOTH function on the selected data. The smoothing window parameter
can be set by the user via the property sheet interface of the Operations browser.
Data Types Accepted
• IDLVECTOR, IDLARRAY2D