[vtkusers] problem with scaling with wxVTKRenderWindow
Julian Humphries
humphries at mail.utexas.edu
Tue Jul 17 14:35:07 EDT 2001
....ren.GetActiveCamera().SetClippingRange(1.0,1000)(or other values as
appropriate. The best values depend on the actual scalar size of your object.
The default clipping planes seem to include a much smaller range.
Julian Humphries
Juerg Tschirren wrote:
>
> I wrote a VTK application in Python with wxPython. The problem I run into
> is mit wxVTKRenderWindow. When I slide the mouse with the right
> mouse-button pressed my scene scales similar like it does with
> vtkRenderWindow. But the difference is that, if I scale to much in or out,
> my objects "clip" off, means they disapear.
>
> For example if I scale down (right mouse-botton pressed and moving the
> mouse towards me), then in wxVTKRenderWindow all the objects disapear
> after a short mouse-movement, whereas with vtkRenderWindow the objects are
> getting smaller and smaller till they finally "melt together" in one
> single point.
>
> Does anybody know what is causing that? How can I avoid this clipping?
>
> Juerg
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
More information about the vtkusers
mailing list