[vtkusers] Image plane disappearing
Anka Kochanowska
anka at bic.mni.mcgill.ca
Thu Aug 13 07:49:04 EDT 2009
Hi,
I had the same problem and resolved it (following some advice from
vtkusers) calling:
renderer->ResetCameraClippingRange().
Anka
Doug Hoppes wrote:
>
> Hi all,
>
> I’ve got a strange problem and not sure what is causing it. I have
> loaded an image stack (10 images) into a VTK window. When the user
> uses the mouse wheel, I move through the image plane by setting all of
> the images to be invisible, but the current plane.
>
> The weird situation is that, if I am looking at the image stack
> head-on (the camera is pointing directly at the top of the image
> plane), when I scroll through the plane, some of the images do not
> show. If I move my mouse slightly, the image shows immediately. If I
> am placing the camera askew to the image stack (so that you see the
> stack at an angle), everything works fine.
>
> I tried calling the InteractorStyle->Render() after setting the image
> plane to be visible, but, that doesn’t seem to work.
>
> Doug
>
> ----------------------------------------------------------------------
>
> Doug Hoppes dhoppes at mbfbioscience.com <mailto:dhoppes at mbfbioscience.com>
>
> Senior Software Engineer
>
> MBF Bioscience (Microbrightfield, Inc.)
>
> +1.802.288.9290 ext: 119
>
> www.mbfbioscience.com
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
More information about the vtkusers
mailing list