<div dir="ltr">The issue here is related to the fact that vtkCanvas is a heavy weight component, hence you can not easily put layer on top of it.<div><br></div><div>But you can try to search on the web on how to paint over an heavy weight component in Java. (Which is not VTK specific.)</div>
<div>Although, you might found other alternative such as using the VTK JOGL renderer that rely on Swing instead of Awt, but be aware that the performance might be not as good.</div><div><br></div><div>Seb</div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Tue, Mar 18, 2014 at 1:44 PM, -Daniel- <span dir="ltr"><<a href="mailto:ich_daniel@habmalnefrage.de" target="_blank">ich_daniel@habmalnefrage.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi there,<br>
<br>
how can I draw on a vtkCanvas?<br>
In my tests was the painting behind the vtkCanvas. But the painting should<br>
be in the front of view.<br>
<br>
<br>
I am running VTK 6.0 and Java 6 on a Windows 7 32-bit PC.<br>
<br>
Thanks for all hints<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/painting-on-vtkCanvas-tp5726385.html" target="_blank">http://vtk.1045678.n5.nabble.com/painting-on-vtkCanvas-tp5726385.html</a><br>
Sent from the VTK - Users mailing list archive at Nabble.com.<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
</blockquote></div><br></div>