53 else if (state_flag == 0)
83 int *surf_list, num_surfs, *vol_list;
int Nviz_get_focus(nv_data *data, float *x, float *y, float *z)
Get focus.
void Nviz_init_view(nv_data *data)
int Nviz_set_light_ambient(nv_data *, int, double)
Set light ambient.
int Nviz_set_focus_state(int state_flag)
Set focus state.
void GS_set_focus(float *)
Set focus.
int GVL_num_vols(void)
Get number of loaded volume sets.
void G_free(void *)
Free allocated memory.
int Nviz_set_focus_map(int type, int id)
Set focus based on loaded map.
float Nviz_get_xyrange(nv_data *data)
Get xy range.
float Nviz_get_longdim(nv_data *data)
Get largest dimension.
void GS_set_focus_center_map(int)
Set focus to map center.
void GS_get_zrange_nz(float *, float *)
Get Z extents for all loaded surfaces.
int Nviz_set_light_position(nv_data *, int, double, double, double, double)
Set light position.
int Nviz_set_light_bright(nv_data *, int, double)
Set light brightness.
int Nviz_get_zrange(nv_data *data, float *min, float *max)
Get z range.
void GVL_set_focus_center_map(int)
Set focus on map center.
int * GS_get_surf_list(int *)
Get surface list.
void GS_set_infocus(void)
Set focus.
#define MAP_OBJ_UNDEFINED
void GS_init_view(void)
Init viewpoint.
void G_warning(const char *,...) __attribute__((format(printf
int Nviz_set_focus(nv_data *data, float x, float y, float z)
Set focus.
int GS_get_focus(float *)
Get focus.
int Nviz_set_light_color(nv_data *, int, int, int, int)
Set light color.
int GS_get_longdim(float *)
Get largest dimension.
int Nviz_has_focus(nv_data *data)
Test focus.
void GS_set_nofocus(void)
Unset focus.
int * GVL_get_vol_list(int *)
Get list of loaded volume sets.
int GS_num_surfs(void)
Get number of surfaces.