cornerstone3D icon indicating copy to clipboard operation
cornerstone3D copied to clipboard

more doc for viewport

Open 1009058470 opened this issue 1 year ago • 7 comments
trafficstars

What feature or change would you like to see made?

I have find oblique Volume Slice like this

case orientationOptions.oblique: // Some random oblique value for this dataset viewUp = [-0.5962687530844388, 0.5453181550345819, -0.5891448751239446]; viewPlaneNormal = [ -0.5962687530844388, 0.5453181550345819, -0.5891448751239446, ];

    viewport.setCamera({ viewUp, viewPlaneNormal });
    viewport.resetCamera();
    break;

I want to know how this two param(viewUp and viewPlaneNormal) work? Any help?

Why should we prioritize this feature?

we want to doc for viewport that can show different clip image in 3d now this is to easy for that

now doc

1009058470 avatar Jun 21 '24 07:06 1009058470

You can look at vtk book to know more about camera https://vtk.org/vtk-textbook/

But basically

viewUp is the vector that points from camera focal point to the up ViewPlaneNormal is a vector from focal point to the camera position

What is your use case? Regardless of these two options, what orientation do you want to render?

sedghi avatar Jun 21 '24 15:06 sedghi

You can look at vtk book to know more about camera https://vtk.org/vtk-textbook/

But basically

viewUp is the vector that points from camera focal point to the up ViewPlaneNormal is a vector from focal point to the camera position

What is your use case? Regardless of these two options, what orientation do you want to render?

I want to do render cpr using cornerstone3D like this

1009058470 avatar Jun 24 '24 01:06 1009058470

Can you share a video?

sedghi avatar Jun 28 '24 17:06 sedghi

image B T%F4$79{RC5@_5Z)NAC41

something like this using this

1009058470 avatar Jul 01 '24 06:07 1009058470

What you are describing is curved planar reconstruction. Unfortunately, it is not in the immediate roadmap.

sedghi avatar Jul 02 '24 17:07 sedghi

What you are describing is curved planar reconstruction. Unfortunately, it is not in the immediate roadmap. Is this possible through cornerstone3d using vtk.js ? i want to have a try

1009058470 avatar Jul 03 '24 02:07 1009058470

Yes it will use vtk.js

sedghi avatar Jul 03 '24 12:07 sedghi