Skip to content

Conversation

@mcfly3001
Copy link

Add a new tool "LengthToolZoom" which is a copy and modification of LengthTool. Behaviour and styling according to SHS demands.

m00n620 and others added 30 commits October 6, 2025 13:45
* fix ellipse ROI stats

* remove console logs
Co-authored-by: IbrahimCSAE <ibrahim.mdev@gmail.com>
Co-authored-by: Ibrahim <ibrahim.mdev@gmail.com>
…updating segment color and label when they are not defined/specified. (cornerstonejs#2376)
* feat: limit pan off  viewport

* refactor
…istener to LabelmapEditWithContour tool to ensure a contour representation is added for the tool. (cornerstonejs#2377)
…nejs#2373)

- Add rejectPreview() call to LabelmapSlicePropagationTool onSetToolDisabled() and onSetToolPassive()
- Add rejectPreview() call to MarkerLabelmapTool onSetToolDisabled()
- Follows the same pattern as BrushTool for consistency
- Fixes OHI-2219: Preview segmentation persists when tools are toggled off

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: Alireza <ar.sedghi@gmail.com>
…ne contours. (cornerstonejs#2381)

For simplified splines, fire an annotation modified event when the simplified spline is added
so that the interpolation is triggered.
When choosing the viewport for the interpolation, choose a viewport that has the
interpolated annotation's referenced image id.
wayfarer3130 and others added 28 commits October 17, 2025 21:59
Starting to implement own length tool which is currently
a plain copy of LengthTool but already has another cursor.
Replaced LengthTool by LengthToolZoom for testin.
Adjust code such that click and drag does not immediately draw
the line but instead only one point will be placed and after a
second click and drag was done for choosing the second point,
the line will be drawn.
colored the idle line orange and added cross bars.
Adjusted SVG drawing helpers to allow using
groups to enable an order of renderings.
The handles are now only enabled when selected.
Highlight border was added and introduced SVG group
layers in order to draw the objects in correct order.
The textbox now only detaches if it is further than 50px
away from the attached point.
getBBox call was not recognized and lead to an error.
We can now also deselect lines on touch devices. Before it was only
working for mouse events.
The lines were moving to different places based on the
zoom level. This is now fixed.
The magnifier clamped to stay inside the canvas which
lead to distortion and wrong centering problems.
Fix by repeating the border pixel value of the canvas.
@mcfly3001 mcfly3001 merged commit 149ca5d into main Oct 20, 2025
5 of 6 checks passed
@mcfly3001 mcfly3001 deleted the length-tool-zoom branch October 20, 2025 10:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.