cornerstone3D icon indicating copy to clipboard operation
cornerstone3D copied to clipboard

Render vtkVolume without clipping

Open yonvaida opened this issue 3 years ago • 5 comments
trafficstars

Is there a solution to render in volume viewport a volume without creating clipping planes?

yonvaida avatar Sep 02 '22 09:09 yonvaida

The early version of Cornerstone3D was that way, by manipulating the camera clipping range (not clipping plane). But since we needed to implement non-image vtk actors we had to embrace the clipping planes (which is better performance wise too).

What is your usecase where you don't want clipping planes?

sedghi avatar Sep 05 '22 14:09 sedghi

I want to show whole volume in view like this view. image I remove cliping planes from volume Viewport and this is the result.

yonvaida avatar Sep 06 '22 07:09 yonvaida

and what should be the expected result?

sedghi avatar Sep 06 '22 12:09 sedghi

this shoud be de expected result. But for this result i need to change library do not use cliping planes in volume viewport. Is there any another method?

yonvaida avatar Sep 06 '22 12:09 yonvaida

No there is no other method. Our VolumeViewport is currently an MPR viewport, so it has clipping planes. It has a Perspective for polyData actors.

For "real" 3D Viewport we need another type which is not implemented yet, but seems like you have got it working

sedghi avatar Sep 07 '22 13:09 sedghi

I'll close this since we added the new volume_3d viewport

sedghi avatar Jan 12 '23 20:01 sedghi