GRASS Programmer's Manual
6.4.2(2012)
|
Nviz library -- Clip planes manipulation. More...
#include <grass/nviz.h>
Go to the source code of this file.
Functions | |
int | Nviz_new_cplane (nv_data *data, int id) |
Creates a clip plane object. | |
int | Nviz_off_cplane (nv_data *data, int id) |
Turn off (make inactive) the given clip plane. | |
int | Nviz_draw_cplane (nv_data *data, int bound1, int bound2) |
Draw the clip plane. |
Nviz library -- Clip planes manipulation.
Based on visualization/nviz/src/cutplanes_obj.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 cplanes_obj.c.
int Nviz_draw_cplane | ( | nv_data * | data, |
int | bound1, | ||
int | bound2 | ||
) |
Draw the clip plane.
bound1 | |
bound2 |
Definition at line 58 of file cplanes_obj.c.
Referenced by gui_modules.wxnviz.Nviz::Draw().
int Nviz_new_cplane | ( | nv_data * | data, |
int | id | ||
) |
Creates a clip plane object.
The number of clip planes is fixed (MAX_CPLANES) and we'll create them all ahead of time anyway we just let the user decide on the id for each.
Definition at line 26 of file cplanes_obj.c.
Referenced by Nviz_init_data().
int Nviz_off_cplane | ( | nv_data * | data, |
int | id | ||
) |
Turn off (make inactive) the given clip plane.
data | nviz data |
cplane | id |
Definition at line 44 of file cplanes_obj.c.
References GS_unset_cplane().
Referenced by Nviz_init_data().