Commit Graph
19 Commits
Author SHA1 Message Date
Matthieu BaumannandMatthieu Baumann 5a9561a13a change license from GPL3 to LGPL3 2026-01-31 23:06:29 +01:00
Matthieu BaumannandMatthieu Baumann 610d22fd23 ellipse intersectBBox very coarse approx 2025-09-04 14:12:51 +02:00
Matthieu BaumannandMatthieu Baumann 9558bae25c refac: compose Footprint inside Source and not the opposite 2025-09-04 14:12:51 +02:00
Matthieu BaumannandMatthieu Baumann 3454083449 fix Circle::intersectBbox 2025-08-29 11:57:15 +02:00
bmatthieu3andMatthieu Baumann 05f1ae2808 feat: color picker and read pixel
This PR targets: #253, #76 and to some extent, maybe #208

It features:
* api: readPixel on a HiPS object method taking x, y pixel values on the
  screen. When no screen coo are given, the one of the center screen is
used.
* api: HiPS.probe a general method using HiPS.readPixel under the hood.
  It allow to probe the survey pixel values on a pixel, along a screen line and
along a great circle arc on the sky
* fix: readPixel could throw an exception if the tile has not been
  received. If so, now, we return a JS null value
* fix: retrieve pixels on fits HiPS bitpix=-32
* feat: a new aladin mode called TOOL_COLOR_PICKER.
* tool: showColorPickerControl: when clicking on it, enter the
  TOOL_COLOR_PICKER mode. The user can move the mouse on a pixel to know
its value. With a click, the pixel value is copied to its clipboard
* fix: restore samp button to connect to a hub
* fix: call redraw when calling gotoRaDec to update instantly the
  imageCanvas #208
* a new global readCanvas method on the Aladin object that
will simply read the final image Canvas. User can give a pixel coo, a
line (2 pixel coos), a rect (2 pixel coos for the box)
2025-05-07 16:37:56 +02:00
bmatthieu3 826ef4fdb7 Fix #151. It is now possible to escape the fullscreen. I fixed a refresh of the fullscreen button bug by defining a special alevent:fullscreen_toggled that the fullscreen button can listen to in order to change its arrow image (opening or closing). Also fix mouseup bug during selection 2025-02-14 15:26:52 +01:00
Philip MatssonandMatthieu Baumann 35f13fe1f0 Push overlayItems in selector getObjects as an array for consistency 2024-11-08 14:55:28 +01:00
Philip MatssonandMatthieu Baumann 6f2730893f Modify objects returned from selector and finish poly select impl 2024-11-08 14:55:28 +01:00
Matthieu BaumannandMatthieu Baumann 97b51f1567 first commit 2024-11-06 15:30:30 +01:00
Matthieu Baumann 52ea23a2d8 use texture2darray for displaying HiPS 2024-10-09 16:46:12 +02:00
Matthieu BaumannandMatthieu Baumann fee97bed40 For Catalog only: plot the sources when the footprints are too small 2024-04-23 00:19:45 +02:00
Matthieu Baumann f0c3bfc9f6 fix to make the tests pass 2024-03-15 00:05:56 +01:00
Matthieu Baumann 389654ba39 Refac and fix UI and cooFrame problems, add API doc too 2024-03-14 19:52:28 +01:00
Matthieu BaumannandMatthieu Baumann cb7cd1636a add mode on the grid and simbad pointer button 2024-02-29 18:13:22 +01:00
Matthieu BaumannandMatthieu Baumann 14ccc6b5a0 fix from the tests 2024-02-29 18:13:22 +01:00
Matthieu BaumannandMatthieu Baumann 057a1df431 major UI commit 2024-02-29 18:13:22 +01:00
Matthieu BaumannandMatthieu Baumann b69016b049 refactorize UI code 2024-02-29 18:13:22 +01:00
Matthieu BaumannandMatthieu Baumann 2aaf917e04 enhance samp connexion 2024-02-29 18:13:22 +01:00
Matthieu BaumannandMatthieu Baumann 479918c9b8 add circular selection 2024-02-29 18:13:22 +01:00