Skip to content

feat(PlanarFreeHandRoiTool) : implementing PlanarFreeHandRoiTool on oblique plane - #2619

Closed
Celian-abd wants to merge 3 commits into
cornerstonejs:mainfrom
Celian-abd:planarfreehand-oblique
Closed

feat(PlanarFreeHandRoiTool) : implementing PlanarFreeHandRoiTool on oblique plane#2619
Celian-abd wants to merge 3 commits into
cornerstonejs:mainfrom
Celian-abd:planarfreehand-oblique

Conversation

@Celian-abd

Copy link
Copy Markdown
Contributor

Context

Right now, if we try to draw an annotation using the PlanarFreeHandRoiTool on a non orthogonal plane, it will show the following error : 'No support yet for oblique plane planar contours'.

Changes & Results

  • Changed getSubPixelSpacingAndXYDirections.ts to add the oblique case.

Testing

  • Use the crosshair to rotate
  • Draw an annotation on a non orthogonal viewport

Checklist

PR

  • [] My Pull Request title is descriptive, accurate and follows the
    semantic-release format and guidelines.

Code

  • [] My code has been well-documented (function documentation, inline comments,
    etc.)

Public Documentation Updates

  • [] The documentation page has been updated as necessary for any public API
    additions or removals.

Tested Environment

  • [] "OS:
  • [] "Node version:
  • [] "Browser:

@sedghi

sedghi commented Jul 8, 2026

Copy link
Copy Markdown
Member

Thank you for this groundwork on removing the oblique-plane restriction; #2744 builds directly on this implementation and additionally corrects the stats sampling for oblique MPR viewports, so we are consolidating review there. Credit for the approach originates here.

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.

2 participants