[vtkusers] Cropping with VolumePro

Marko Rosenmueller dr at windos.de
Thu Jul 18 16:33:51 EDT 2002


Hi vtkusers,
 
i have some problems to do cropping with a VolumePro500. I have already
implemented cropping with software-raycasting but when I switch to the
VolumePro-Board I only get a black window. Without cropping all works
fine.
 
To enable cropping i do :
 
m_pVolumeMapper->SetCropping(TRUE);          //m_pVolumeMapper is a
vtkVolumeProMapper*
m_pVolumeMapper->SetCroppingRegionFlagsToSubVolume();
m_pVolumeMapper->SetCroppingRegionPlanes(100,200,100,200,100,200);
 
The center of my volume is at (150,150,150) and with Software-Raycasting
the crop-volume is as expected around the center. 
 
I also tried SetSubVolume:
((vtkVolumeProMapper*)m_pVolumeMapper)->SetSubVolume(100,200,100,200,100
,200);
 
But this did not have an effect at all, the whole volume is rendered.
Has the SubVolume rendering to be enabled? But How?
 
Has anybody an idea?
 
 
Thanks in advance,
Marko
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20020718/d0db724a/attachment.htm>


More information about the vtkusers mailing list