GRASS GIS 7 Programmer's Manual  7.5.svn(2017)-r71933
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
gsx.c File Reference

OGSF library - loading and manipulating surfaces. More...

#include <grass/ogsf.h>
Include dependency graph for gsx.c:

Go to the source code of this file.

Functions

int GS_check_cancel (void)
 Check for cancel. More...
 
void GS_set_cancel (int c)
 Set cancel. More...
 
void GS_set_cxl_func (void(*f)(void))
 Set cxl function. More...
 
void GS_set_swap_func (void(*f)(void))
 Set swap function. More...
 

Variables

void(* Cxl_func )()
 
void(* Swap_func )()
 

Detailed Description

OGSF library - loading and manipulating surfaces.

GRASS OpenGL gsurf OGSF Library

(C) 1999-2008 by the GRASS Development Team

This program is free software under the GNU General Public License (>=v2). Read the file COPYING that comes with GRASS for details.

Author
Bill Brown USACERL (December 1993)
Doxygenized by Martin Landa <landa.martin gmail.com> (May 2008)

Definition in file gsx.c.

Function Documentation

int GS_check_cancel ( void  )

Check for cancel.

Returns
code

Definition at line 31 of file gsx.c.

References Cxl_func.

Referenced by gpd_2dsite(), gpd_3dsite(), gsd_norm_arrows(), gsd_ortho_wall(), gsd_surf_const(), gsd_surf_map(), gsd_surf_map_old(), gvd_vect(), and gvld_isosurf().

void GS_set_cancel ( int  c)

Set cancel.

Definition at line 41 of file gsx.c.

void GS_set_cxl_func ( void(*)(void)  f)

Set cxl function.

Parameters
pointerto function

Definition at line 53 of file gsx.c.

References Cxl_func.

void GS_set_swap_func ( void(*)(void)  f)

Set swap function.

Parameters
pointerto function

Definition at line 65 of file gsx.c.

References Swap_func.

Variable Documentation

void(* Cxl_func)()

Definition at line 21 of file gsx.c.

Referenced by GS_check_cancel(), GS_libinit(), and GS_set_cxl_func().

void(* Swap_func)()

Definition at line 22 of file gsx.c.

Referenced by GS_libinit(), GS_set_swap_func(), and gsd_swapbuffers().