[vtkusers] vtkImageCast Extent-problem

Florian Schmidt mista.tapas at gmx.net
Wed Aug 20 13:25:03 EDT 2003


On Wed, 20 Aug 2003 18:43:47 +0100
Benjamin King <king.benjamin at mh-hannover.de> wrote:

> Hi Florian,
> 
> your problem is caused by the vtkVolumeMapper class. It uses a vtkImageClip 
> object whose extent isn't reset correctly when the input changes. There is 
> a new method vtkVolumeMapper::SetUseImageClipper that looks promising. I 
> didn't test it, but you can try to switch the vtkImageClip off.
> If this doesn't work, there is some code in vtkVolumeMapper::SetInput that 
> resets the extent of the vtkImageClip which has been commented out. You can 
> try to put that back in.

Thanks for the infos :) I will give this a try tomorrow [when i'm back at work].

Regards, Florian Schmidt



More information about the vtkusers mailing list