[vtkusers] Disappearing vtkActor after camera rotate
Francois Bertel
francois.bertel at kitware.com
Fri Sep 18 12:09:39 EDT 2009
Hello,
Call this->renderer->ResetCameraClippingRange(); right before
this->renderWindow->Render();
Regards.
On Fri, Sep 18, 2009 at 12:06 PM, Slash1985 <tpieciak at gmail.com> wrote:
>
> Dear Users,
>
> I am trying to add simple functionality to my application, which rotates the
> camera. Everything is fine, except vtkActor representing object which partly
> disappearing.
>
> On the left image current scene, on the right scene, which should look
> like..
> http://img19.imageshack.us/img19/8640/vtkactor.jpg
>
> Here is the code corresponding to functionality:
>
> this->renderer->ResetCamera();
> this->renderer->GetActiveCamera()->Elevation(-70.0);
> this->renderer->GetActiveCamera()->Roll(-20.0);
> this->renderWindow->Render();
>
>
> Tomasz Pieciak
> --
> View this message in context: http://www.nabble.com/Disappearing-vtkActor-after-camera-rotate-tp25511349p25511349.html
> Sent from the VTK - Users mailing list archive at Nabble.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
>
--
François Bertel, PhD | Kitware Inc. Suite 204
1 (518) 371 3971 x113 | 28 Corporate Drive
| Clifton Park NY 12065, USA
More information about the vtkusers
mailing list