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

OGSF header file (structures) More...

#include <grass/config.h>
#include <grass/bitmap.h>
#include <grass/gis.h>
#include <grass/defs/ogsf.h>
Include dependency graph for ogsf.h:

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)   (t==ATTY_MASK || t==ATTY_FLOAT || t==ATTY_INT || t==ATTY_SHORT || t==ATTY_CHAR)
 
#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(* Swap_func )()
 

Detailed Description

OGSF header file (structures)

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

Author
Original author Bill Brown, USACERL (January 1993)
Thematic mapping enabled by Martin Landa <landa.martin gmail.com) (06/2011)

(C) 2011 by the GRASS Development Team

Definition in file ogsf.h.

Macro Definition Documentation

#define ATT_EMIT   6
#define ATT_NORM   0 /* library use only */

Definition at line 72 of file ogsf.h.

#define ATTY_ANY   63 /* internal use only */

Definition at line 169 of file ogsf.h.

Referenced by gsds_free_datah().

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

Definition at line 165 of file ogsf.h.

Referenced by free_data_buffs(), GS_load_att_map(), Gs_numtype(), and gsds_alloc_typbuff().

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

Definition at line 164 of file ogsf.h.

Referenced by free_data_buffs(), GS_load_att_map(), and gsds_alloc_typbuff().

#define ATTY_NULL   32 /* internal use only */

Definition at line 163 of file ogsf.h.

Referenced by free_data_buffs(), GS_load_att_map(), and gsds_alloc_typbuff().

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

Definition at line 32 of file ogsf.h.

#define BLU_MASK   0x00FF0000
#define CF_CHARSCALED   0x000100

Definition at line 182 of file ogsf.h.

#define CF_COLOR_PACKED   0x000001

Definition at line 180 of file ogsf.h.

Referenced by GS_load_att_map(), and Gs_update_attrange().

#define CF_NOT_CHANGED   0x000000

Definition at line 179 of file ogsf.h.

#define CF_USR_CHANGED   0x000010

Definition at line 181 of file ogsf.h.

#define CM_AD   5

Definition at line 150 of file ogsf.h.

Referenced by GS_draw_lighting_model1(), and gsd_colormode().

#define CM_AMBIENT   2

Definition at line 147 of file ogsf.h.

#define CM_EMISSION   1

Definition at line 146 of file ogsf.h.

Referenced by gsd_colormode().

#define CM_NULL   6

Definition at line 151 of file ogsf.h.

Referenced by gsd_colormode().

#define CM_SPECULAR   4

Definition at line 149 of file ogsf.h.

#define CM_WIRE   CM_COLOR

Definition at line 153 of file ogsf.h.

#define DM_COL_WIRE   0x00000002

Definition at line 60 of file ogsf.h.

Referenced by Gs_load_3dview(), and Gs_save_3dview().

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

Definition at line 55 of file ogsf.h.

Referenced by gvld_wind3_box(), and gvld_wire_slices().

#define DM_FRINGE   0x00000010

Definition at line 57 of file ogsf.h.

#define DM_GRID_SURF   0x00000800

Definition at line 65 of file ogsf.h.

Referenced by Nviz_set_attr().

#define DM_GRID_WIRE   0x00000400

Definition at line 64 of file ogsf.h.

Referenced by gsd_wire_surf().

#define DM_POLY   0x00000004
#define DM_WIRE   0x00000001

Definition at line 59 of file ogsf.h.

Referenced by GS_draw_surf(), Gs_load_3dview(), and Gs_save_3dview().

#define DM_WIRE_POLY   0x00000008

Definition at line 62 of file ogsf.h.

Referenced by GS_draw_surf(), Gs_load_3dview(), and Gs_save_3dview().

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

Definition at line 176 of file ogsf.h.

Referenced by gs_get_databounds_planes(), gsd_get_cplanes(), and RayCvxPolyhedronInt().

#define FC_ABOVE   1

Definition at line 107 of file ogsf.h.

Referenced by gsd_ortho_wall().

#define FC_BELOW   2

Definition at line 108 of file ogsf.h.

Referenced by gsd_ortho_wall().

#define FC_BLEND   3

Definition at line 109 of file ogsf.h.

#define FC_GREY   4

Definition at line 110 of file ogsf.h.

Referenced by GS_transp_is_set(), and gsd_ortho_wall().

#define FC_OFF   0

Definition at line 106 of file ogsf.h.

Referenced by gsd_wall().

#define FM_LABEL   0x00000010

Definition at line 538 of file ogsf.h.

Referenced by gk_follow_frames(), and GK_show_list().

#define FM_PATH   0x00000004

Definition at line 536 of file ogsf.h.

Referenced by gk_follow_frames(), and GK_show_path().

#define FM_SITE   0x00000002

Definition at line 535 of file ogsf.h.

Referenced by gk_follow_frames(), and GK_show_site().

#define FM_VECT   0x00000001

Definition at line 534 of file ogsf.h.

Referenced by gk_follow_frames(), and GK_show_vect().

#define FM_VOL   0x00000008

Definition at line 537 of file ogsf.h.

Referenced by gk_follow_frames(), and GK_show_vol().

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

Definition at line 175 of file ogsf.h.

Referenced by gsd_line_onsurf(), and gsd_nline_onsurf().

#define FUNC_ATT   3

Definition at line 85 of file ogsf.h.

Referenced by gsd_surf(), and gsd_wire_surf().

#define GRN_MASK   0x0000FF00
#define GS_CHAR8   char

Definition at line 158 of file ogsf.h.

#define GS_INT32   int

Definition at line 160 of file ogsf.h.

#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 33 of file ogsf.h.

#define GS_SHORT16   short

Definition at line 159 of file ogsf.h.

#define GS_UNIT_SIZE   1000.

Definition at line 30 of file ogsf.h.

Referenced by GS_init_view(), and GS_libinit().

#define GSD_BOTH   3
#define IFLAG   unsigned int

Definition at line 69 of file ogsf.h.

Referenced by gvl_file_newh().

#define KF_ALL_MASK   0x000000FF

Definition at line 517 of file ogsf.h.

#define KF_DIR_MASK   0x00000038

Definition at line 512 of file ogsf.h.

#define KF_DIRX   3

Definition at line 528 of file ogsf.h.

Referenced by GK_add_key(), gk_follow_frames(), and GK_print_keys().

#define KF_DIRX_MASK   0x00000008

Definition at line 509 of file ogsf.h.

Referenced by gk_follow_frames().

#define KF_DIRY   4

Definition at line 529 of file ogsf.h.

Referenced by GK_add_key(), gk_follow_frames(), and GK_print_keys().

#define KF_DIRY_MASK   0x00000010

Definition at line 510 of file ogsf.h.

Referenced by gk_follow_frames().

#define KF_DIRZ   5

Definition at line 530 of file ogsf.h.

Referenced by GK_add_key(), gk_follow_frames(), and GK_print_keys().

#define KF_DIRZ_MASK   0x00000020

Definition at line 511 of file ogsf.h.

Referenced by gk_follow_frames().

#define KF_FOV   6

Definition at line 531 of file ogsf.h.

Referenced by GK_add_key(), gk_follow_frames(), and GK_print_keys().

#define KF_FOV_MASK   0x00000040

Definition at line 514 of file ogsf.h.

Referenced by gk_follow_frames().

#define KF_FROM_MASK   0x00000007

Definition at line 507 of file ogsf.h.

#define KF_FROMX   0

Definition at line 525 of file ogsf.h.

Referenced by GK_add_key(), gk_draw_path(), gk_follow_frames(), GK_print_keys(), and GK_update_frames().

#define KF_FROMX_MASK   0x00000001

Definition at line 504 of file ogsf.h.

Referenced by gk_follow_frames().

#define KF_FROMY   1

Definition at line 526 of file ogsf.h.

Referenced by GK_add_key(), gk_follow_frames(), GK_print_keys(), and GK_update_frames().

#define KF_FROMY_MASK   0x00000002

Definition at line 505 of file ogsf.h.

Referenced by gk_follow_frames().

#define KF_FROMZ   2

Definition at line 527 of file ogsf.h.

Referenced by GK_add_key(), gk_follow_frames(), GK_print_keys(), and GK_update_frames().

#define KF_FROMZ_MASK   0x00000004

Definition at line 506 of file ogsf.h.

Referenced by gk_follow_frames().

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

Definition at line 523 of file ogsf.h.

Referenced by GK_set_interpmode().

#define KF_LINEAR   111

Definition at line 521 of file ogsf.h.

Referenced by GK_update_frames().

#define KF_NUMFIELDS   8

Definition at line 519 of file ogsf.h.

Referenced by gk_copy_key(), gk_make_framesfromkeys(), and gk_make_linear_framesfromkeys().

#define KF_SPLINE   222

Definition at line 522 of file ogsf.h.

#define KF_TWIST   7

Definition at line 532 of file ogsf.h.

Referenced by correct_twist(), GK_add_key(), gk_follow_frames(), and GK_print_keys().

#define KF_TWIST_MASK   0x00000080

Definition at line 515 of file ogsf.h.

Referenced by gk_follow_frames().

#define LEGAL_ATT (   a)    (a >= 0 && a < MAX_ATTS)
#define LEGAL_SRC (   s)    (s==NOTSET_ATT||s==MAP_ATT||s==CONST_ATT||s==FUNC_ATT)

Definition at line 86 of file ogsf.h.

Referenced by gs_set_att_src(), and gvl_isosurf_set_att_src().

#define LEGAL_TYPE (   t)    (t==ATTY_MASK || t==ATTY_FLOAT || t==ATTY_INT || t==ATTY_SHORT || t==ATTY_CHAR)

Definition at line 170 of file ogsf.h.

Referenced by gs_set_att_type().

#define LT_CONTINUOUS   0x00000200

Definition at line 114 of file ogsf.h.

#define LT_DISCRETE   0x00000100

Definition at line 113 of file ogsf.h.

#define LT_INVERTED   0x00000008

Definition at line 122 of file ogsf.h.

#define LT_LIST   0x00000010

Definition at line 116 of file ogsf.h.

#define LT_RANGE_HISET   0x00000002

Definition at line 120 of file ogsf.h.

#define LT_RANGE_LOW_HI   0x00000003

Definition at line 121 of file ogsf.h.

#define LT_RANGE_LOWSET   0x00000001

Definition at line 119 of file ogsf.h.

#define LT_SHOW_LABELS   0x00002000

Definition at line 125 of file ogsf.h.

#define LT_SHOW_VALS   0x00001000

Definition at line 124 of file ogsf.h.

#define MASK_BL   0x00010000

Definition at line 189 of file ogsf.h.

Referenced by gs_point_is_masked().

#define MASK_BR   0x00100000

Definition at line 188 of file ogsf.h.

Referenced by gs_point_is_masked().

#define MASK_NPTS   0x00000007

Definition at line 190 of file ogsf.h.

#define MASK_TL   0x10000000

Definition at line 186 of file ogsf.h.

Referenced by gs_point_is_masked().

#define MASK_TR   0x01000000

Definition at line 187 of file ogsf.h.

Referenced by gs_point_is_masked().

#define MAX_DSP   12

Definition at line 42 of file ogsf.h.

#define MAX_ISOSURFS   12

Definition at line 46 of file ogsf.h.

Referenced by gvl_init_vol(), and GVL_isosurf_add().

#define MAX_LIGHTS   3

Definition at line 44 of file ogsf.h.

Referenced by GS_new_light(), gsd_deflight(), Nviz_init_data(), and Nviz_init_light().

#define MAX_SITES   50

Definition at line 40 of file ogsf.h.

Referenced by GP_new_site(), and Nviz_new_map_obj().

#define MAX_SLICES   12

Definition at line 47 of file ogsf.h.

Referenced by gvl_init_vol(), and GVL_slice_add().

#define MAX_TF   6

Definition at line 184 of file ogsf.h.

#define MAX_VECTS   50

Definition at line 39 of file ogsf.h.

Referenced by GV_new_vector(), and Nviz_new_map_obj().

#define MAX_VOL_FILES   100

Definition at line 51 of file ogsf.h.

#define MAX_VOL_SLICES   4

Definition at line 50 of file ogsf.h.

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

Definition at line 41 of file ogsf.h.

Referenced by GVL_new_vol(), and Nviz_new_map_obj().

#define MAXDIMS   4

Definition at line 173 of file ogsf.h.

Referenced by gsds_newh().

#define NULL_COLOR   0xFFFFFF

Definition at line 155 of file ogsf.h.

Referenced by gs_update_curmask().

#define OGSF_LINE   2

Definition at line 193 of file ogsf.h.

Referenced by Gv_load_vect(), and gvd_vect().

#define OGSF_POINT   1

Definition at line 192 of file ogsf.h.

#define OGSF_POLYGON   3

Definition at line 194 of file ogsf.h.

Referenced by Gv_load_vect(), and gvd_vect().

#define RED_MASK   0x000000FF
#define ST_ASTER   8

Definition at line 96 of file ogsf.h.

Referenced by GP_str_to_marker(), and gpd_obj().

#define ST_BOX   2

Definition at line 90 of file ogsf.h.

Referenced by GP_str_to_marker(), and gpd_obj().

#define ST_CON_TREE   7

Definition at line 95 of file ogsf.h.

Referenced by GP_str_to_marker().

#define ST_CUBE   4

Definition at line 92 of file ogsf.h.

Referenced by GP_str_to_marker(), and gpd_obj().

#define ST_DEC_TREE   6

Definition at line 94 of file ogsf.h.

Referenced by GP_str_to_marker().

#define ST_DIAMOND   5

Definition at line 93 of file ogsf.h.

Referenced by GP_str_to_marker(), and gpd_obj().

#define ST_GYRO   9

Definition at line 97 of file ogsf.h.

Referenced by GP_str_to_marker(), gpd_obj(), and GS_draw_X().

#define ST_HISTOGRAM   10

Definition at line 98 of file ogsf.h.

Referenced by GP_str_to_marker(), and gpd_obj().

#define ST_SPHERE   3

Definition at line 91 of file ogsf.h.

Referenced by GP_str_to_marker(), and gpd_obj().

#define ST_X   1

Definition at line 89 of file ogsf.h.

Referenced by gp_set_defaults(), GP_str_to_marker(), gpd_obj(), and Nviz_new_map_obj().

#define VOL_FTYPE_RASTER3D   0
#define WC_COLOR_ATT   0xFF000000

Definition at line 67 of file ogsf.h.

Referenced by gsd_wire_surf_const(), and gsd_wire_surf_map().

#define X   0

Definition at line 137 of file ogsf.h.

Referenced by dir_to_slope_aspect(), do_label_display(), f_graph(), f_graph2(), get_diag_intersects(), get_horz_intersects(), get_vert_intersects(), GK_add_key(), gk_follow_frames(), Gp_load_sites(), gpd_2dsite(), gpd_3dsite(), gs_clip_segment(), GS_distance(), GS_draw_flowline_at_xy(), GS_draw_line_onsurf(), GS_draw_nline_onsurf(), GS_draw_X(), GS_dv3norm(), GS_get_cat_at_xy(), gs_get_databounds_planes(), gs_get_datacenter(), GS_get_distance_alongsurf(), GS_get_modelposition(), GS_get_modelposition1(), GS_get_norm_at_xy(), GS_get_selected_point_on_surface(), GS_get_to_real(), GS_get_val_at_xy(), GS_getlight_position(), GS_init_view(), GS_is_masked(), Gs_load_3dview(), GS_look_here(), gs_los_intersect(), gs_los_intersect1(), GS_new_light(), GS_P2distance(), gs_point_in_region(), gs_point_is_masked(), gs_put_label(), Gs_save_3dview(), GS_set_focus_center_map(), GS_set_focus_real(), GS_set_Narrow(), GS_setlight_position(), GS_v2dir(), GS_v2norm(), GS_v3add(), GS_v3cross(), GS_v3dir(), GS_v3eq(), GS_v3mag(), GS_v3mult(), GS_v3norm(), GS_v3normalize(), GS_v3sub(), gsd_3darrow(), gsd_3dcursor(), gsd_arrow(), gsd_arrow_onsurf(), gsd_box(), gsd_checkpoint(), gsd_coarse_surf_map(), gsd_cplane_setrot(), gsd_cplane_settrans(), gsd_cube(), gsd_deflight(), gsd_diamond(), gsd_draw_asterisk(), gsd_draw_box(), gsd_draw_cplane(), gsd_draw_cplane_fence(), gsd_draw_gyro(), gsd_fringe_horiz_line(), gsd_fringe_horiz_line2(), gsd_fringe_horiz_poly(), gsd_fringe_vert_line(), gsd_fringe_vert_poly(), gsd_get_cplanes(), gsd_get_los(), gsd_get_zup(), gsd_model2real(), gsd_model2surf(), gsd_nline_onsurf(), gsd_norm_arrows(), gsd_north_arrow(), gsd_ortho_wall(), gsd_plus(), gsd_put_legend(), gsd_real2model(), gsd_real2surf(), gsd_scalebar(), gsd_scalebar_v2(), gsd_set_view(), gsd_surf2model(), gsd_surf2real(), gsd_surf_const(), gsd_surf_map(), gsd_surf_map_old(), gsd_triangulated_wall(), gsd_update_cpnorm(), gsd_wall(), gsd_wire_arrows(), gsd_wire_surf_const(), gsd_wire_surf_map(), gsd_x(), gsd_zup_twist(), gsdrape_get_segments(), Gv_load_vect(), gvd_vect(), GVL_set_focus_center_map(), GVL_slice_get_pos(), GVL_slice_set_pos(), gvld_isosurf(), gvld_slice(), gvld_wind3_box(), gvld_wire_slices(), interp_first_last(), Nviz_flythrough(), Nviz_get_cplane_rotation(), Nviz_get_cplane_translation(), Nviz_get_viewpoint_position(), Nviz_new_cplane(), Nviz_set_cplane_here(), Nviz_set_cplane_rotation(), Nviz_set_cplane_translation(), Nviz_set_viewpoint_position(), order_intersects(), P3toPlane(), P_Regular_Points(), primitive_cone(), print_frto(), print_realto(), print_view_fields(), seg_intersect_vregion(), slice_calc(), V3Cross(), viewcell_tri_interp(), and XY_intersect_plane().

#define Y   1

Definition at line 138 of file ogsf.h.

Referenced by dir_to_slope_aspect(), do_label_display(), f_graph(), f_graph2(), get_diag_intersects(), get_horz_intersects(), get_vert_intersects(), GK_add_key(), gk_follow_frames(), Gp_load_sites(), gpd_2dsite(), gpd_3dsite(), gs_clip_segment(), GS_distance(), GS_draw_flowline_at_xy(), GS_draw_line_onsurf(), GS_draw_nline_onsurf(), GS_draw_X(), GS_dv3norm(), GS_get_cat_at_xy(), gs_get_databounds_planes(), gs_get_datacenter(), GS_get_distance_alongsurf(), GS_get_modelposition(), GS_get_modelposition1(), GS_get_norm_at_xy(), GS_get_selected_point_on_surface(), GS_get_to_real(), GS_get_val_at_xy(), GS_getlight_position(), GS_init_view(), GS_is_masked(), Gs_load_3dview(), GS_look_here(), gs_los_intersect(), gs_los_intersect1(), GS_new_light(), GS_P2distance(), gs_point_in_region(), gs_point_is_masked(), gs_put_label(), Gs_save_3dview(), GS_set_focus_center_map(), GS_set_focus_real(), GS_set_Narrow(), GS_setlight_position(), GS_v2dir(), GS_v2norm(), GS_v3add(), GS_v3cross(), GS_v3dir(), GS_v3eq(), GS_v3mag(), GS_v3mult(), GS_v3norm(), GS_v3normalize(), GS_v3sub(), gsd_3darrow(), gsd_3dcursor(), gsd_arrow(), gsd_arrow_onsurf(), gsd_box(), gsd_checkpoint(), gsd_coarse_surf_map(), gsd_cplane_setrot(), gsd_cplane_settrans(), gsd_cube(), gsd_deflight(), gsd_diamond(), gsd_draw_asterisk(), gsd_draw_box(), gsd_draw_cplane(), gsd_draw_cplane_fence(), gsd_draw_gyro(), gsd_fringe_horiz_line(), gsd_fringe_horiz_line2(), gsd_fringe_horiz_poly(), gsd_fringe_vert_line(), gsd_fringe_vert_poly(), gsd_get_cplanes(), gsd_get_los(), gsd_get_zup(), gsd_model2real(), gsd_model2surf(), gsd_nline_onsurf(), gsd_norm_arrows(), gsd_north_arrow(), gsd_ortho_wall(), gsd_plus(), gsd_put_legend(), gsd_real2model(), gsd_real2surf(), gsd_scalebar(), gsd_scalebar_v2(), gsd_set_view(), gsd_surf2model(), gsd_surf2real(), gsd_surf_const(), gsd_surf_map(), gsd_surf_map_old(), gsd_triangulated_wall(), gsd_update_cpnorm(), gsd_wall(), gsd_wire_arrows(), gsd_wire_surf_const(), gsd_wire_surf_map(), gsd_x(), gsd_zup_twist(), gsdrape_get_segments(), Gv_load_vect(), gvd_vect(), GVL_set_focus_center_map(), GVL_slice_get_pos(), GVL_slice_set_pos(), gvld_isosurf(), gvld_slice(), gvld_wind3_box(), gvld_wire_slices(), interp_first_last(), Nviz_flythrough(), Nviz_get_cplane_rotation(), Nviz_get_cplane_translation(), Nviz_get_viewpoint_position(), Nviz_new_cplane(), Nviz_set_cplane_here(), Nviz_set_cplane_rotation(), Nviz_set_cplane_translation(), Nviz_set_viewpoint_position(), order_intersects(), P3toPlane(), P_Regular_Points(), primitive_cone(), print_frto(), print_realto(), print_view_fields(), seg_intersect_vregion(), slice_calc(), V3Cross(), viewcell_tri_interp(), and XY_intersect_plane().

#define Z   2

Definition at line 139 of file ogsf.h.

Referenced by dir_to_slope_aspect(), get_diag_intersects(), get_horz_intersects(), get_vert_intersects(), GK_add_key(), gk_follow_frames(), Gp_load_sites(), gpd_2dsite(), gpd_3dsite(), gpd_obj(), GS_distance(), gs_distance_onsurf(), GS_draw_flowline_at_xy(), GS_draw_lighting_model1(), GS_draw_X(), GS_dv3norm(), gs_get_databounds_planes(), gs_get_datacenter(), GS_get_modelposition(), GS_get_modelposition1(), GS_get_selected_point_on_surface(), GS_get_to_real(), GS_getlight_position(), GS_init_view(), Gs_load_3dview(), GS_look_here(), gs_los_intersect(), gs_los_intersect1(), GS_new_light(), Gs_save_3dview(), GS_set_focus_center_map(), GS_set_Narrow(), GS_setlight_position(), GS_v3add(), GS_v3cross(), GS_v3dir(), GS_v3eq(), GS_v3mag(), GS_v3mult(), GS_v3norm(), GS_v3normalize(), GS_v3sub(), gsd_3darrow(), gsd_3dcursor(), gsd_arrow(), gsd_arrow_onsurf(), gsd_box(), gsd_check_focus(), gsd_checkpoint(), gsd_coarse_surf_map(), gsd_cplane_setrot(), gsd_cplane_settrans(), gsd_cube(), gsd_deflight(), gsd_diamond(), gsd_draw_asterisk(), gsd_draw_box(), gsd_draw_cplane(), gsd_draw_cplane_fence(), gsd_draw_gyro(), gsd_fringe_horiz_line(), gsd_fringe_horiz_line2(), gsd_fringe_horiz_poly(), gsd_fringe_vert_line(), gsd_fringe_vert_poly(), gsd_get_cplanes(), gsd_get_los(), gsd_get_zup(), gsd_line_onsurf(), gsd_model2real(), gsd_model2surf(), gsd_nline_onsurf(), gsd_norm_arrows(), gsd_north_arrow(), gsd_ortho_wall(), gsd_plus(), gsd_put_legend(), gsd_real2model(), gsd_scalebar(), gsd_scalebar_v2(), gsd_set_view(), gsd_surf2model(), gsd_surf_const(), gsd_surf_map(), gsd_surf_map_old(), gsd_triangulated_wall(), gsd_update_cpnorm(), gsd_wall(), gsd_wire_arrows(), gsd_wire_surf_const(), gsd_wire_surf_map(), gsd_x(), gsd_zup_twist(), gsdrape_get_segments(), Gv_load_vect(), gvd_vect(), GVL_set_focus_center_map(), GVL_slice_get_pos(), GVL_slice_set_pos(), gvld_isosurf(), gvld_slice(), gvld_wind3_box(), gvld_wire_slices(), interp_first_last(), Nviz_flythrough(), Nviz_get_cplane_rotation(), Nviz_get_cplane_translation(), Nviz_get_viewpoint_height(), Nviz_new_cplane(), Nviz_set_cplane_here(), Nviz_set_cplane_rotation(), Nviz_set_cplane_translation(), Nviz_set_viewpoint_height(), order_intersects(), P3toPlane(), primitive_cone(), print_frto(), print_realto(), print_view_fields(), V3Cross(), viewcell_tri_interp(), and XY_intersect_plane().

Typedef Documentation

typedef struct g_line geoline
typedef struct g_point geopoint
typedef struct g_site geosite
typedef struct g_surf geosurf
typedef struct g_vect geovect
typedef struct g_vol geovol
typedef struct g_vect_style gvstyle
typedef struct key_node Keylist
typedef float Point2[2]

Definition at line 202 of file ogsf.h.

typedef float Point3[3]

Definition at line 201 of file ogsf.h.

typedef float Point4[4]

Definition at line 200 of file ogsf.h.

typedef struct view_node Viewnode

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().