View in #cornerstone3d on Slack
@Christopher_Nagy: I am using a VolumeViewport with multiple volumes (added via setVolumesForViewports
). How does cornerstone decide which volume is loaded? How can I change that afterwards, i.e., display a different volume?
@Alireza_Sedghi: We just had office hours i wished you were there to talk about this
there is no decision in this process
if you set -> it will show
if you want to change -> set again
@Christopher_Nagy: Oh okay, when are the office hours usually? Next time I have a question I could come by
@Alireza_Sedghi: https://cornerstonejs.slack.com/archives/C9H262R2N/p1732802402066909
[November 28th, 2024 6:00 AM] ar.sedghi: Just a quick reminder that OHIF office hours will begin in ~60 minutes . If you’ve already asked your questions on the community forum, GitHub, or here on Slack and haven’t received a response yet, this is a fantastic opportunity for you to directly communicate with the maintainers of OHIF and Cornerstone3D. Feel free to join and ask any remaining questions you may have.
• add your questions https://docs.google.com/document/d/1avf3iA9pUUHL8kaps3Cxkx2mkssBSQM7Q6cQAZqYkOM/edit?usp=sharing|here
• join via zoom https://us02web.zoom.us/j/87832646908?pwd=SEcrSnlBcGFwOVhQWEJjMnZQb1JBdz09|here
10 AM Thursdays
@Christopher_Nagy: I just noticed it works, you can set a single volume which will be made visible, and afterwards all other viewports will still be accesible via getAllVolumeIds
Thanks a lot.
@Alireza_Sedghi: there is also add...
our example are great place to get yourself familiar with api
https://www.cornerstonejs.org/docs/examples
ofcourse we have api docs too https://www.cornerstonejs.org/docs/api/core/functions/setvolumesforviewports/
Function: setVolumesForViewports() | Cornerstone.js