[vtkusers] vtkImagePlaneWidget + SetTextureVisibility()

Mark Wyszomierski markww at gmail.com
Thu Apr 12 11:35:04 EDT 2007


Hi,

I'm using vtkImagePlaneWidget, it's a great class. I don't want to
display the resliced texture on the face of the place, I'm directing
it to a separate window instead. I use:

    SetTextureVisibility(0);

to turn it off. Sometimes this works - I'll get a reslice output -
other times the output of the reslicing has an extent of (0,0,0) - any
idea why this could be happening?

I find that if I leave texture visibility on all the time, it never
fails. For now, I did something like:

    SetTextureVisibility(1);
    ReslicePlaneOnce(....);
    SetTextureVisibility(0);

seems to be working so far. Any ideas?

Thanks,
Mark



More information about the vtkusers mailing list