| IDT(1NCARG) | NCAR GRAPHICS | IDT(1NCARG) |
idt - X window interactive image display tool
idt [ -toolkitoption ... ] [ -background color ] [ -f font ] [ -foreground color ] [ -history ] [ -lmin min ] [ -lmax max ] [ -lscale scale ] [ -oldidt ] [ -pal pal_fname ] [ -reverse ] [ -soft ] [ -Version ] [ metafile ]
idt provides a graphical user interface to the NCAR View interactive metafile translator ictrans. idt supports a subset of the ictrans command interface.
idt provides two types of command panels for interacting with imagery. The first type is the control panel, which you see when you initially invoke idt. The control panel displays messages from the translators, provides a metafile selection utility and is responsible for instantiating the second type of command panel, the display panel. The display panel provides mechanisms for controlling translators. Each display panel manages a single metafile translator. There can be multiple display panels in existence at the same time but only one control panel.
idt accepts all of the standard X Toolkit command line options (see X(1)). idt also accepts the following options:
The following options are ignored by idt and are passed on to the metafile translator ictrans. See ictrans(1NCARG) for a description of their use.
The control panel provides a text widget for displaying messages from the translators and a row of command buttons. Messages are preceded with the string "Display[X]", where "X" is an integer id associated with the translator sending the message. The first translator spawned is "Display[0]", the second is "Display[1]", etc.
The display panel provides a mechanism for manipulating the translator associated with a particular metafile. On most systems the name of the metafile appears in the title bar at the top of the panel. The first row in the panel contains a scroll bar for randomly selecting a frame to be translated. The label bar to the right displays the number of the frame scrolled to. The panel is intended to resemble a video tape editor. Thus, the second row contains play back, jog back, stop, jog and play buttons, respectively. The third and forth rows contain more complex display commands.
As with all standard X applications, idt may be customized through entries in the resource manager. In the following list of application resources provided by idt the resource name is given followed by its class in parentheses. These resources supplement the resources provided by the widgets themselves.
idt provides the following actions for use in event translation:
In order to specify resources, it is useful to know the hierarchy of the widgets which make up idt. In the notation below, indentation indicates hierarchal structure. The widget class name is given first, followed by the widget instance name.
Idt idt
Paned paned
Text text
Form form
Command select file
Command display
TopLevelShell <???>
Paned paned
Core canvas /* This is the drawing canvas
Form form
Scrollbar scrollbar
Label Scrolled to Frame ->
Form form
Command playback
Command jogback
Command stop
Command jog
Command play
Form form
Toggle loop
Command dup
Command goto
Command skip
Command delay
Command start segment
Command stop segment
Command set window
Form form
Command done
Command current frame
MenuButton print
SimpleMenu menu
SmeBSB <???>
SmeBSB <???>
SmeBSB <???>
|
|
dynamically configured
|
|
SmeBSB <???>
SmeBSB <???>
Command save
Command zoom
Command unzoom
Toggle animate
Grip grip
Grip grip
Grip grip
Grip grip
Grip grip
Command quit
Grip grip
Grip grip
Paned
The following resource specification can be used to set the default size of the graphics display window to 200 by 200 pixels:
Idt*canvas.width: 200 Idt*canvas.height: 200
If you want to place the control panel in the top right corner insert the following into your .Xdefaults file:
idt.geometry: -0+0
ctrans(1NCARG), fcaps(1NCARG), gcaps(1NCARG), ictrans(1NCARG), ncarv_spool(5NCARG), X(1), xrdb(1)
Hardcopy: NCAR Graphics Fundamentals, UNIX Version
Zooming in on large cell arrays causes the translator to crash.
The metafile file translation process is performed by spawning the ictrans translator. ictrans does not understand standard X Toolkit options. Hence, the DISPLAY environment variable must be set when translating a metafile to be displayed in a window.
You can not save "zoomed" plots to a file. More precisely, you may save a "zoomed" plot, however, the resultant plot will not be "zoomed".
The "Scrolled to Frame" label is not continuously updated.
The range with which one may zoom in on a plot with either the zoom or window command is severely limited by Xlibs use of 'short' integers for containing screen coordinate data.
IRIX 4.x users should not set use the shared memory connection to their X server. i.e don't use the display shm:0.
Background color changes don't work when idt is in animate mode. idt will use whatever color was most recently set in the animation segment for the entire segment.
Copyright (C) 1987-2009
University Corporation for Atmospheric Research
The use of this Software is governed by a License Agreement.
| January 1993 | NCARG |