NOAA

Geophysical Fluid
Dynamics Laboratory

Skip to: [content] [navigation]
If you are using Navigator 4.x or Internet Explorer 4.x or Omni Web 4.x , this site will not render correctly!

Vis > utilities > GFDL Visualization Guide: snoop

GFDL Visualization Guide: snoop

NAME

     snoop - magnify and report	on the screen under the	mouse pointer

SYNOPSIS

     snoop

DESCRIPTION

     Initially,	snoop follows the mouse cursor, magnifying a part of the
     screen under the cursor and reporting pixel values	for the	point under
     the cursor.  Snoop	operates in several modes; these are controlled	from
     the keyboard, the mouse, and a pop-up menu.  If the graphics hardware
     does not supports RGB mode, some options will not be available.  Specifi-
     cally, only colorindex mode (Cmode) is available and double buffer	mode
     is	not used, so reading from the front or back buffers has	no meaning.
     Since double buffer mode is not used (so that all color index values may
     be	displayed), the	black box at the bottom	of the screen will flash as
     you move the cursor.  This	is normal.

     LEFT MOUSEBUTTON
	  decides if snoop will	read from the front or back buffers.  Only has
	  meaning if the hardware supports RGB mode.

     MIDDLE MOUSEBUTTON
	  controls how snoop interprets	the data it finds-- either RGB or
	  colorindex.  Available only if the hardware supports RGB mode.

     RIGHT MOUSEBUTTON
	  brings up a pop-up menu with several entries,	many of	which have
	  keyboard equivalents:

	  Arrow
	       Equivalent to pressing the 'A' key on the keyboard, in 'arrow'
	       mode the	arrow-keys on the keyboard control what	part of	the
	       screen is being snooped,	not the	position of the	mouse pointer.

	  Backbuffer
	       Equivalent to the 'B' key, will make displaying the back	buffer
	       the default (pressing the left mousebutton down will display
	       the front buffer).  Not available if the	hardware does not sup-
	       port RGB	mode.

	  Cmode
	       Equivalent to the 'C' key, will make displaying data as
	       colorindices the	default.  Not available	if the hardware	does
	       not support RGB mode (displaying	data as	color indicies is not
	       deselectable in this case).

	  Gouraud
	       Equivalent to the 'G' key, will toggle gouraud/flat shading of
	       pixels

	  Snoop
	       mode controls whether or	not pixel values are displayed

	  12 Bit Component
	       Equivalent to the 'D' key, will toggle between component	size 8
	       (24 bit)	and component size 12 (36 bit) RGB pixels.  This mode
	       does not	enable viewing of the low four bits (wait for OpenGL),
	       but will	guarantee that the 8 bits read are correct. Not	avail-
	       able if the hardware does not support RGB mode.	Has no effect
	       if the hardware doesn't have 12 bit/component pixels.

	  Zoom Equivalent to the '0' through '9' keys, controls the level of
	       magnification.

	  Stop Will suspend snooping, which can also be accomplished via
	       'CTRL-S'	(suspend) and 'CTRL-Q' (restart).

	  Exit exits snoop, as does the ESC key.
smaller bigger reset
last modified: February 20 2004.