Skip to content

Conversation

@floryst
Copy link
Contributor

@floryst floryst commented Oct 23, 2024

Context

#3135

Results

Using setUseLabelOutline(true) with the ImageMapper will now work with the other slicing modes.

Changes

  • vtkImageMapper shader changed to support I/J slicing modes with label outline

PR and Code Checklist

  • semantic-release commit messages
  • Run npm run reformat to have correctly formatted code

Testing

  • This change adds or fixes unit tests
  • Tested environment:
    • vtk.js:
    • OS:
    • Browser:

I'll add tests later. Just wanted to get this out first.

@floryst floryst requested a review from finetjul October 23, 2024 19:59
@floryst floryst linked an issue Oct 23, 2024 that may be closed by this pull request
@PaulHax
Copy link
Collaborator

PaulHax commented Oct 23, 2024

This fixes outline rendering in VolView PR: Kitware/VolView#670

@finetjul
Copy link
Member

@sedghi

Copy link
Member

@finetjul finetjul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM but I prefer @sedghi to review

Copy link
Contributor

@sedghi sedghi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it makes sense, can we just make sure the original data also works now?

@floryst floryst added this pull request to the merge queue Oct 25, 2024
@floryst floryst removed this pull request from the merge queue due to a manual request Oct 25, 2024
@floryst
Copy link
Contributor Author

floryst commented Oct 25, 2024

I think it makes sense, can we just make sure the original data also works now?

Which original data? The existing tests pass, and I'll adapt tests from @PaulHax for I and J slicing.

@floryst
Copy link
Contributor Author

floryst commented Nov 4, 2024

I've added I+J slicing tests.

@floryst floryst added this pull request to the merge queue Nov 6, 2024
Merged via the queue into master with commit 3027990 Nov 6, 2024
@github-actions
Copy link

github-actions bot commented Nov 6, 2024

🎉 This PR is included in version 32.6.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@github-actions github-actions bot added the released Automated label label Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

released Automated label

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] Image Slice Label Map Outline Rendering with SlicingMode.I

4 participants