[vtkusers] Re: Wrong extent after SetInput (vtkVolumeMapper problem??)

Benjamin King benjaminking at web.de
Wed Dec 4 14:07:33 EST 2002


I have some more information concerning my volume rendering problem.

1) When I use a pipeline like input -> vtkImageViewer, the visible 
extent changes when the input changes

2) When I use a pipeline like input -> vtkImageClip -> vtkImageViewer, 
the visible extent remains the same after it's set to the full extent of 
the first input.

3) When I use the pipeline in 2) and do a 
vtkImageClip::ResetOutputWholeExtent after changing the input, 
everything works fine again

4) The problem occured with vtkVolumeRayCastMapper and
vtkVolumeTextureMapper2D, so I had a look at the source code for
vtkVolumeMapper. There is a suspicious looking vtkImageClip in there,
but I'm not sure what to do about it. Do I really have to change the VTK 
source code and insert that vtkImageClip::ResetOutputWholeExtent in 
vtkVolumeMapper::SetInput or is there a smarter way?

thanks for your help,
   Benjamin



-- 
There are only 10 types of people in this world:
Those who understand binary, and those who don't.






More information about the vtkusers mailing list