Both the scalar bar actor and the balloon are actor2D&#39;s and <br>have no depth information. ie, they are rendered on the <br>overlay plane. The only thing controlling who is on top is the<br>order in which the props are added to the renderer.<br>
<br>Two solutions.<br><br>1. Bad one. Enable the balloon widget after the scalar bar<br><br>2. Good one. Add the two to different layers. Props in different<br>layers are composited one after another.<br><br><div class="gmail_quote">
On Tue, Nov 18, 2008 at 4:33 PM, Gerrick Bivins <span dir="ltr">&lt;<a href="mailto:gbivins@objectreservoir.com">gbivins@objectreservoir.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
Hi All,<br>
I&#39;ve attached a vtkBalloonWidget to vtkScalarBarActor and it appears when I<br>
hover over the scalar bar BUT it renders behind the scalar bar (see<br>
attached). Is there a &nbsp;way to specify the ordering so taht the balloon<br>
widget renders on top (last).<br>
Gerrick<br>
<a href="http://www.nabble.com/file/p20568685/balloonBehind2.jpg" target="_blank">http://www.nabble.com/file/p20568685/balloonBehind2.jpg</a> balloonBehind2.jpg<br>
<a href="http://www.nabble.com/file/p20568685/balloonBehindScalarBar.jpg" target="_blank">http://www.nabble.com/file/p20568685/balloonBehindScalarBar.jpg</a><br>
balloonBehindScalarBar.jpg<br>
<br>
--<br>
View this message in context: <a href="http://www.nabble.com/vtkBalloonWidget-renders-behind-vtkScalarBarActor-tp20568685p20568685.html" target="_blank">http://www.nabble.com/vtkBalloonWidget-renders-behind-vtkScalarBarActor-tp20568685p20568685.html</a><br>

Sent from the VTK - Users mailing list archive at Nabble.com.<br>
<br>
_______________________________________________<br>
This is the private VTK discussion list.<br>
Please keep messages on-topic. Check the FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><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><br clear="all"><br>-- <br>Karthik Krishnan<br>R&amp;D Engineer,<br>Kitware Inc.<br>Ph: 518 371 3971 x119<br>Fax: 518 371 3971<br>