ITT Rule IDL Version 7.0 Manual de usuario Pagina 226

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 430
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 225
226 Chapter 8: Creating a Manipulator
Example: Color Table Manipulator iTool Developers Guide
Example: Color Table Manipulator
The following example creates a custom manipulator that allows you to interactively
change the palette applied to a single-plane image. After activating the manipulator
by selecting the Color Table tool icon on the toolbar, position the cursor over the
image and with the mouse button held down, move the mouse to the right or left to
change the palette.
Example Code
The class definition code for this example iTool is included in the file
example3tool__define.pro in the examples/doc/itools subdirectory of
the IDL distribution. Run the example procedure by entering
example3tool__define at the IDL command prompt or view the file in an IDL
Editor window by entering .EDIT example3tool__define.pro.
A segment of the tool created in this example is shown in the following figure.
Figure 8-2: Custom iTool with Color Table Manipulator
Custom Manipulator Icon
ProbeStatusMessage
RegisterManipulator
DESCRIPTION Text
Method Text
Vista de pagina 225
1 2 ... 221 222 223 224 225 226 227 228 229 230 231 ... 429 430

Comentarios a estos manuales

Sin comentarios