Any VTK users?

Soldato
Joined
9 Jun 2006
Posts
2,642
Hi, I'm using VTK to perform volume rendering. Im trying to add a cropping plane to it, but I'm struggling to get it working. i.e.

I've tried using the SetCroppingRegionPlane method of vtkVolumeRayCastMapper class, which does nothing. So I also refresh the window by calling refresh on wxVTKRenderWindowInteractor object. This again does nothing.

Can't think of what is wrong, as the values are there when I call the GetCroppingRegionPlane method. Either I haven't turned on cropping or it's not refreshing the window. I've tried turning cropping on in the vtkVolumeRayCastMapper object but results in nothing being displayed in the window.

Any suggestions? Difficult to find any info on the web.
 
Back
Top Bottom