Revision as of 04:55, 13 December 2007 S2plot admin (Talk | contribs) ← Previous diff |
Current revision S2plot admin (Talk | contribs)
|
Line 45: |
Line 45: |
| <tr><td>[[Function:s2rectxz | s2rectxz]]</td><td>Draw a rectangle in the xz plane at a given y coordinate. </td><td>[http://www.astro.caltech.edu/~tjp/pgplot/subroutines.html#PGRECT PGRECT]</td></tr> | | <tr><td>[[Function:s2rectxz | s2rectxz]]</td><td>Draw a rectangle in the xz plane at a given y coordinate. </td><td>[http://www.astro.caltech.edu/~tjp/pgplot/subroutines.html#PGRECT PGRECT]</td></tr> |
| <tr><td>[[Function:s2rectyz | s2rectyz]]</td><td>Draw a rectangle in the yz plane at a given x coordinate. </td><td>[http://www.astro.caltech.edu/~tjp/pgplot/subroutines.html#PGRECT PGRECT]</td></tr> | | <tr><td>[[Function:s2rectyz | s2rectyz]]</td><td>Draw a rectangle in the yz plane at a given x coordinate. </td><td>[http://www.astro.caltech.edu/~tjp/pgplot/subroutines.html#PGRECT PGRECT]</td></tr> |
| + | <tr><td>[[Function:s2wcube |s2wcube]]</td><td>Draw a wireframe cube.</td><td></td></tr> |
| <tr><td>[[Function:s2pt1 | s2pt1]]</td><td>Draw a single point with a given symbol. </td><td>[http://www.astro.caltech.edu/~tjp/pgplot/subroutines.html#PGPT1 PGPT1]</td></tr> | | <tr><td>[[Function:s2pt1 | s2pt1]]</td><td>Draw a single point with a given symbol. </td><td>[http://www.astro.caltech.edu/~tjp/pgplot/subroutines.html#PGPT1 PGPT1]</td></tr> |
| <tr><td>[[Function:s2pt | s2pt]]</td><td>Draw a set of points with a given symbol. </td><td>[http://www.astro.caltech.edu/~tjp/pgplot/subroutines.html#PGPT PGPT]</td></tr> | | <tr><td>[[Function:s2pt | s2pt]]</td><td>Draw a set of points with a given symbol. </td><td>[http://www.astro.caltech.edu/~tjp/pgplot/subroutines.html#PGPT PGPT]</td></tr> |
Line 73: |
Line 74: |
| <tr><td>[[Function:s2slw | s2slw]]</td><td>Set the linewidth in pixels. </td><td>[http://www.astro.caltech.edu/~tjp/pgplot/subroutines.html#PGSLW PGSLW]</td></tr> | | <tr><td>[[Function:s2slw | s2slw]]</td><td>Set the linewidth in pixels. </td><td>[http://www.astro.caltech.edu/~tjp/pgplot/subroutines.html#PGSLW PGSLW]</td></tr> |
| <tr><td>[[Function:s2qlw | s2qlw]]</td><td>Query the line width</td><td> </td></tr> | | <tr><td>[[Function:s2qlw | s2qlw]]</td><td>Query the line width</td><td> </td></tr> |
| + | <tr><td>[[Function:s2sls | s2sls]]</td><td>Set the line style.</td/><td></td></tr> |
| + | <tr><td>[[Function:s2qls | s2qls]]</td><td>Query the line style.</td/><td></td></tr> |
| <tr><td>[[Function:s2sch | s2sch]]</td><td>Set the character height in "arbitrary" units. </td><td>[http://www.astro.caltech.edu/~tjp/pgplot/subroutines.html#PGSCH PGSCH]</td></tr> | | <tr><td>[[Function:s2sch | s2sch]]</td><td>Set the character height in "arbitrary" units. </td><td>[http://www.astro.caltech.edu/~tjp/pgplot/subroutines.html#PGSCH PGSCH]</td></tr> |
| <tr><td>[[Function:s2qch | s2qch]]</td><td>Query the character height</td><td> </td></tr> | | <tr><td>[[Function:s2qch | s2qch]]</td><td>Query the character height</td><td> </td></tr> |
| <tr><td>[[Function:s2sah | s2sah]]</td><td>Set the style to be used for arrowheads drawn with s2arro. </td><td>[http://www.astro.caltech.edu/~tjp/pgplot/subroutines.html#PGSAH PGSAH]</td></tr> | | <tr><td>[[Function:s2sah | s2sah]]</td><td>Set the style to be used for arrowheads drawn with s2arro. </td><td>[http://www.astro.caltech.edu/~tjp/pgplot/subroutines.html#PGSAH PGSAH]</td></tr> |
| <tr><td>[[Function:s2qah | s2qah]]</td><td>Query the arrow-head style</td><td> </td></tr> | | <tr><td>[[Function:s2qah | s2qah]]</td><td>Query the arrow-head style</td><td> </td></tr> |
| + | <tr><td>[[Function:s2twc | s2twc]]</td><td>Set the window clipping mode</td><td> </td></tr> |
| + | <tr><td>[[Function:s2qwc| s2qwc]]</td><td>Query the window clipping mode</td><td> </td></tr> |
| <tr><td>[[Function:ss2txh | ss2txh]]</td><td>Enable/disable/toggle the visibility of the cursor cross-hair </td><td> </td></tr> | | <tr><td>[[Function:ss2txh | ss2txh]]</td><td>Enable/disable/toggle the visibility of the cursor cross-hair </td><td> </td></tr> |
| <tr><td>[[Function:ss2qxh | ss2qxh]]</td><td>Query the visibility of the cursor cross-hair </td><td></td></tr> | | <tr><td>[[Function:ss2qxh | ss2qxh]]</td><td>Query the visibility of the cursor cross-hair </td><td></td></tr> |
Line 87: |
Line 92: |
| <tr><td>[[Function:s2box | s2box]]</td><td>Draw a labelled box around the world space. </td><td>[http://www.astro.caltech.edu/~tjp/pgplot/subroutines.html#PGBOX PGBOX]</td></tr> | | <tr><td>[[Function:s2box | s2box]]</td><td>Draw a labelled box around the world space. </td><td>[http://www.astro.caltech.edu/~tjp/pgplot/subroutines.html#PGBOX PGBOX]</td></tr> |
| <tr><td>[[Function:s2lab | s2lab]]</td><td>Draw labels along the edges of bounding box. </td><td>[http://www.astro.caltech.edu/~tjp/pgplot/subroutines.html#PGLAB PGLAB]</td></tr> | | <tr><td>[[Function:s2lab | s2lab]]</td><td>Draw labels along the edges of bounding box. </td><td>[http://www.astro.caltech.edu/~tjp/pgplot/subroutines.html#PGLAB PGLAB]</td></tr> |
| + | <tr><td>[[Function:s2help | s2help]]</td><td>Set the custom help string.</td/><td></td></tr> |
| </table> | | </table> |
| | | |
Line 102: |
Line 108: |
| <tr><td>[[Function:s2funyzr | s2funyzr]]</td><td>Draw surface as per s2funyz, but with explicit settings for the colour range mapping. </td><td> </td></tr> | | <tr><td>[[Function:s2funyzr | s2funyzr]]</td><td>Draw surface as per s2funyz, but with explicit settings for the colour range mapping. </td><td> </td></tr> |
| <tr><td>[[Function:s2funuv | s2funuv]]</td><td>Plot a parametric function (generally a surface) defined by functions fx(u,v), fy(u,v) and fz(u,v). </td><td> </td></tr> | | <tr><td>[[Function:s2funuv | s2funuv]]</td><td>Plot a parametric function (generally a surface) defined by functions fx(u,v), fy(u,v) and fz(u,v). </td><td> </td></tr> |
| + | <tr><td>[[Function:s2funuva | s2funuva]]</td><td>Plot a parametric function (generally a surface) defined by functions fx(u,v), fy(u,v) and fz(u,v) with transparency. </td><td> </td></tr> |
| </table> | | </table> |
| | | |
Line 112: |
Line 119: |
| <tr><td>[[Function:s2qcir | s2qcir]]</td><td>Query the colour index range. </td><td>[http://www.astro.caltech.edu/~tjp/pgplot/subroutines.html#PGQCIR PGQCIR]</td></tr> | | <tr><td>[[Function:s2qcir | s2qcir]]</td><td>Query the colour index range. </td><td>[http://www.astro.caltech.edu/~tjp/pgplot/subroutines.html#PGQCIR PGQCIR]</td></tr> |
| <tr><td>[[Function:s2icm | s2icm]]</td><td>Install various colour maps. </td><td>[http://www.astro.caltech.edu/~tjp/pgplot/subroutines.html#PGSITF PGSITF]</td></tr> | | <tr><td>[[Function:s2icm | s2icm]]</td><td>Install various colour maps. </td><td>[http://www.astro.caltech.edu/~tjp/pgplot/subroutines.html#PGSITF PGSITF]</td></tr> |
- | <tr><td>[[Function:s2wedge | s2wedge]]</td><td>Draw a colour wedge. </td><td>[http://www.astro.caltech.edu/~tjp/pgplot/subroutines.html#PGWEDG PGWEDG]</td></tr> | |
| </table> | | </table> |
| | | |
Line 124: |
Line 130: |
| <tr><td>[[Function:ns2sisa | ns2sisa]]</td><td>Set the alpha channel for an isosurface</td><td> </td></tr> | | <tr><td>[[Function:ns2sisa | ns2sisa]]</td><td>Set the alpha channel for an isosurface</td><td> </td></tr> |
| <tr><td>[[Function:ns2sisc | ns2sisc]]</td><td>Set the colour for an isosurface</td><td> </td></tr> | | <tr><td>[[Function:ns2sisc | ns2sisc]]</td><td>Set the colour for an isosurface</td><td> </td></tr> |
| + | <tr><td>[[Function:ns2ssq |ns2ssq ]]</td><td>Set general surface quality.</td/><td></td></tr> |
| + | <tr><td>[[Function:ns2qsq |ns2qsq ]]</td><td>Query general surface quality.</td/><td></td></tr> |
| </table> | | </table> |
| | | |
Line 130: |
Line 138: |
| <tr><th width=15%>S2PLOT</th><th width=*>Description</th><th width=15%>PGPLOT</th></tr> | | <tr><th width=15%>S2PLOT</th><th width=*>Description</th><th width=15%>PGPLOT</th></tr> |
| <tr><td>[[Function:ns2cvr | ns2cvr]]</td><td>Create a volume rendering object </td><td> </td></tr> | | <tr><td>[[Function:ns2cvr | ns2cvr]]</td><td>Create a volume rendering object </td><td> </td></tr> |
- | <tr><td>[[Function:ds2dvr | ds2dvr]]</td><td>Draw a volume render object from a dynamic callback </td><td> </td></tr> | + | <tr><td>[[Function:ns2cvra | ns2cvra]]</td><td>Volume rendering with alpha function specified.</td/><td></td></tr> |
| + | <tr><td>[[Function:ds2dvr | ds2dvr]]</td><td>Draw a volume render object from a dynamic callback. </td><td> </td></tr> |
| <tr><td>[[Function:ns2svrl | ns2svrl]]</td><td>Change volume rendering data and alpha ranges </td><td> </td></tr> | | <tr><td>[[Function:ns2svrl | ns2svrl]]</td><td>Change volume rendering data and alpha ranges </td><td> </td></tr> |
| + | <tr><td>[[Function:ns2svas |ns2svas ]]</td><td>Set alpha scaling mode.</td/><td></td></tr> |
| + | <tr><td>[[Function:ns2qvas |ns2qvas ]]</td><td>Query alpha scaling mode.</td/><td></td></tr> |
| + | <tr><td>[[Function:ns2sevas |ns2sevas ]]</td><td>Explicitly set alpha scaling values.</td/><td></td></tr> |
| </table> | | </table> |
| | | |
Line 155: |
Line 167: |
| <tr><td>[[Function:ns2spherex | ns2spherex]]</td><td>Draw a textured sphere, with given centre, radius, colour and texture ID. </td><td> </td></tr> | | <tr><td>[[Function:ns2spherex | ns2spherex]]</td><td>Draw a textured sphere, with given centre, radius, colour and texture ID. </td><td> </td></tr> |
| <tr><td>[[Function:ns2vspherex | ns2vspherex]]</td><td>Draw a textured sphere, with given centre, radius, colour and texture ID - vector input. </td><td> </td></tr> | | <tr><td>[[Function:ns2vspherex | ns2vspherex]]</td><td>Draw a textured sphere, with given centre, radius, colour and texture ID - vector input. </td><td> </td></tr> |
| + | <tr><td>[[Function:ns2vplanett |ns2vplanett ]]</td><td>Draw a planet with texture filename.</td/><td></td></tr> |
| + | <tr><td>[[Function:ns2vplanetx |ns2vplanetx ]]</td><td>Draw a planet with texture id.</td/><td></td></tr> |
| <tr><td>[[Function:ns2disk | ns2disk]]</td><td>Draw an annulus with given centre, inner and out radii, and colour. </td><td> </td></tr> | | <tr><td>[[Function:ns2disk | ns2disk]]</td><td>Draw an annulus with given centre, inner and out radii, and colour. </td><td> </td></tr> |
| <tr><td>[[Function:ns2vdisk | ns2vdisk]]</td><td>Draw an annulus with given centre, inner and out radii, and colour - vector input. </td><td> </td></tr> | | <tr><td>[[Function:ns2vdisk | ns2vdisk]]</td><td>Draw an annulus with given centre, inner and out radii, and colour - vector input. </td><td> </td></tr> |
| <tr><td>[[Function:ns2arc | ns2arc]]</td><td>Draw an arc at (px,py,pz) with normal (nx,ny,nz) in current pen (thickness,colour). </td><td> </td></tr> | | <tr><td>[[Function:ns2arc | ns2arc]]</td><td>Draw an arc at (px,py,pz) with normal (nx,ny,nz) in current pen (thickness,colour). </td><td> </td></tr> |
| <tr><td>[[Function:ns2varc | ns2varc]]</td><td>Draw an arc at (px,py,pz) with normal (nx,ny,nz) in current pen (thickness,colour) - vector input. </td><td> </td></tr> | | <tr><td>[[Function:ns2varc | ns2varc]]</td><td>Draw an arc at (px,py,pz) with normal (nx,ny,nz) in current pen (thickness,colour) - vector input. </td><td> </td></tr> |
| + | <tr><td>[[Function:ns2erc |ns2erc ]]</td><td>Draw an arc.</td/><td></td></tr> |
| + | <tr><td>[[Function:ns2verc |ns2verc ]]</td><td>Draw an arc - vector input.</td/><td></td></tr> |
| <tr><td>[[Function:ns2text | ns2text]]</td><td>Draw text at a given position, with right and up vectors, a specific colour, and a text string of course. </td><td> </td></tr> | | <tr><td>[[Function:ns2text | ns2text]]</td><td>Draw text at a given position, with right and up vectors, a specific colour, and a text string of course. </td><td> </td></tr> |
| <tr><td>[[Function:ns2vtext | ns2vtext]]</td><td>Draw text at a given position, with right and up vectors, a specific colour, and a text string of course - vector input. </td><td> </td></tr> | | <tr><td>[[Function:ns2vtext | ns2vtext]]</td><td>Draw text at a given position, with right and up vectors, a specific colour, and a text string of course - vector input. </td><td> </td></tr> |
Line 166: |
Line 182: |
| <tr><td>[[Function:ns2thpoint | ns2thpoint]]</td><td>Draw a thick point at given position, in colour and thickness in pixels (not world coords). </td><td> </td></tr> | | <tr><td>[[Function:ns2thpoint | ns2thpoint]]</td><td>Draw a thick point at given position, in colour and thickness in pixels (not world coords). </td><td> </td></tr> |
| <tr><td>[[Function:ns2vthpoint | ns2vthpoint]]</td><td>Draw a thick point at given position, in colour and thickness in pixels (not world coords) - vector input. </td><td> </td></tr> | | <tr><td>[[Function:ns2vthpoint | ns2vthpoint]]</td><td>Draw a thick point at given position, in colour and thickness in pixels (not world coords) - vector input. </td><td> </td></tr> |
| + | <tr><td>[[Function:ns2vpa | ns2vpa]]</td><td>Draw a thick transparent point. </td><td> </td></tr> |
| <tr><td>[[Function:ns2i | ns2i]]</td><td>Illumination. </td><td> </td></tr> | | <tr><td>[[Function:ns2i | ns2i]]</td><td>Illumination. </td><td> </td></tr> |
| <tr><td>[[Function:ns2vi | ns2vi]]</td><td>Illumination - vector input. </td><td> </td></tr> | | <tr><td>[[Function:ns2vi | ns2vi]]</td><td>Illumination - vector input. </td><td> </td></tr> |
Line 172: |
Line 189: |
| <tr><td>[[Function:ns2thline | ns2thline]]</td><td>Draw a thick line from one point to another in a specific colour. </td><td> </td></tr> | | <tr><td>[[Function:ns2thline | ns2thline]]</td><td>Draw a thick line from one point to another in a specific colour. </td><td> </td></tr> |
| <tr><td>[[Function:ns2vthline | ns2vthline]]</td><td>Draw a thick line from one point to another in a specific colour - vector input. </td><td> </td></tr> | | <tr><td>[[Function:ns2vthline | ns2vthline]]</td><td>Draw a thick line from one point to another in a specific colour - vector input. </td><td> </td></tr> |
| + | <tr><td>[[Function:ns2thwcube |ns2thwcube ]]</td><td>Draw a wireframe cube.</td/><td></td></tr> |
| + | <tr><td>[[Function:ns2vthwcube |ns2vthwcube ]]</td><td>Draw a wireframe cube - vector input.</td/><td></td></tr> |
| <tr><td>[[Function:ns2cline | ns2cline]]</td><td>Draw a coloured line, with colour blended between the two given colours along the line. </td><td> </td></tr> | | <tr><td>[[Function:ns2cline | ns2cline]]</td><td>Draw a coloured line, with colour blended between the two given colours along the line. </td><td> </td></tr> |
| <tr><td>[[Function:ns2vcline | ns2vcline]]</td><td>Draw a coloured line, with colour blended between the two given colours along the line - vector input. </td><td> </td></tr> | | <tr><td>[[Function:ns2vcline | ns2vcline]]</td><td>Draw a coloured line, with colour blended between the two given colours along the line - vector input. </td><td> </td></tr> |
| + | <tr><td>[[Function:ns2thcline |ns2thcline ]]</td><td>Draw a thick coloured line.</td/><td></td></tr> |
| + | <tr><td>[[Function:ns2vthcline |ns2vthcline ]]</td><td>Draw a thick coloured line - vector input.</td/><td></td></tr> |
| <tr><td>[[Function:ns2vf3 | ns2vf3]]</td><td>3-vertex facet with single colour and automatic normals. </td><td> </td></tr> | | <tr><td>[[Function:ns2vf3 | ns2vf3]]</td><td>3-vertex facet with single colour and automatic normals. </td><td> </td></tr> |
| <tr><td>[[Function:ns2vf3a | ns2vf3a]]</td><td>3-vertex facet with transparency </td><td> </td></tr> | | <tr><td>[[Function:ns2vf3a | ns2vf3a]]</td><td>3-vertex facet with transparency </td><td> </td></tr> |
Line 179: |
Line 200: |
| <tr><td>[[Function:ns2vf3c | ns2vf3c]]</td><td>3-vertex facet with coloured vertices and autmoatic normals. </td><td> </td></tr> | | <tr><td>[[Function:ns2vf3c | ns2vf3c]]</td><td>3-vertex facet with coloured vertices and autmoatic normals. </td><td> </td></tr> |
| <tr><td>[[Function:ns2vf3nc | ns2vf3nc]]</td><td>3-vertex facet with coloured vertices and normals given. </td><td> </td></tr> | | <tr><td>[[Function:ns2vf3nc | ns2vf3nc]]</td><td>3-vertex facet with coloured vertices and normals given. </td><td> </td></tr> |
| + | <tr><td>[[Function:ns2vf3na | ns2vf3na]]</td><td>Transparent 3-vertex facet with coloured vertices, normals and alpha given. </td><td> </td></tr> |
| + | <tr><td>[[Function:ns2vf3nca | ns2vf3nca]]</td><td>3-vertex facet with coloured vertices, normals and alpha per vertex given.</td><td> </td></tr> |
| <tr><td>[[Function:ns2vf4 | ns2vf4]]</td><td>4-vertex facet with single colour and automatic normals. </td><td> </td></tr> | | <tr><td>[[Function:ns2vf4 | ns2vf4]]</td><td>4-vertex facet with single colour and automatic normals. </td><td> </td></tr> |
| <tr><td>[[Function:ns2vf4n | ns2vf4n]]</td><td>4-vertex facet with single colour and normals given. </td><td> </td></tr> | | <tr><td>[[Function:ns2vf4n | ns2vf4n]]</td><td>4-vertex facet with single colour and normals given. </td><td> </td></tr> |
Line 186: |
Line 209: |
| <tr><td>[[Function:ns2vf4x | ns2vf4x]]</td><td>Draw a textured 4-vertex facet using a texture id. </td><td> </td></tr> | | <tr><td>[[Function:ns2vf4x | ns2vf4x]]</td><td>Draw a textured 4-vertex facet using a texture id. </td><td> </td></tr> |
| <tr><td>[[Function:ns2vf4xt | ns2vf4xt]]</td><td>Draw a textured 4-vertex facet with alpha channel using a texture id. </td><td> </td></tr> | | <tr><td>[[Function:ns2vf4xt | ns2vf4xt]]</td><td>Draw a textured 4-vertex facet with alpha channel using a texture id. </td><td> </td></tr> |
| + | <tr><td>[[Function:ns2scube |ns2scube ]]</td><td>Draw a solid cube.</td/><td></td></tr> |
| + | <tr><td>[[Function:ns2vscube |ns2vscube ]]</td><td>Draw a solid cube - vector input.</td/><td></td></tr> |
| <tr><td>[[Function:ns2m | ns2m]]</td><td>Draw a marker </td><td> </td></tr> | | <tr><td>[[Function:ns2m | ns2m]]</td><td>Draw a marker </td><td> </td></tr> |
| <tr><td>[[Function:ns2vm | ns2vm]]</td><td>Draw a marker - vector input </td><td> </td></tr> | | <tr><td>[[Function:ns2vm | ns2vm]]</td><td>Draw a marker - vector input </td><td> </td></tr> |
Line 195: |
Line 220: |
| <tr><td>[[Function:ds2bb | ds2bb]]</td><td>Draw a (dynamic) billboard: a textured facet that always faces the camera </td><td> </td></tr> | | <tr><td>[[Function:ds2bb | ds2bb]]</td><td>Draw a (dynamic) billboard: a textured facet that always faces the camera </td><td> </td></tr> |
| <tr><td>[[Function:ds2vbb | ds2vbb]]</td><td>Draw a (dynamic) billboard: a textured facet that always faces the camera - vector input </td><td> </td></tr> | | <tr><td>[[Function:ds2vbb | ds2vbb]]</td><td>Draw a (dynamic) billboard: a textured facet that always faces the camera - vector input </td><td> </td></tr> |
| + | <tr><td>[[Function:ds2vbbr | ds2vbbr]]</td><td>Draw a (dynamic) billboard texture with specified rotation</td><td> </td></tr> |
| + | <tr><td>[[Function:ds2vbbp |ds2vbbp ]]</td><td>Draw a "billboard" with aspect ratio - vector input.</td/><td></td></tr> |
| + | <tr><td>[[Function:ds2vbbpr |ds2vbbpr ]]</td><td>Billboard with aspect ratio, offset in screen coords, and rotation of texture - vector input.</td/><td></td></tr> |
| <tr><td>[[Function:ds2tb | ds2tb]]</td><td>Draw text that always faces the camera </td><td> </td></tr> | | <tr><td>[[Function:ds2tb | ds2tb]]</td><td>Draw text that always faces the camera </td><td> </td></tr> |
| <tr><td>[[Function:ds2vtb | ds2vtb]]</td><td>Draw text that always faces the camera - vector input </td><td> </td></tr> | | <tr><td>[[Function:ds2vtb | ds2vtb]]</td><td>Draw text that always faces the camera - vector input </td><td> </td></tr> |
| + | <tr><td>[[Function:ds2protect | ds2protect]]</td><td>Protect dynamic geometry </td><td> </td></tr> |
| + | <tr><td>[[Function:ds2unprotect | ds2unprotect]]</td><td>Unprotect dynamic geometry </td><td> </td></tr> |
| + | <tr><td>[[Function:ds2isprotected | ds2isprotected]]</td><td>Query state of dynamic geometry protection</td><td> </td></tr> |
| </table> | | </table> |
| | | |
Line 209: |
Line 240: |
| <tr><td>[[Function:cs2sncb | cs2sncb]]</td><td>Set the function to call when number-keys pressed. </td><td> </td></tr> | | <tr><td>[[Function:cs2sncb | cs2sncb]]</td><td>Set the function to call when number-keys pressed. </td><td> </td></tr> |
| <tr><td>[[Function:cs2socb | cs2socb]]</td><td>Register function that will draw direct OpenGL graphics when called. </td><td> </td></tr> | | <tr><td>[[Function:cs2socb | cs2socb]]</td><td>Register function that will draw direct OpenGL graphics when called. </td><td> </td></tr> |
| + | <tr><td>[[Function:cs2srcb |cs2srcb ]]</td><td>Register when remote control data is received.</td/><td></td></tr> |
| <tr><td>[[Function:cs2shcb | cs2shcb]]</td><td>Set the handle callback function for when a handle is (de)selected </td><td> </td></tr> | | <tr><td>[[Function:cs2shcb | cs2shcb]]</td><td>Set the handle callback function for when a handle is (de)selected </td><td> </td></tr> |
- | <tr><td>[[Function:cs2dhcb | cs2dhcb]]</td><td>Set the handle dragging callback</td><td> </td></tr> | + | <tr><td>[[Function:cs2sdhcb | cs2sdhcb]]</td><td>Set the handle dragging callback</td><td> </td></tr> |
| <tr><td>[[Function:cs2skcb | cs2skcb]]</td><td>Set the keyboard callback</td><td> </td></tr> | | <tr><td>[[Function:cs2skcb | cs2skcb]]</td><td>Set the keyboard callback</td><td> </td></tr> |
| <tr><td>[[Function:cs2spcb | cs2spcb]]</td><td>Set the user prompt callback</td><td> </td></tr> | | <tr><td>[[Function:cs2spcb | cs2spcb]]</td><td>Set the user prompt callback</td><td> </td></tr> |
| + | <tr><td>[[Function:cs2sptxy |cs2sptxy ]]</td><td>Set the text and position of a prompt.</td/><td></td></tr> |
| <tr><td>[[Function:ds2ah | ds2ah]]</td><td>Add a handle to allow interactive picking of objects </td><td> </td></tr> | | <tr><td>[[Function:ds2ah | ds2ah]]</td><td>Add a handle to allow interactive picking of objects </td><td> </td></tr> |
| + | <tr><td>[[Function:ds2ahx | ds2ahx]]</td><td>Add a handle with a specified texture</td><td> </td></tr> |
| <tr><td>[[Function:cs2th | cs2th]]</td><td>Toggle the state of a named (dynamic) handle </td><td> </td></tr> | | <tr><td>[[Function:cs2th | cs2th]]</td><td>Toggle the state of a named (dynamic) handle </td><td> </td></tr> |
| <tr><td>[[Function:cs2thv | cs2thv]]</td><td>Toggle the current state of selection handles </td><td> | | <tr><td>[[Function:cs2thv | cs2thv]]</td><td>Toggle the current state of selection handles </td><td> |
Line 230: |
Line 264: |
| <tr><td>[[Function:xs2qpa | xs2qpa]]</td><td>Query whether identified panel is active</td><td> </td></tr> | | <tr><td>[[Function:xs2qpa | xs2qpa]]</td><td>Query whether identified panel is active</td><td> </td></tr> |
| <tr><td>[[Function:xs2qsp | xs2qsp]]</td><td>Query currently selected panel</td><td> </td></tr> | | <tr><td>[[Function:xs2qsp | xs2qsp]]</td><td>Query currently selected panel</td><td> </td></tr> |
| + | <tr><td>[[Function:xs2spp | xs2spp]]</td><td>Set panel frame properties.</td/><td></td></tr> |
| <tr><td>[[Function:ss2qsd | ss2qsd]]</td><td>Query screen panel dimensions</td><td> </td></tr> | | <tr><td>[[Function:ss2qsd | ss2qsd]]</td><td>Query screen panel dimensions</td><td> </td></tr> |
| </table> | | </table> |
Line 240: |
Line 275: |
| <tr><td>[[Function:ss2ct | ss2ct]]</td><td>Create a texture with specified width and height</td><td></td></tr> | | <tr><td>[[Function:ss2ct | ss2ct]]</td><td>Create a texture with specified width and height</td><td></td></tr> |
| <tr><td>[[Function:ss2pt | ss2pt]]</td><td>Reinstall a texture. </td><td> </td></tr> | | <tr><td>[[Function:ss2pt | ss2pt]]</td><td>Reinstall a texture. </td><td> </td></tr> |
- | <tr><td>[[Function:ss2spt | ss2spt]]</td><td>Set the projection type of the device in use</td><td> </td></tr> | |
| <tr><td>[[Function:ss2ctt | ss2ctt]]</td><td>Create a transient texture map</td><td> </td></tr> | | <tr><td>[[Function:ss2ctt | ss2ctt]]</td><td>Create a transient texture map</td><td> </td></tr> |
| <tr><td>[[Function:ss2ptt | ss2ptt]]</td><td>Reinstall a transient texture map</td><td> </td></tr> | | <tr><td>[[Function:ss2ptt | ss2ptt]]</td><td>Reinstall a transient texture map</td><td> </td></tr> |
| <tr><td>[[Function:ss2dt | ss2dt]]</td><td>Delete a texture </td><td> </td></tr> | | <tr><td>[[Function:ss2dt | ss2dt]]</td><td>Delete a texture </td><td> </td></tr> |
| <tr><td>[[Function:ss2lcm | ss2lcm]]</td><td>Load a colourmap into memory. </td><td> </td></tr> | | <tr><td>[[Function:ss2lcm | ss2lcm]]</td><td>Load a colourmap into memory. </td><td> </td></tr> |
- | <tr><td>[[Function:s2latexture | s2latexture]]</td><td>Create a texture with LATEX commands. </td><td> </td></tr> | + | <tr><td>[[Function:ss2ltt | ss2ltt]]</td><td>Create a texture with LATEX commands. </td><td> </td></tr> |
| + | <tr><td>[[Function:ss2ftt | ss2ftt]] </td><td>Use a named freetype font to create a texture map.</td><td></td></tr> |
| + | <tr><td>[[Function:ns2texpoly3d | ns2texpoly3d]] </td><td>Draw a 3d texture.</td><td></td></tr> |
| + | <tr><td>[[Function:ss2c3dt | ss2c3dt]] </td><td>Create an empty 3d texture.</td><td></td></tr> |
| + | <tr><td>[[Function:ss2g3dt | ss2g3dt]] </td><td>Fetch pointer to 3d texture.</td><td></td></tr> |
| </table> | | </table> |
| | | |
Line 262: |
Line 300: |
| <tr><td>[[Function:ss2sfra | ss2sfra]]</td><td>Set the fisheye rotation angle (degrees). </td><td> </td></tr> | | <tr><td>[[Function:ss2sfra | ss2sfra]]</td><td>Set the fisheye rotation angle (degrees). </td><td> </td></tr> |
| <tr><td>[[Function:ss2qfra | ss2qfra]]</td><td>Query fisheye rotation angle</td><td> </td></tr> | | <tr><td>[[Function:ss2qfra | ss2qfra]]</td><td>Query fisheye rotation angle</td><td> </td></tr> |
| + | <tr><td>[[Function:ss2spt | ss2spt]]</td><td>Set the projection type of the device in use</td><td> </td></tr> |
| <tr><td>[[Function:ss2qpt | ss2qpt]]</td><td>Fetch the projection type of the device in use. </td><td> </td></tr> | | <tr><td>[[Function:ss2qpt | ss2qpt]]</td><td>Fetch the projection type of the device in use. </td><td> </td></tr> |
| <tr><td>[[Function:ss2qsa | ss2qsa]]</td><td>Query the screen type and settings</td><td> </td></tr> | | <tr><td>[[Function:ss2qsa | ss2qsa]]</td><td>Query the screen type and settings</td><td> </td></tr> |
| <tr><td>[[Function:ss2qar | ss2qar]]</td><td>Query the aspect ratio</td><td> </td></tr> | | <tr><td>[[Function:ss2qar | ss2qar]]</td><td>Query the aspect ratio</td><td> </td></tr> |
| + | <tr><td>[[Function:ss2snfe | ss2snfe]]</td><td>Set the clipping plane expansion factor</td><td> </td></tr> |
| + | <tr><td>[[Function:ss2qnfp | ss2qnfp]]</td><td>Query the near and far clip plane distances</td><td> </td></tr> |
| </table> | | </table> |
| | | |
Line 272: |
Line 313: |
| <tr><td>[[Function:ss2sc | ss2sc]]</td><td>Set the camera position, up vector and view direction. </td><td> </td></tr> | | <tr><td>[[Function:ss2sc | ss2sc]]</td><td>Set the camera position, up vector and view direction. </td><td> </td></tr> |
| <tr><td>[[Function:ss2qc | ss2qc]]</td><td>Query the camera position, up vector and view direction. </td><td> </td></tr> | | <tr><td>[[Function:ss2qc | ss2qc]]</td><td>Query the camera position, up vector and view direction. </td><td> </td></tr> |
| + | <tr><td>[[Function:ss2scaf | ss2scaf]]</td><td>Set the camera position, up vector, view direction and rotate point. </td><td> </td></tr> |
| <tr><td>[[Function:ss2sas | ss2sas]]</td><td>Start/Stop the camera rotation. </td><td> </td></tr> | | <tr><td>[[Function:ss2sas | ss2sas]]</td><td>Start/Stop the camera rotation. </td><td> </td></tr> |
| <tr><td>[[Function:ss2qas | ss2qas]]</td><td>Query the autospin state</td><td> </td></tr> | | <tr><td>[[Function:ss2qas | ss2qas]]</td><td>Query the autospin state</td><td> </td></tr> |
| <tr><td>[[Function:ss2scf | ss2scf]]</td><td>Set the camera mid/focus point. </td><td> </td></tr> | | <tr><td>[[Function:ss2scf | ss2scf]]</td><td>Set the camera mid/focus point. </td><td> </td></tr> |
| + | <tr><td>[[Function:ss2qcf | ss2qcf]]</td><td>Query camera focus point and state</td><td> </td></tr> |
| + | <tr><td>[[Function:ss2qpr | ss2qpr]]</td><td>Query point to rotate camera about. </td><td> </td></tr> |
| <tr><td>[[Function:ss2ucf | ss2ucf]]</td><td>Unset the camera mid/focus point - revert to auto mid-point. </td><td> </td></tr> | | <tr><td>[[Function:ss2ucf | ss2ucf]]</td><td>Unset the camera mid/focus point - revert to auto mid-point. </td><td> </td></tr> |
| + | <tr><td>[[Function:ss2sca |ss2sca ]]</td><td>Set the camera aperture.</td/><td></td></tr> |
| + | <tr><td>[[Function:ss2qca |ss2qca ]]</td><td>Query the camera aperture.</td/><td></td></tr> |
| <tr><td>[[Function:ss2tc | ss2tc]]</td><td>Enable/disable (1,0) camera translation. </td><td> </td></tr> | | <tr><td>[[Function:ss2tc | ss2tc]]</td><td>Enable/disable (1,0) camera translation. </td><td> </td></tr> |
| <tr><td>[[Function:ss2sss | ss2sss]]</td><td>Set the spin / interaction speed </td><td> </td></tr> | | <tr><td>[[Function:ss2sss | ss2sss]]</td><td>Set the spin / interaction speed </td><td> </td></tr> |
| <tr><td>[[Function:ss2qss | ss2qss]]</td><td>Get the spin / interaction speed </td><td> </td></tr> | | <tr><td>[[Function:ss2qss | ss2qss]]</td><td>Get the spin / interaction speed </td><td> </td></tr> |
| + | <tr><td>[[Function:ss2scs |ss2scs ]]</td><td>Set the camera speed.</td/><td></td></tr> |
| + | <tr><td>[[Function:ss2qcs |ss2qcs ]]</td><td>Query the camera speed.</td/><td></td></tr> |
| <tr><td>[[Function:ss2qess | ss2qess]]</td><td>Get the eye separation multiplier</td><td> </td></tr> | | <tr><td>[[Function:ss2qess | ss2qess]]</td><td>Get the eye separation multiplier</td><td> </td></tr> |
| <tr><td>[[Function:ss2sess | ss2sess]]</td><td>Set the eye separation multiplier </td><td> </td></tr> | | <tr><td>[[Function:ss2sess | ss2sess]]</td><td>Set the eye separation multiplier </td><td> </td></tr> |
| </table> | | </table> |
- | | |
- | | |
| | | |
| ==Image Writing/Fetching == | | ==Image Writing/Fetching == |
Line 296: |
Line 342: |
| <tr><th width=15%>S2PLOT</th><th width=*>Description</th><th width=15%>PGPLOT</th></tr> | | <tr><th width=15%>S2PLOT</th><th width=*>Description</th><th width=15%>PGPLOT</th></tr> |
| <tr><td>[[Function:s2iden | s2iden]]</td><td>Write username, date, time and optional string at bottom of plot. </td><td>[http://www.astro.caltech.edu/~tjp/pgplot/subroutines.html#PGIDEN PGIDEN]</td></tr> | | <tr><td>[[Function:s2iden | s2iden]]</td><td>Write username, date, time and optional string at bottom of plot. </td><td>[http://www.astro.caltech.edu/~tjp/pgplot/subroutines.html#PGIDEN PGIDEN]</td></tr> |
| + | <tr><td>[[Function:pushVRMLname | pushVRMLname]] </td><td>Push the given name onto the VRML name stack.</td><td></td></tr> |
| </table> | | </table> |
| | | |
For function names from earlier releases of S2PLOT that have been deprecated, see here.