![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
Include dependency graph for map_locations.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Data Structures | |
| struct | dt_map_location_data_t |
| struct | dt_location_draw_t |
| struct | dt_map_location_t |
Typedefs | |
| typedef enum dt_map_locations_type_t | dt_map_locations_type_t |
| typedef enum dt_map_locations_action_t | dt_map_locations_action_t |
| typedef struct dt_map_location_data_t | dt_map_location_data_t |
| typedef struct dt_location_draw_t | dt_location_draw_t |
| typedef struct dt_map_location_t | dt_map_location_t |
| typedef struct dt_location_draw_t dt_location_draw_t |
| typedef struct dt_map_location_data_t dt_map_location_data_t |
| typedef struct dt_map_location_t dt_map_location_t |
| typedef enum dt_map_locations_action_t dt_map_locations_action_t |
| typedef enum dt_map_locations_type_t dt_map_locations_type_t |
| Enumerator | |
|---|---|
| MAP_LOCATION_ACTION_REMOVE | |
| MAP_LOCATION_ACTION_UPDATE_OTHERS | |
| MAP_LOCATION_ACTION_MAX | |
Definition at line 39 of file map_locations.h.
| Enumerator | |
|---|---|
| MAP_LOCATION_SHAPE_ELLIPSE | |
| MAP_LOCATION_SHAPE_RECTANGLE | |
| MAP_LOCATION_SHAPE_POLYGONS | |
| MAP_LOCATION_SHAPE_MAX | |
Definition at line 31 of file map_locations.h.
| GList * dt_map_location_convert_polygons | ( | void * | polygons, |
| dt_map_box_t * | bbox, | ||
| int * | nb_pts | ||
| ) |
Definition at line 418 of file metadata/map_locations.c.
References bbox, IS_NULL_PTR, dt_geo_map_display_point_t::lat, dt_map_box_t::lat1, dt_map_box_t::lat2, dt_geo_map_display_point_t::lon, dt_map_box_t::lon1, dt_map_box_t::lon2, and p.
Referenced by _view_map_add_location().
| const char * dt_map_location_data_tag_root | ( | ) |
Definition at line 394 of file metadata/map_locations.c.
References location_tag.
Referenced by dt_collection_query_get_property_values(), and get_query_string().
| void dt_map_location_delete | ( | const guint | locid | ) |
Definition at line 47 of file metadata/map_locations.c.
References dt_free, dt_location_repository_delete(), dt_tag_get_name(), dt_tag_remove(), location_tag_prefix, name, and TRUE.
Referenced by _pop_menu_delete_location().
| GList * dt_map_location_find_locations | ( | const int32_t | imgid | ) |
Definition at line 273 of file metadata/map_locations.c.
References _is_point_in_polygon(), dt_free, dt_location_repository_find_locations_for_image(), dt_location_repository_get_polygon(), FALSE, dt_location_candidate_t::id, dt_location_candidate_t::lat, dt_location_candidate_t::lon, dt_geo_map_display_point_t::lon, MAP_LOCATION_SHAPE_POLYGONS, dt_location_candidate_t::shape, and TRUE.
Referenced by _view_map_geotag_changed().
| void dt_map_location_free_polygons | ( | dt_location_draw_t * | ld | ) |
Definition at line 167 of file metadata/map_locations.c.
References dt_location_draw_t::data, dt_free, MAP_LOCATION_SHAPE_POLYGONS, dt_map_location_data_t::plg_pts, dt_map_location_data_t::polygons, and dt_map_location_data_t::shape.
Referenced by _view_map_delete_other_location(), and cleanup().
| void dt_map_location_free_result | ( | GList ** | result | ) |
Definition at line 220 of file metadata/map_locations.c.
References _free_result_item().
Referenced by _locations_tree_update(), _name_editing_done(), and _view_map_geotag_changed().
| dt_map_location_data_t * dt_map_location_get_data | ( | const guint | locid | ) |
Definition at line 259 of file metadata/map_locations.c.
References dt_location_repository_get_data(), and location_tag_prefix.
Referenced by _show_location().
| int dt_map_location_get_images_count | ( | const guint | locid | ) |
Definition at line 89 of file metadata/map_locations.c.
References dt_tag_repository_count_attachments().
Referenced by _name_editing_done().
| GList * dt_map_location_get_locations_by_path | ( | const gchar * | path, |
| const gboolean | remove_root | ||
| ) |
Definition at line 98 of file metadata/map_locations.c.
References dt_tag_count_t::count, dt_free, dt_tag_count_free(), dt_tag_repository_get_by_path_with_counts(), dt_tag_count_t::id, IS_NULL_PTR, location_tag, location_tag_prefix, dt_tag_count_t::name, and t.
Referenced by _locations_tree_update(), _name_editing_done(), and _view_map_geotag_changed().
| GList * dt_map_location_get_locations_on_map | ( | const dt_map_box_t *const | bbox | ) |
Definition at line 143 of file metadata/map_locations.c.
References bbox, and dt_location_repository_get_in_bbox().
Referenced by _view_map_draw_other_locations().
| void dt_map_location_get_polygons | ( | dt_location_draw_t * | ld | ) |
Definition at line 148 of file metadata/map_locations.c.
References dt_location_draw_t::data, dt_location_repository_get_polygon(), i, dt_location_draw_t::id, MAP_LOCATION_SHAPE_POLYGONS, p, dt_map_location_data_t::plg_pts, dt_map_location_data_t::polygons, and dt_map_location_data_t::shape.
Referenced by _view_map_draw_location(), and _view_map_draw_other_locations().
| gboolean dt_map_location_included | ( | const float | lon, |
| const float | lat, | ||
| dt_map_location_data_t * | g | ||
| ) |
Definition at line 400 of file metadata/map_locations.c.
References FALSE, g, lat, lon, MAP_LOCATION_SHAPE_ELLIPSE, MAP_LOCATION_SHAPE_RECTANGLE, and TRUE.
Referenced by _view_map_button_press_callback(), and _view_map_scroll_event().
| gboolean dt_map_location_name_exists | ( | const char *const | name | ) |
Definition at line 80 of file metadata/map_locations.c.
References dt_free, dt_tag_exists(), location_tag_prefix, and name.
Referenced by _new_button_clicked().
| guint dt_map_location_new | ( | const char *const | name | ) |
Definition at line 37 of file metadata/map_locations.c.
References dt_free, dt_tag_new(), location_tag_prefix, and name.
Referenced by _name_editing_done().
| void dt_map_location_rename | ( | const guint | locid, |
| const char *const | name | ||
| ) |
Definition at line 63 of file metadata/map_locations.c.
References dt_free, dt_tag_get_name(), dt_tag_rename(), IS_NULL_PTR, location_tag_prefix, and name.
Referenced by _name_editing_done().
| void dt_map_location_set_data | ( | const guint | locid, |
| const dt_map_location_data_t * | g | ||
| ) |
Definition at line 266 of file metadata/map_locations.c.
References dt_location_repository_set_data(), and g.
Referenced by _view_map_update_location_geotag().
| GList * dt_map_location_sort | ( | GList * | tags | ) |
Definition at line 238 of file metadata/map_locations.c.
References _sort_by_path().
| gboolean dt_map_location_update_images | ( | dt_location_draw_t * | ld | ) |
Definition at line 358 of file metadata/map_locations.c.
References _map_location_find_images(), dt_tag_attach(), dt_tag_detach(), dt_tag_get_images(), FALSE, dt_location_draw_t::id, res, and TRUE.
Referenced by _view_map_update_location_geotag().
| void dt_map_location_update_locations | ( | const int32_t | imgid, |
| const GList * | tags | ||
| ) |
Definition at line 329 of file metadata/map_locations.c.
References dt_location_repository_get_image_locations(), dt_tag_attach(), dt_tag_detach(), and FALSE.
Referenced by _view_map_geotag_changed().