forked from cornerstonejs/cornerstone3D
-
Notifications
You must be signed in to change notification settings - Fork 0
Length tool zoom #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* 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.
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.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add a new tool "LengthToolZoom" which is a copy and modification of LengthTool. Behaviour and styling according to SHS demands.