<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> <!--Converted with LaTeX2HTML 98.1p1 release (March 2nd, 1998) originally by Nikos Drakos (nikos@cbl.leeds.ac.uk), CBLU, University of Leeds * revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan * with significant contributions from: Jens Lippmann, Marek Rouchal, Martin Wilck and others --> <HTML> <HEAD> <TITLE>Using the Cursors</TITLE> <META NAME="description" CONTENT="Using the Cursors"> <META NAME="keywords" CONTENT="vol1"> <META NAME="resource-type" CONTENT="document"> <META NAME="distribution" CONTENT="global"> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> <LINK REL="STYLESHEET" HREF="vol1.css"> <LINK REL="next" HREF="node103.html"> <LINK REL="previous" HREF="node101.html"> <LINK REL="up" HREF="node100.html"> <LINK REL="next" HREF="node103.html"> </HEAD> <BODY > <!--Navigation Panel--> <A NAME="tex2html1813" HREF="node103.html"> <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="icons.gif/next_motif.gif"></A> <A NAME="tex2html1809" HREF="node100.html"> <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="icons.gif/up_motif.gif"></A> <A NAME="tex2html1803" HREF="node101.html"> <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="icons.gif/previous_motif.gif"></A> <A NAME="tex2html1811" HREF="node1.html"> <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="icons.gif/contents_motif.gif"></A> <A NAME="tex2html1812" HREF="node216.html"> <IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="icons.gif/index_motif.gif"></A> <BR> <B> Next:</B> <A NAME="tex2html1814" HREF="node103.html">Look-Up Tables</A> <B> Up:</B> <A NAME="tex2html1810" HREF="node100.html">XWindow display</A> <B> Previous:</B> <A NAME="tex2html1804" HREF="node101.html">Using Image Channels</A> <BR> <BR> <!--End of Navigation Panel--> <H3><A NAME="SECTION001021200000000000000"> </A> <A NAME="x-using-the-cursors"> </A> <BR> Using the Cursors </H3> Each display window has two independent cursors available. The first cursor (cursor 0) is moved via the mouse, the second cursor (cursor 1) is moved via the <I>arrow</I> keys on the keyboard. <P> Using both cursors a region of interest (<TT>ROI</TT>) is supported. The <TT>ROI</TT> can have rectangular or circular shape, its center is moved via the mouse and its size is adjusted via the <I>arrow</I> keys. The resizing of the <TT>ROI</TT> may be done in small or large increments. This is controlled via the number keys 0, 1, 2, ..., 9 on the keyboard. Pressing the 0-key corresponds to an increment of a single screen pixel, whereas 1, 2, ..., 9 lead to larger increments. The cursor position can be read by pressing the <TT>ENTER</TT> button which is the leftmost button on the mouse. To exit from a command which uses interactive cursor input, press the <TT>EXIT</TT> button which is the rightmost button on the mouse. The middle button is currently not used in MIDAS (it behaves like the <TT>EXIT</TT> button), but may be employed in the future. The <TT>RETURN</TT> key on the keyboard serves as an <TT>EXECUTE</TT> button. The <TT>EXECUTE</TT> button works usually like the <TT>ENTER</TT> button, only in some very special cases its functionality is different from the <TT>ENTER</TT> button. If so, it is explained in the relevant help info, an example are the <TT>MAGNITUDE/...</TT> commands. Pressing the <TT>ENTER</TT> button on the mouse requires a stable hand. If you press the <TT>ENTER</TT> button and only slightly move the mouse by doing so, this will be interpreted by the display server as a <I>Cursor Move</I> instead. Therefore, it may be safer to move the cursor via the mouse but get the cursor input with the <TT>EXECUTE</TT> button. <BR> You can also create a special <I>cursor window</I> for each display. Then, the area in the display window in cursor focus is also shown in that cursor window with a fixed magnification. Commands associated with cursors are: <BR> <BR> <TT>GET/CURSOR</TT> - <I>read cursor positions </I> <BR> <TT>SET/CURSOR</TT> - <I>define a specific cursor shape </I> <BR> <TT>CREATE/CURSOR_WINDOW</TT> - <I>create cursor w. for existing display </I> <BR> <TT>DELETE/CURSOR_WINDOW</TT> - <I>delete a cursor w. </I> <BR> <P> <HR> <!--Navigation Panel--> <A NAME="tex2html1813" HREF="node103.html"> <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="icons.gif/next_motif.gif"></A> <A NAME="tex2html1809" HREF="node100.html"> <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="icons.gif/up_motif.gif"></A> <A NAME="tex2html1803" HREF="node101.html"> <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="icons.gif/previous_motif.gif"></A> <A NAME="tex2html1811" HREF="node1.html"> <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="icons.gif/contents_motif.gif"></A> <A NAME="tex2html1812" HREF="node216.html"> <IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="icons.gif/index_motif.gif"></A> <BR> <B> Next:</B> <A NAME="tex2html1814" HREF="node103.html">Look-Up Tables</A> <B> Up:</B> <A NAME="tex2html1810" HREF="node100.html">XWindow display</A> <B> Previous:</B> <A NAME="tex2html1804" HREF="node101.html">Using Image Channels</A> <!--End of Navigation Panel--> <ADDRESS> <I>Petra Nass</I> <BR><I>1999-06-09</I> </ADDRESS> </BODY> </HTML>