*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> standard/pick (3)              
Title
Content
Arch
Section
 

Contents


pick(3G)							      pick(3G)


NAME    [Toc]    [Back]

     pick - puts the system in picking mode

C SPECIFICATION    [Toc]    [Back]

     void pick(buffer, numnames)
     short buffer[];
     long numnames;

PARAMETERS    [Toc]    [Back]

     buffer	expects	the array to use for storing names.

     numnames	expects	the maximum number of names to store. This must	not
		exceed the number of elements in buffer.

DESCRIPTION    [Toc]    [Back]

     pick facilitates the cursor as a pointing object.	When you draw an image
     in	picking	mode, nothing is drawn.	 It places a special viewing matrix on
     the stack,	which discards everything in the image that does not intersect
     a small region around the cursor origin.

     The graphical items that intersect	the picking region are hits and	store
     the contents of the name stack in buffer. Picking does not	work if	you
     issue a new viewport in picking  mode.

SEE ALSO    [Toc]    [Back]

      
      
     endpick, endselect, gselect, picksize, pushname, popname, loadname

NOTE    [Toc]    [Back]

     This routine is available only in immediate mode.

     In	order to pick a	large point or a wide line in picking mode, the
     selecting region must intersect the displayed point center	or the
     displayed line center respectively.  The displayed	point center is	the
     imaginary point of	size 1 specified by the	same vertex as the displayed
     point.  The displayed line	center is the imaginary	line of	width 1
     specified by the same vertices as the displayed line.  In case of a very
     large point or very wide line, you	may want to consider drawing a filled
     circle or a filled	rectangle respectively instead.


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
gselect IRIX puts the system in selecting mode
endpick IRIX turns off picking mode
gluPickMatrix Tru64 define a picking region
glupickmatrix IRIX define a picking region
picksize IRIX sets the dimensions of the picking region
putq Tru64 STREAMS: Puts a message on a queue
sleep Tru64 General: Puts a calling process to sleep
putctl Tru64 STREAMS: Puts a control message on a queue
putctl1 Tru64 Puts a control message with a 1-byte parameter on a queue
multi IRIX switch the system to multiuser mode
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service