GRASS Programmer's Manual
6.4.2(2012)
|
Nviz library – Draw map objects to GLX context. More...
#include <grass/nviz.h>
Go to the source code of this file.
Functions | |
int | Nviz_draw_all_surf (nv_data *dc) |
Draw all loaded surfaces. | |
int | Nviz_draw_all_vect () |
Draw all loaded vector sets (lines) | |
int | Nviz_draw_all_site () |
Draw all loaded vector point sets. | |
int | Nviz_draw_all_vol () |
Draw all loaded volume sets. | |
int | Nviz_draw_all (nv_data *data) |
Draw all map objects (in full resolution) and decorations. | |
int | Nviz_draw_quick (nv_data *data, int draw_mode) |
Draw all surfaces in wireframe (quick mode) |
Nviz library – Draw map objects to GLX context.
Based on visualization/nviz/src/draw.c and visualization/nviz/src/togl_flythrough.c
(C) 2008, 2010 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 nviz/draw.c.
int Nviz_draw_all | ( | nv_data * | data | ) |
Draw all map objects (in full resolution) and decorations.
data | nviz data |
Definition at line 199 of file nviz/draw.c.
References GS_clear(), GS_done_draw(), GS_draw_fringe(), GS_ready_draw(), GS_set_draw(), Nviz_draw_all_site(), Nviz_draw_all_surf(), Nviz_draw_all_vect(), and Nviz_draw_all_vol().
Referenced by gui_modules.wxnviz.Nviz::Draw().
int Nviz_draw_all_site | ( | ) |
Draw all loaded vector point sets.
Definition at line 141 of file nviz/draw.c.
References G_free(), GP_draw_site(), GP_get_site_list(), GS_done_draw(), GS_ready_draw(), and GS_set_draw().
Referenced by Nviz_draw_all().
int Nviz_draw_all_surf | ( | nv_data * | dc | ) |
Draw all loaded surfaces.
dc | nviz data |
Definition at line 27 of file nviz/draw.c.
References G_free(), GS_draw_cplane_fence(), GS_draw_surf(), GS_get_surf_list(), GS_setlight_position(), and gui_modules.psmap_dialogs::w.
Referenced by Nviz_draw_all().
int Nviz_draw_all_vect | ( | ) |
Draw all loaded vector sets (lines)
Definition at line 116 of file nviz/draw.c.
References GS_done_draw(), GS_ready_draw(), GS_set_draw(), and GV_alldraw_vect().
Referenced by Nviz_draw_all().
int Nviz_draw_all_vol | ( | ) |
Draw all loaded volume sets.
Definition at line 170 of file nviz/draw.c.
References G_free(), GS_done_draw(), GS_ready_draw(), GS_set_draw(), GVL_draw_vol(), and GVL_get_vol_list().
Referenced by Nviz_draw_all().
int Nviz_draw_quick | ( | nv_data * | data, |
int | draw_mode | ||
) |
Draw all surfaces in wireframe (quick mode)
Draw modes:
data | nviz data |
draw_mode | draw mode |
Definition at line 261 of file nviz/draw.c.
References GP_alldraw_site(), GS_alldraw_wire(), GS_clear(), GS_done_draw(), GS_ready_draw(), GS_set_draw(), GV_alldraw_vect(), and GVL_alldraw_wire().
Referenced by gui_modules.wxnviz.Nviz::Draw().