GRASS GIS 8 Programmer's Manual
8.5.0dev(2024)-f622271e7a
|
OGSF library -. More...
Go to the source code of this file.
Macros | |
#define | DO_ARROWS |
Functions | |
int | gsd_wire_surf (geosurf *surf) |
Draw surface wire. More... | |
int | gsd_wire_surf_map (geosurf *surf) |
ADD. More... | |
int | gsd_wire_surf_const (geosurf *surf, float k) |
ADD. More... | |
int | gsd_wire_surf_func (geosurf *gs UNUSED, int(*user_func)(void) UNUSED) |
ADD. More... | |
int | gsd_wire_arrows (geosurf *surf) |
ADD. More... | |
int | gsd_coarse_surf_map (geosurf *surf) |
Draw coarse surface. More... | |
OGSF library -.
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.
Definition in file gsd_wire.c.
#define DO_ARROWS |
Definition at line 25 of file gsd_wire.c.
int gsd_coarse_surf_map | ( | geosurf * | surf | ) |
Draw coarse surface.
New (TEST) wire routine that draws low res surface Based on new Trinagle Fan routine Resolution is a function of current surface resolution times wire resolution
In window optimization has been removed
surf | surface (geosurf) |
Definition at line 572 of file gsd_wire.c.
Referenced by gsd_wire_surf().
int gsd_wire_arrows | ( | geosurf * | surf | ) |
ADD.
Need to do Zexag scale of normal for arrow direction, drawing routine unexags z for arrow
surf | surface (geosurf) |
Definition at line 457 of file gsd_wire.c.
References g_surf::att, ATT_COLOR, gsurf_att::att_src, ATT_TOPO, BM_get(), CM_COLOR, CM_DIFFUSE, g_surf::cols, CONST_ATT, gsurf_att::constant, g_surf::curmask, FNORM, G_debug(), GET_MAPATT, gs_get_att_typbuff(), GS_get_scale(), GS_global_exag(), gs_mapcolor(), gs_update_curmask(), gsd_arrow(), gsd_colormode(), gsd_do_scale(), gsd_popmatrix(), gsd_pushmatrix(), gsd_translate(), MAP_ATT, g_surf::norms, g_surf::rows, g_surf::wire_color, X, g_surf::x_modw, g_surf::x_trans, g_surf::xres, Y, g_surf::y_modw, g_surf::y_trans, g_surf::yres, Z, g_surf::z_exag, and g_surf::z_trans.
int gsd_wire_surf | ( | geosurf * | surf | ) |
Draw surface wire.
surf | surface (geosurf) |
Definition at line 46 of file gsd_wire.c.
References g_surf::att, ATT_TOPO, CONST_ATT, gsurf_att::constant, DM_GRID_WIRE, g_surf::draw_mode, FUNC_ATT, G_debug(), gs_get_att_src(), gsd_coarse_surf_map(), gsd_wire_surf_const(), gsd_wire_surf_func(), gsd_wire_surf_map(), g_surf::gsurf_id, MAP_ATT, NOTSET_ATT, and gsurf_att::user_func.
Referenced by GS_draw_surf(), and GS_draw_wire().
int gsd_wire_surf_const | ( | geosurf * | surf, |
float | k | ||
) |
ADD.
surf | surface (geosurf) |
k |
Definition at line 276 of file gsd_wire.c.
References g_surf::att, ATT_COLOR, gsurf_att::att_src, BM_get(), CM_COLOR, CM_DIFFUSE, g_surf::cols, CONST_ATT, gsurf_att::constant, g_surf::curmask, G_debug(), gs_get_att_typbuff(), gs_mapcolor(), gs_update_curmask(), gsd_bgnline(), gsd_color_func(), gsd_colormode(), gsd_do_scale(), gsd_endline(), gsd_popmatrix(), gsd_pushmatrix(), gsd_translate(), gsd_vert_func(), gsdiff_do_SD(), gsdiff_get_SDref(), MAP_ATT, NULL, g_surf::rows, WC_COLOR_ATT, g_surf::wire_color, X, g_surf::x_modw, g_surf::x_trans, g_surf::xres, Y, g_surf::y_modw, g_surf::y_trans, g_surf::yres, Z, g_surf::z_exag, and g_surf::z_trans.
Referenced by gsd_wire_surf().
ADD.
Not yet implemented.
gs | surface (geosurf) [unused] |
user_func | user defined function [unused] |
Definition at line 442 of file gsd_wire.c.
Referenced by gsd_wire_surf().
int gsd_wire_surf_map | ( | geosurf * | surf | ) |
ADD.
surf | surface (geosurf) |
Definition at line 99 of file gsd_wire.c.
References g_surf::att, ATT_COLOR, gsurf_att::att_src, ATT_TOPO, BM_get(), CM_COLOR, CM_DIFFUSE, g_surf::cols, CONST_ATT, gsurf_att::constant, g_surf::curmask, G_debug(), GET_MAPATT, gs_get_att_typbuff(), gs_mapcolor(), gs_update_curmask(), gsd_bgnline(), gsd_color_func(), gsd_colormode(), gsd_do_scale(), gsd_endline(), gsd_popmatrix(), gsd_pushmatrix(), gsd_translate(), gsd_vert_func(), MAP_ATT, g_surf::rows, WC_COLOR_ATT, g_surf::wire_color, X, g_surf::x_modw, g_surf::x_trans, g_surf::xres, Y, g_surf::y_modw, g_surf::y_trans, g_surf::yres, Z, g_surf::z_exag, and g_surf::z_trans.
Referenced by gsd_wire_surf().