49 int num_surfs, *surf_list;
89 G_warning(
_(
"Maximum vector line maps loaded!"));
108 for (i = 0; i < num_surfs; i++) {
117 G_warning(
_(
"Maximum vector point maps loaded!"));
136 for (i = 0; i < num_surfs; i++) {
161 G_warning(
_(
"Nviz_new_map_obj(): unsupported data type"));
182 double num_value,
nv_data *data)
198 value = (double)atof(str_value);
241 max = (rows > cols) ? rows : cols;
249 max = max2 + max2 / 2;
324 int rows, cols, depths;
328 max = (rows > cols) ? rows : cols;
void G_free(void *)
Free allocated memory.
void G_warning(const char *,...) __attribute__((format(printf
int Nviz_update_ranges(nv_data *)
Update ranges.
int GVL_delete_vol(int)
Delete volume set from list.
int GS_new_surface(void)
Add new surface.
int GP_delete_site(int)
Delete registrated point set.
void GVL_get_dims(int, int *, int *, int *)
Get volume dimensions.
int GP_new_site(void)
Create new point set.
int * GS_get_surf_list(int *)
Get surface list.
int GV_new_vector(void)
Register new vector set.
int GV_delete_vector(int)
Delete vector set from list.
int GS_load_att_map(int, const char *, int)
Load raster map as attribute.
int GVL_load_vol(int, const char *)
Load 3d raster map to volume set.
int GP_load_site(int, const char *)
Load point set from file.
int GP_select_surf(int, int)
Select surface for given point set.
void GS_set_att_defaults(float *, float *)
Set default attributes for map objects.
int GVL_isosurf_set_drawmode(int, int)
Set isosurface draw mode.
int GV_load_vector(int, const char *)
Load vector set.
int GS_set_drawres(int, int, int, int, int)
Set draw resolution for surface.
int GVL_slice_set_drawmode(int, int)
Set slice draw mode.
int GS_set_att_const(int, int, float)
Set attribute constant.
int GP_set_style(int, int, int, float, int)
Set point style.
void GS_get_dims(int, int *, int *)
Get dimension of surface.
int GV_num_vects(void)
Get number of available vector sets.
int GS_num_surfs(void)
Get number of surfaces.
int GVL_num_vols(void)
Get number of loaded volume sets.
int GV_select_surf(int, int)
Select surface identified by hs to have vector identified by hv draped over it.
int GVL_isosurf_set_drawres(int, int, int, int)
Set isosurface draw resolution.
int GS_unset_att(int, int)
Unset attribute.
geosite * gp_get_site(int)
Get geosite struct.
int GVL_slice_set_drawres(int, int, int, int)
Set slice draw resolution.
int GV_set_style(int, int, int, int, int)
Set vector style.
int GP_num_sites(void)
Get number of loaded point sets.
int GVL_new_vol(void)
Create new volume set.
int GS_set_drawmode(int, int)
Set draw mode.
#define FALLTHROUGH
A macro for a fallthrough statement attribute.
int Nviz_set_attr(int id, int type, int desc, int src, const char *str_value, double num_value, nv_data *data)
int Nviz_set_vpoint_attr_default(int id)
Set default vector point attributes.
int Nviz_new_map_obj(int type, const char *name, double value, nv_data *data)
Create a new map object which can be one of surf, vect, vol or site.
int Nviz_set_volume_attr_default(int id)
Set default volume attributes.
void Nviz_set_surface_attr_default(void)
Set default surface attributes.
int Nviz_unset_attr(int id, int type, int desc)
#define DEFAULT_SURF_COLOR