resetCameraClippingRange does not take into account all actors

Anastasiya Ruzhanskaya <[email protected]> Sat, 23 Feb 2019 15:04:47 +0300
Newsgroups gmane.comp.lib.vtk.user
Message-ID <CAH7gUZZTROFq_MkBToT45b8Lxa2R=U9P86ti6o3_wB11JPmCjQ@mail.gmail.com>
Hello!

I have some actors and during my work, I want to focus on each of them. I
use resetCamera with the corresponding bounding box for this. After being
focused, I want to rotate objects (actors). When I rotate, I have a
problem, that for some angles my object disappear. I think this is a
clipping problem and I use resetCameraClippingRange. But nothing changes. I
am totally sure I provided my renderer with all actors, so this function
should take into account all actors on the scene and make them all visible
for any rotation angle.

Probably there are some tricks in order to make this function work
correctly?

_______________________________________________
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

Search the list archives at: http://markmail.org/search/?q=vtkusers

Follow this link to subscribe/unsubscribe:
https://vtk.org/mailman/listinfo/vtkusers