GRASS GIS 8 Programmer's Manual  8.5.0dev(2024)-36359e2344
ogsf.h File Reference
#include <grass/config.h>
#include <grass/bitmap.h>
#include <GL/gl.h>
#include <grass/gis.h>
#include <grass/defs/ogsf.h>
Include dependency graph for ogsf.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  typbuff
 
struct  table256
 
struct  transform
 
struct  dataset
 
struct  gsurf_att
 
struct  g_surf
 
struct  g_vect_style
 
struct  g_vect_style_thematic
 
struct  g_line
 
struct  g_vect
 
struct  g_point
 
struct  g_site
 
struct  geovol_file
 
struct  geovol_isosurf_att
 
struct  geovol_isosurf
 
struct  geovol_slice
 
struct  g_vol
 
struct  lightdefs
 
struct  georot
 
struct  geoview
 
struct  geodisplay
 
struct  view_node
 
struct  key_node
 

Macros

#define GS_UNIT_SIZE   1000.
 
#define BETWEEN(x, a, b)   (((x) > (a) && (x) < (b)) || ((x) > (b) && (x) < (a)))
 
#define GS_NEAR_EQUAL(x, y, ratio)
 
#define MAX_SURFS   12
 
#define MAX_VECTS   50
 
#define MAX_SITES   50
 
#define MAX_VOLS   12 /* should match MAX_VOL_FILES below ? */
 
#define MAX_DSP   12
 
#define MAX_ATTS   7
 
#define MAX_LIGHTS   3
 
#define MAX_CPLANES   6
 
#define MAX_ISOSURFS   12
 
#define MAX_SLICES   12
 
#define MAX_VOL_SLICES   4
 
#define MAX_VOL_FILES   100
 
#define DM_GOURAUD   0x00000100
 
#define DM_FLAT   0x00000200 /* defined for symmetry */
 
#define DM_FRINGE   0x00000010
 
#define DM_WIRE   0x00000001
 
#define DM_COL_WIRE   0x00000002
 
#define DM_POLY   0x00000004
 
#define DM_WIRE_POLY   0x00000008
 
#define DM_GRID_WIRE   0x00000400
 
#define DM_GRID_SURF   0x00000800
 
#define WC_COLOR_ATT   0xFF000000
 
#define IFLAG   unsigned int
 
#define ATT_NORM   0 /* library use only */
 
#define ATT_TOPO   1
 
#define ATT_COLOR   2
 
#define ATT_MASK   3
 
#define ATT_TRANSP   4
 
#define ATT_SHINE   5
 
#define ATT_EMIT   6
 
#define LEGAL_ATT(a)   (a >= 0 && a < MAX_ATTS)
 
#define NOTSET_ATT   0
 
#define MAP_ATT   1
 
#define CONST_ATT   2
 
#define FUNC_ATT   3
 
#define LEGAL_SRC(s)    (s == NOTSET_ATT || s == MAP_ATT || s == CONST_ATT || s == FUNC_ATT)
 
#define ST_X   1
 
#define ST_BOX   2
 
#define ST_SPHERE   3
 
#define ST_CUBE   4
 
#define ST_DIAMOND   5
 
#define ST_DEC_TREE   6
 
#define ST_CON_TREE   7
 
#define ST_ASTER   8
 
#define ST_GYRO   9
 
#define ST_HISTOGRAM   10
 
#define GSD_FRONT   1
 
#define GSD_BACK   2
 
#define GSD_BOTH   3
 
#define FC_OFF   0
 
#define FC_ABOVE   1
 
#define FC_BELOW   2
 
#define FC_BLEND   3
 
#define FC_GREY   4
 
#define LT_DISCRETE   0x00000100
 
#define LT_CONTINUOUS   0x00000200
 
#define LT_LIST   0x00000010
 
#define LT_RANGE_LOWSET   0x00000001
 
#define LT_RANGE_HISET   0x00000002
 
#define LT_RANGE_LOW_HI   0x00000003
 
#define LT_INVERTED   0x00000008
 
#define LT_SHOW_VALS   0x00001000
 
#define LT_SHOW_LABELS   0x00002000
 
#define VOL_FTYPE_RASTER3D   0
 
#define VOL_DTYPE_FLOAT   0
 
#define VOL_DTYPE_DOUBLE   1
 
#define X   0
 
#define Y   1
 
#define Z   2
 
#define W   3
 
#define FROM   0
 
#define TO   1
 
#define CM_COLOR   0
 
#define CM_EMISSION   1
 
#define CM_AMBIENT   2
 
#define CM_DIFFUSE   3
 
#define CM_SPECULAR   4
 
#define CM_AD   5
 
#define CM_NULL   6
 
#define CM_WIRE   CM_COLOR
 
#define NULL_COLOR   0xFFFFFF
 
#define GS_CHAR8   char
 
#define GS_SHORT16   short
 
#define GS_INT32   int
 
#define ATTY_NULL   32 /* internal use only */
 
#define ATTY_MASK   16 /* can't use this one for numbytes */
 
#define ATTY_FLOAT   8 /* can't use this one for numbytes */
 
#define ATTY_INT   4
 
#define ATTY_SHORT   2
 
#define ATTY_CHAR   1
 
#define ATTY_ANY   63 /* internal use only */
 
#define LEGAL_TYPE(t)
 
#define MAXDIMS   4
 
#define FUDGE(gs)   ((gs->zmax_nz - gs->zmin_nz) / 500.)
 
#define DOT3(a, b)   ((a)[X] * (b)[X] + (a)[Y] * (b)[Y] + (a)[Z] * (b)[Z])
 
#define CF_NOT_CHANGED   0x000000
 
#define CF_COLOR_PACKED   0x000001
 
#define CF_USR_CHANGED   0x000010
 
#define CF_CHARSCALED   0x000100
 
#define MAX_TF   6
 
#define MASK_TL   0x10000000
 
#define MASK_TR   0x01000000
 
#define MASK_BR   0x00100000
 
#define MASK_BL   0x00010000
 
#define MASK_NPTS   0x00000007
 
#define OGSF_POINT   1
 
#define OGSF_LINE   2
 
#define OGSF_POLYGON   3
 
#define RED_MASK   0x000000FF
 
#define GRN_MASK   0x0000FF00
 
#define BLU_MASK   0x00FF0000
 
#define KF_FROMX_MASK   0x00000001
 
#define KF_FROMY_MASK   0x00000002
 
#define KF_FROMZ_MASK   0x00000004
 
#define KF_FROM_MASK   0x00000007
 
#define KF_DIRX_MASK   0x00000008
 
#define KF_DIRY_MASK   0x00000010
 
#define KF_DIRZ_MASK   0x00000020
 
#define KF_DIR_MASK   0x00000038
 
#define KF_FOV_MASK   0x00000040
 
#define KF_TWIST_MASK   0x00000080
 
#define KF_ALL_MASK   0x000000FF
 
#define KF_NUMFIELDS   8
 
#define KF_LINEAR   111
 
#define KF_SPLINE   222
 
#define KF_LEGAL_MODE(m)   (m == KF_LINEAR || m == KF_SPLINE)
 
#define KF_FROMX   0
 
#define KF_FROMY   1
 
#define KF_FROMZ   2
 
#define KF_DIRX   3
 
#define KF_DIRY   4
 
#define KF_DIRZ   5
 
#define KF_FOV   6
 
#define KF_TWIST   7
 
#define FM_VECT   0x00000001
 
#define FM_SITE   0x00000002
 
#define FM_PATH   0x00000004
 
#define FM_VOL   0x00000008
 
#define FM_LABEL   0x00000010
 

Typedefs

typedef float Point4[4]
 
typedef float Point3[3]
 
typedef float Point2[2]
 
typedef struct g_surf geosurf
 
typedef struct g_vect_style gvstyle
 
typedef struct g_vect_style_thematic gvstyle_thematic
 
typedef struct g_line geoline
 
typedef struct g_vect geovect
 
typedef struct g_point geopoint
 
typedef struct g_site geosite
 
typedef struct g_vol geovol
 
typedef struct view_node Viewnode
 
typedef struct key_node Keylist
 

Variables

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

Macro Definition Documentation

◆ ATT_COLOR

#define ATT_COLOR   2

Definition at line 76 of file ogsf.h.

◆ ATT_EMIT

#define ATT_EMIT   6

Definition at line 80 of file ogsf.h.

◆ ATT_MASK

#define ATT_MASK   3

Definition at line 77 of file ogsf.h.

◆ ATT_NORM

#define ATT_NORM   0 /* library use only */

Definition at line 74 of file ogsf.h.

◆ ATT_SHINE

#define ATT_SHINE   5

Definition at line 79 of file ogsf.h.

◆ ATT_TOPO

#define ATT_TOPO   1

Definition at line 75 of file ogsf.h.

◆ ATT_TRANSP

#define ATT_TRANSP   4

Definition at line 78 of file ogsf.h.

◆ ATTY_ANY

#define ATTY_ANY   63 /* internal use only */

Definition at line 172 of file ogsf.h.

◆ ATTY_CHAR

#define ATTY_CHAR   1

Definition at line 171 of file ogsf.h.

◆ ATTY_FLOAT

#define ATTY_FLOAT   8 /* can't use this one for numbytes */

Definition at line 168 of file ogsf.h.

◆ ATTY_INT

#define ATTY_INT   4

Definition at line 169 of file ogsf.h.

◆ ATTY_MASK

#define ATTY_MASK   16 /* can't use this one for numbytes */

Definition at line 167 of file ogsf.h.

◆ ATTY_NULL

#define ATTY_NULL   32 /* internal use only */

Definition at line 166 of file ogsf.h.

◆ ATTY_SHORT

#define ATTY_SHORT   2

Definition at line 170 of file ogsf.h.

◆ BETWEEN

#define BETWEEN (   x,
  a,
  b 
)    (((x) > (a) && (x) < (b)) || ((x) > (b) && (x) < (a)))

Definition at line 33 of file ogsf.h.

◆ BLU_MASK

#define BLU_MASK   0x00FF0000

Definition at line 202 of file ogsf.h.

◆ CF_CHARSCALED

#define CF_CHARSCALED   0x000100

Definition at line 186 of file ogsf.h.

◆ CF_COLOR_PACKED

#define CF_COLOR_PACKED   0x000001

Definition at line 184 of file ogsf.h.

◆ CF_NOT_CHANGED

#define CF_NOT_CHANGED   0x000000

Definition at line 183 of file ogsf.h.

◆ CF_USR_CHANGED

#define CF_USR_CHANGED   0x000010

Definition at line 185 of file ogsf.h.

◆ CM_AD

#define CM_AD   5

Definition at line 153 of file ogsf.h.

◆ CM_AMBIENT

#define CM_AMBIENT   2

Definition at line 150 of file ogsf.h.

◆ CM_COLOR

#define CM_COLOR   0

Definition at line 148 of file ogsf.h.

◆ CM_DIFFUSE

#define CM_DIFFUSE   3

Definition at line 151 of file ogsf.h.

◆ CM_EMISSION

#define CM_EMISSION   1

Definition at line 149 of file ogsf.h.

◆ CM_NULL

#define CM_NULL   6

Definition at line 154 of file ogsf.h.

◆ CM_SPECULAR

#define CM_SPECULAR   4

Definition at line 152 of file ogsf.h.

◆ CM_WIRE

#define CM_WIRE   CM_COLOR

Definition at line 156 of file ogsf.h.

◆ CONST_ATT

#define CONST_ATT   2

Definition at line 86 of file ogsf.h.

◆ DM_COL_WIRE

#define DM_COL_WIRE   0x00000002

Definition at line 62 of file ogsf.h.

◆ DM_FLAT

#define DM_FLAT   0x00000200 /* defined for symmetry */

Definition at line 57 of file ogsf.h.

◆ DM_FRINGE

#define DM_FRINGE   0x00000010

Definition at line 59 of file ogsf.h.

◆ DM_GOURAUD

#define DM_GOURAUD   0x00000100

Definition at line 56 of file ogsf.h.

◆ DM_GRID_SURF

#define DM_GRID_SURF   0x00000800

Definition at line 67 of file ogsf.h.

◆ DM_GRID_WIRE

#define DM_GRID_WIRE   0x00000400

Definition at line 66 of file ogsf.h.

◆ DM_POLY

#define DM_POLY   0x00000004

Definition at line 63 of file ogsf.h.

◆ DM_WIRE

#define DM_WIRE   0x00000001

Definition at line 61 of file ogsf.h.

◆ DM_WIRE_POLY

#define DM_WIRE_POLY   0x00000008

Definition at line 64 of file ogsf.h.

◆ DOT3

#define DOT3 (   a,
  b 
)    ((a)[X] * (b)[X] + (a)[Y] * (b)[Y] + (a)[Z] * (b)[Z])

Definition at line 180 of file ogsf.h.

◆ FC_ABOVE

#define FC_ABOVE   1

Definition at line 110 of file ogsf.h.

◆ FC_BELOW

#define FC_BELOW   2

Definition at line 111 of file ogsf.h.

◆ FC_BLEND

#define FC_BLEND   3

Definition at line 112 of file ogsf.h.

◆ FC_GREY

#define FC_GREY   4

Definition at line 113 of file ogsf.h.

◆ FC_OFF

#define FC_OFF   0

Definition at line 109 of file ogsf.h.

◆ FM_LABEL

#define FM_LABEL   0x00000010

Definition at line 525 of file ogsf.h.

◆ FM_PATH

#define FM_PATH   0x00000004

Definition at line 523 of file ogsf.h.

◆ FM_SITE

#define FM_SITE   0x00000002

Definition at line 522 of file ogsf.h.

◆ FM_VECT

#define FM_VECT   0x00000001

Definition at line 521 of file ogsf.h.

◆ FM_VOL

#define FM_VOL   0x00000008

Definition at line 524 of file ogsf.h.

◆ FROM

#define FROM   0

Definition at line 144 of file ogsf.h.

◆ FUDGE

#define FUDGE (   gs)    ((gs->zmax_nz - gs->zmin_nz) / 500.)

Definition at line 179 of file ogsf.h.

◆ FUNC_ATT

#define FUNC_ATT   3

Definition at line 87 of file ogsf.h.

◆ GRN_MASK

#define GRN_MASK   0x0000FF00

Definition at line 201 of file ogsf.h.

◆ GS_CHAR8

#define GS_CHAR8   char

Definition at line 161 of file ogsf.h.

◆ GS_INT32

#define GS_INT32   int

Definition at line 163 of file ogsf.h.

◆ GS_NEAR_EQUAL

#define GS_NEAR_EQUAL (   x,
  y,
  ratio 
)
Value:
((x) == (y) || \
((x) == 0.0 ? GS_BETWEEN((x), (y) + (y) * (ratio), (y) - (y) * (ratio)) \
: GS_BETWEEN((y), (x) + (x) * (ratio), (x) - (x) * (ratio))))
#define x

Definition at line 34 of file ogsf.h.

◆ GS_SHORT16

#define GS_SHORT16   short

Definition at line 162 of file ogsf.h.

◆ GS_UNIT_SIZE

#define GS_UNIT_SIZE   1000.

Definition at line 31 of file ogsf.h.

◆ GSD_BACK

#define GSD_BACK   2

Definition at line 105 of file ogsf.h.

◆ GSD_BOTH

#define GSD_BOTH   3

Definition at line 106 of file ogsf.h.

◆ GSD_FRONT

#define GSD_FRONT   1

Definition at line 104 of file ogsf.h.

◆ IFLAG

#define IFLAG   unsigned int

Definition at line 71 of file ogsf.h.

◆ KF_ALL_MASK

#define KF_ALL_MASK   0x000000FF

Definition at line 504 of file ogsf.h.

◆ KF_DIR_MASK

#define KF_DIR_MASK   0x00000038

Definition at line 499 of file ogsf.h.

◆ KF_DIRX

#define KF_DIRX   3

Definition at line 515 of file ogsf.h.

◆ KF_DIRX_MASK

#define KF_DIRX_MASK   0x00000008

Definition at line 496 of file ogsf.h.

◆ KF_DIRY

#define KF_DIRY   4

Definition at line 516 of file ogsf.h.

◆ KF_DIRY_MASK

#define KF_DIRY_MASK   0x00000010

Definition at line 497 of file ogsf.h.

◆ KF_DIRZ

#define KF_DIRZ   5

Definition at line 517 of file ogsf.h.

◆ KF_DIRZ_MASK

#define KF_DIRZ_MASK   0x00000020

Definition at line 498 of file ogsf.h.

◆ KF_FOV

#define KF_FOV   6

Definition at line 518 of file ogsf.h.

◆ KF_FOV_MASK

#define KF_FOV_MASK   0x00000040

Definition at line 501 of file ogsf.h.

◆ KF_FROM_MASK

#define KF_FROM_MASK   0x00000007

Definition at line 494 of file ogsf.h.

◆ KF_FROMX

#define KF_FROMX   0

Definition at line 512 of file ogsf.h.

◆ KF_FROMX_MASK

#define KF_FROMX_MASK   0x00000001

Definition at line 491 of file ogsf.h.

◆ KF_FROMY

#define KF_FROMY   1

Definition at line 513 of file ogsf.h.

◆ KF_FROMY_MASK

#define KF_FROMY_MASK   0x00000002

Definition at line 492 of file ogsf.h.

◆ KF_FROMZ

#define KF_FROMZ   2

Definition at line 514 of file ogsf.h.

◆ KF_FROMZ_MASK

#define KF_FROMZ_MASK   0x00000004

Definition at line 493 of file ogsf.h.

◆ KF_LEGAL_MODE

#define KF_LEGAL_MODE (   m)    (m == KF_LINEAR || m == KF_SPLINE)

Definition at line 510 of file ogsf.h.

◆ KF_LINEAR

#define KF_LINEAR   111

Definition at line 508 of file ogsf.h.

◆ KF_NUMFIELDS

#define KF_NUMFIELDS   8

Definition at line 506 of file ogsf.h.

◆ KF_SPLINE

#define KF_SPLINE   222

Definition at line 509 of file ogsf.h.

◆ KF_TWIST

#define KF_TWIST   7

Definition at line 519 of file ogsf.h.

◆ KF_TWIST_MASK

#define KF_TWIST_MASK   0x00000080

Definition at line 502 of file ogsf.h.

◆ LEGAL_ATT

#define LEGAL_ATT (   a)    (a >= 0 && a < MAX_ATTS)

Definition at line 81 of file ogsf.h.

◆ LEGAL_SRC

#define LEGAL_SRC (   s)     (s == NOTSET_ATT || s == MAP_ATT || s == CONST_ATT || s == FUNC_ATT)

Definition at line 88 of file ogsf.h.

◆ LEGAL_TYPE

#define LEGAL_TYPE (   t)
Value:
(t == ATTY_MASK || t == ATTY_FLOAT || t == ATTY_INT || t == ATTY_SHORT || \
t == ATTY_CHAR)
#define ATTY_SHORT
Definition: ogsf.h:170
#define ATTY_FLOAT
Definition: ogsf.h:168
#define ATTY_MASK
Definition: ogsf.h:167
#define ATTY_INT
Definition: ogsf.h:169
#define ATTY_CHAR
Definition: ogsf.h:171
double t
Definition: r_raster.c:39

Definition at line 173 of file ogsf.h.

◆ LT_CONTINUOUS

#define LT_CONTINUOUS   0x00000200

Definition at line 117 of file ogsf.h.

◆ LT_DISCRETE

#define LT_DISCRETE   0x00000100

Definition at line 116 of file ogsf.h.

◆ LT_INVERTED

#define LT_INVERTED   0x00000008

Definition at line 125 of file ogsf.h.

◆ LT_LIST

#define LT_LIST   0x00000010

Definition at line 119 of file ogsf.h.

◆ LT_RANGE_HISET

#define LT_RANGE_HISET   0x00000002

Definition at line 123 of file ogsf.h.

◆ LT_RANGE_LOW_HI

#define LT_RANGE_LOW_HI   0x00000003

Definition at line 124 of file ogsf.h.

◆ LT_RANGE_LOWSET

#define LT_RANGE_LOWSET   0x00000001

Definition at line 122 of file ogsf.h.

◆ LT_SHOW_LABELS

#define LT_SHOW_LABELS   0x00002000

Definition at line 128 of file ogsf.h.

◆ LT_SHOW_VALS

#define LT_SHOW_VALS   0x00001000

Definition at line 127 of file ogsf.h.

◆ MAP_ATT

#define MAP_ATT   1

Definition at line 85 of file ogsf.h.

◆ MASK_BL

#define MASK_BL   0x00010000

Definition at line 193 of file ogsf.h.

◆ MASK_BR

#define MASK_BR   0x00100000

Definition at line 192 of file ogsf.h.

◆ MASK_NPTS

#define MASK_NPTS   0x00000007

Definition at line 194 of file ogsf.h.

◆ MASK_TL

#define MASK_TL   0x10000000

Definition at line 190 of file ogsf.h.

◆ MASK_TR

#define MASK_TR   0x01000000

Definition at line 191 of file ogsf.h.

◆ MAX_ATTS

#define MAX_ATTS   7

Definition at line 45 of file ogsf.h.

◆ MAX_CPLANES

#define MAX_CPLANES   6

Definition at line 47 of file ogsf.h.

◆ MAX_DSP

#define MAX_DSP   12

Definition at line 44 of file ogsf.h.

◆ MAX_ISOSURFS

#define MAX_ISOSURFS   12

Definition at line 48 of file ogsf.h.

◆ MAX_LIGHTS

#define MAX_LIGHTS   3

Definition at line 46 of file ogsf.h.

◆ MAX_SITES

#define MAX_SITES   50

Definition at line 42 of file ogsf.h.

◆ MAX_SLICES

#define MAX_SLICES   12

Definition at line 49 of file ogsf.h.

◆ MAX_SURFS

#define MAX_SURFS   12

Definition at line 40 of file ogsf.h.

◆ MAX_TF

#define MAX_TF   6

Definition at line 188 of file ogsf.h.

◆ MAX_VECTS

#define MAX_VECTS   50

Definition at line 41 of file ogsf.h.

◆ MAX_VOL_FILES

#define MAX_VOL_FILES   100

Definition at line 53 of file ogsf.h.

◆ MAX_VOL_SLICES

#define MAX_VOL_SLICES   4

Definition at line 52 of file ogsf.h.

◆ MAX_VOLS

#define MAX_VOLS   12 /* should match MAX_VOL_FILES below ? */

Definition at line 43 of file ogsf.h.

◆ MAXDIMS

#define MAXDIMS   4

Definition at line 177 of file ogsf.h.

◆ NOTSET_ATT

#define NOTSET_ATT   0

Definition at line 84 of file ogsf.h.

◆ NULL_COLOR

#define NULL_COLOR   0xFFFFFF

Definition at line 158 of file ogsf.h.

◆ OGSF_LINE

#define OGSF_LINE   2

Definition at line 197 of file ogsf.h.

◆ OGSF_POINT

#define OGSF_POINT   1

Definition at line 196 of file ogsf.h.

◆ OGSF_POLYGON

#define OGSF_POLYGON   3

Definition at line 198 of file ogsf.h.

◆ RED_MASK

#define RED_MASK   0x000000FF

Definition at line 200 of file ogsf.h.

◆ ST_ASTER

#define ST_ASTER   8

Definition at line 99 of file ogsf.h.

◆ ST_BOX

#define ST_BOX   2

Definition at line 93 of file ogsf.h.

◆ ST_CON_TREE

#define ST_CON_TREE   7

Definition at line 98 of file ogsf.h.

◆ ST_CUBE

#define ST_CUBE   4

Definition at line 95 of file ogsf.h.

◆ ST_DEC_TREE

#define ST_DEC_TREE   6

Definition at line 97 of file ogsf.h.

◆ ST_DIAMOND

#define ST_DIAMOND   5

Definition at line 96 of file ogsf.h.

◆ ST_GYRO

#define ST_GYRO   9

Definition at line 100 of file ogsf.h.

◆ ST_HISTOGRAM

#define ST_HISTOGRAM   10

Definition at line 101 of file ogsf.h.

◆ ST_SPHERE

#define ST_SPHERE   3

Definition at line 94 of file ogsf.h.

◆ ST_X

#define ST_X   1

Definition at line 92 of file ogsf.h.

◆ TO

#define TO   1

Definition at line 145 of file ogsf.h.

◆ VOL_DTYPE_DOUBLE

#define VOL_DTYPE_DOUBLE   1

Definition at line 135 of file ogsf.h.

◆ VOL_DTYPE_FLOAT

#define VOL_DTYPE_FLOAT   0

Definition at line 134 of file ogsf.h.

◆ VOL_FTYPE_RASTER3D

#define VOL_FTYPE_RASTER3D   0

Definition at line 131 of file ogsf.h.

◆ W

#define W   3

Definition at line 143 of file ogsf.h.

◆ WC_COLOR_ATT

#define WC_COLOR_ATT   0xFF000000

Definition at line 69 of file ogsf.h.

◆ X

#define X   0

Definition at line 140 of file ogsf.h.

◆ Y

#define Y   1

Definition at line 141 of file ogsf.h.

◆ Z

#define Z   2

Definition at line 142 of file ogsf.h.

Typedef Documentation

◆ geoline

typedef struct g_line geoline

◆ geopoint

typedef struct g_point geopoint

◆ geosite

typedef struct g_site geosite

◆ geosurf

typedef struct g_surf geosurf

◆ geovect

typedef struct g_vect geovect

◆ geovol

typedef struct g_vol geovol

◆ gvstyle

typedef struct g_vect_style gvstyle

◆ gvstyle_thematic

◆ Keylist

typedef struct key_node Keylist

◆ Point2

typedef float Point2[2]

Definition at line 206 of file ogsf.h.

◆ Point3

typedef float Point3[3]

Definition at line 205 of file ogsf.h.

◆ Point4

typedef float Point4[4]

Definition at line 204 of file ogsf.h.

◆ Viewnode

typedef struct view_node Viewnode

Variable Documentation

◆ Cxl_func

void(* Cxl_func) (void) ( void  )
extern

Definition at line 21 of file gsx.c.

Referenced by GS_check_cancel(), and GS_set_cxl_func().

◆ Swap_func

void(* Swap_func) (void) ( void  )
extern