[vtkusers] VTK actors only appear after camera zoom action by user

Ken Martin ken.martin at kitware.com
Tue Nov 22 14:46:38 EST 2016


After adding the actor try something like

myRenderer->ResetCamera();


On Mon, Nov 21, 2016 at 1:01 PM, BBerco <bebe0705 at colorado.edu> wrote:

> Dear all,
> I am dealing with an annoying delay in the rendering process. Basically, a
> shape model stored in a vtkPolyData and displayed inside a QVTKWidget
> through the usual mapper/actor chain only shows after a zoom in/out action.
>
> I was thinking that calling
> *this -> qvtkWidget -> GetRenderWindow() -> Render();*
>
> after adding the actor to the current renderer was sufficient, but it seems
> I missed something.
>
> Any thoughts?
>
> Best,
> Ben
>
>
>
>
> --
> View this message in context: http://vtk.1045678.n5.nabble.
> com/VTK-actors-only-appear-after-camera-zoom-action-by-user-tp5741255.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
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>



-- 
Ken Martin PhD
Chairman & CFO
Kitware Inc.
28 Corporate Drive
Clifton Park NY 12065
518 371 3971

This communication, including all attachments, contains confidential and
legally privileged information, and it is intended only for the use of the
addressee.  Access to this email by anyone else is unauthorized. If you are
not the intended recipient, any disclosure, copying, distribution or any
action taken in reliance on it is prohibited and may be unlawful. If you
received this communication in error please notify us immediately and
destroy the original message.  Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20161122/a8c7aeb0/attachment.html>


More information about the vtkusers mailing list