[vtkusers] Image plane disappearing
Doug Hoppes
dhoppes at mbfbioscience.com
Thu Aug 13 07:50:44 EDT 2009
Excellent!!!! Thanks. One of my co-workers found the same exact
solution.
-----Original Message-----
From: Anka Kochanowska [mailto:anka at bic.mni.mcgill.ca]
Sent: Thursday, August 13, 2009 7:49 AM
To: Doug Hoppes
Cc: vtkusers at vtk.org
Subject: Re: [vtkusers] Image plane disappearing
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