Drawing a VTK point in real-time

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Drawing a VTK point in real-time

messari.omar
I'd like to draw a point using the VTK library in real-time. I have a little
problem while doing this, though. My program is drawing the point but I
can't see it until I click on my windows control, have anyone any idea how
to fix this problem






--
Sent from: http://vtk.1045678.n5.nabble.com/VTK-Dev-f1251487.html
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Search the list archives at: http://markmail.org/search/?q=vtk-developers

Follow this link to subscribe/unsubscribe:
https://public.kitware.com/mailman/listinfo/vtk-developers

Reply | Threaded
Open this post in threaded view
|

Re: Drawing a VTK point in real-time

Michael Migliore
Hi,
Please, have a look at the following example: https://www.vtk.org/Wiki/VTK/Examples/Cxx/GeometricObjects/Point
Try to manually call Render on your vtkRenderWindow.

Regards,
Michael

On Wed, Jun 6, 2018 at 10:46 AM, messari.omar <[hidden email]> wrote:
I'd like to draw a point using the VTK library in real-time. I have a little
problem while doing this, though. My program is drawing the point but I
can't see it until I click on my windows control, have anyone any idea how
to fix this problem






--
Sent from: http://vtk.1045678.n5.nabble.com/VTK-Dev-f1251487.html
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Search the list archives at: http://markmail.org/search/?q=vtk-developers

Follow this link to subscribe/unsubscribe:
https://public.kitware.com/mailman/listinfo/vtk-developers



_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Search the list archives at: http://markmail.org/search/?q=vtk-developers

Follow this link to subscribe/unsubscribe:
https://public.kitware.com/mailman/listinfo/vtk-developers

Reply | Threaded
Open this post in threaded view
|

Re: Drawing a VTK point in real-time

messari.omar
thank you so much it's working i didn't notice that i forgot to call the
render on the vtkRenderwindow.

Thanks again.

Best Regards



--
Sent from: http://vtk.1045678.n5.nabble.com/VTK-Dev-f1251487.html
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Search the list archives at: http://markmail.org/search/?q=vtk-developers

Follow this link to subscribe/unsubscribe:
https://public.kitware.com/mailman/listinfo/vtk-developers