Loading...
Searching...
No Matches
Todo List

Global Cairo_begin_raster (int mask, int s[2][2], double d[2][2])
  are top and left swapped?
Global G__location_path (void)
  Support also Windows-like path (?)
Global G__mapset_path (void)
  Support also Windows-like path (?)
Global G_config_path (void)
  should it be? see possible TODO below
Global get_vert_intersects (geosurf *gs, float *bgn, float *end, float *dir)
  For consistency, need to decide how last row & last column are displayed - would it look funny to always draw last row/col with finer resolution if necessary, or would it be better to only show full rows/cols?
Global GP_get_zmode (int id, int *use_z)
  Who's using this?
Global gp_init_site (geosite *gp)
  Currently does nothing
Global GP_load_site (int id, const char *filename)
  load file handle & ready for reading instead of using memory
Global gpd_2dsite (geosite *gp, geosurf *gs, int do_fast)
  prevent scaling by 0
Global GPJ_grass_to_osr2 (const struct Key_Value *proj_info, const struct Key_Value *proj_units, const struct Key_Value *proj_epsg)
  Merge with GPJ_grass_to_osr() in GRASS 8.
Global GPJ_grass_to_wkt2 (const struct Key_Value *proj_info, const struct Key_Value *proj_units, const struct Key_Value *proj_epsg, int esri_style, int prettify)
  Merge with GPJ_grass_to_wkt() in GRASS 8.
Global gs_calc_normals (geosurf *gs)
  fix to correctly calculate norms when mapped to sphere!
Global gs_clip_segment (geosurf *gs, float *bgn, float *end, float *region)
  to use fast clipping and move to gs.c
Global GS_draw_legend (const char *name, GLuint fontbase, int size, int *flags, float *range, int *pt)
  add legend from list option make font loading more flexible
Global GS_get_cat_at_xy (int id, int att, char *catstr, float x, float y)
  Allocate catstr using G_store()
Global GS_get_to (float *to)
  need set_to? - just use viewdir?
Global gs_get_zextents (geosurf *gs, float *min, float *max, float *mid)
  pass flag to use zminmasked instead of zmin
Global gs_get_zrange0 (float *min, float *max)
  pass flag to use zminmasked instead of zmin could also have this return a weighted average for vertical "centroid"
Global gs_init_surf (geosurf *gs, double ox, double oy, int rows, int cols, double xres, double yres)
  Now xmin & ox are the same, right? - get rid of ox, oy in geosurf struct?
Global GS_init_view (void)
  allow setting center?
Global Gs_loadmap_as_char (struct Cell_head *wind, const char *map_name, unsigned char *buff, struct BM *nullmap, int *has_null)
  fn body Gs_loadmap_as_float()
Global Gs_loadmap_as_int (struct Cell_head *wind, const char *map_name, int *buff, struct BM *nullmap, int *has_null)
  fn body of Gs_loadmap_as_float()
Global gs_put_label (const char *text, GLuint fontbase, int size, unsigned long color, int *pt)
  Allocate label dynamically
Global gs_set_att_const (geosurf *gs, int desc, float constant)
  set typbuf constant
Global GS_set_Narrow (int *pt, int id, float *pos2)
  scale used to calculate len of arrow still needs work needs go function that returns center / eye distance gsd_get_los function is not working correctly ??
Global GS_set_wire_color (int id, int colr)
  error-handling
Global gsd_coarse_surf_map (geosurf *surf)
  normals have to be recalculated before proper low res surface can be drawn
Global gsd_display_fringe (geosurf *surf, unsigned long clr, float elev, int where[4])
  add elevation for bottom add color option add ruler grid lines
File gsd_fonts.c

  This file needs to be re-written in OpenGL

  This file needs to be re-written in OpenGL

Global gsd_line_onsurf (geosurf *gs, float *v1, float *v2)
  remove fudge, instead fudge the Z buffer
Global gsd_nline_onsurf (geosurf *gs, float *v1, float *v2, float *pt, int n)
  remove fudge, instead fudge the Z buffer
Global gsd_north_arrow (float *pos2, float len, GLuint fontbase, unsigned long arw_clr, unsigned long text_clr)

  Store arrow somewhere to enable it's removal/change.

  Add option to specify north text and font.

Global gsd_surf_const (geosurf *surf, float k)
  FIX: do_diff won't work right - needs normals - maybe calculate on the fly
File gsdiff.c
  generalize this concept to allow transform functions which are dependent on surfaces that are dependent on other surfaces, etc., as long as the dependency doesn't loop back.
Global gsds_alloc_typbuff (int id, int *dims, int ndims, int type)
  add ATTY_CONST
Global GV_draw_fastvect (int vid)
  Seems to be broken, nothing is drawn
Global GV_load_vector (int id, const char *filename)
  Load file handle & ready for reading instead of using memory
Global GVL_get_window (void)
  gvl_file.c use this - change
Global GVL_isosurf_get_drawres (int id, int *xres, int *yres, int *zres)
  error handling
Global IL_check_at_points_2d (struct interp_params *params, struct quaddata *data, double *b, double *ertot, double zmin, double dnorm, struct triple *skip_point)
  Alternative description: ...calculate the maximum and RMS deviation caused by smoothing.
Global IL_check_at_points_2d_cvdev (struct interp_params *params, struct quaddata *data, double *b, double *ertot, double zmin, double dnorm, struct triple *target_point)
  Alternative description: ...calculate the maximum and RMS deviation caused by smoothing.
Global IL_interp_segments_2d (struct interp_params *params, struct tree_info *info, struct multtree *tree, struct BM *bitmask, double zmin, double zmax, double *zminac, double *zmaxac, double *gmin, double *gmax, double *c1min, double *c1max, double *c2min, double *c2max, double *ertot, int totsegm, off_t offset1, double dnorm)
  Isn't this in fact the updated version of the function (IL_interp_segments_new_2d)? The function IL_interp_segments_new_2d has the following, better behavior: The difference between this function and IL_interp_segments_2d() is making sure that additional points are taken from all directions, i.e. it finds equal number of points from neighboring segments in each of 8 neighborhoods.
File kdtree.h

  Doxygen ignores comment for last parameter after );. The parameter description now goes to the end of function description.

  Include formatting to function descriptions.

Global N_calc_solute_transport_disptensor_2d (N_solute_transport_data2d *data)
  Change the tensor calculation to a more realistic algorithm
Global N_calc_solute_transport_disptensor_3d (N_solute_transport_data3d *data)
  Change the tensor calculation to a more realistic algorithm
Global print_256lookup (int *buff)
  G_debug ?
Global print_frto (float(*ft)[4])
  G_debug ?
Global print_realto (float *rt)
  G_debug ?
Global print_surf_fields (geosurf *s)
  G_debug ?
Global print_view_fields (geoview *gv)
  G_debug ?
File radii.c
  Suggestion: all "lon"s in the file "radii.c" should read as "lat"
File snprintf.c
  if needed, implement alternative versions for portability. potential code source:
  - http://www.ijs.si/software/snprintf/
  - openssh's snprintf() implementation: bsd-snprintf.c
File strings.c
  merge interesting functions from ../datetime/scan.c here