[vtkusers] vtkBalloonWidget renders behind vtkScalarBarActor
gbivins at objectreservoir.com
Tue Nov 18 17:04:23 EST 2008
I understand the 2D actor situation but I'm unfamiliar with what you mean by
"layers"? I see there is an interface for setting the layer of the renderer
but if I use this, it looks like I'd also have to create a separate renderer
or am I reading this wrong?
Karthik Krishnan-2 wrote:
> Both the scalar bar actor and the balloon are actor2D's and
> have no depth information. ie, they are rendered on the
> overlay plane. The only thing controlling who is on top is the
> order in which the props are added to the renderer.
> Two solutions.
> 1. Bad one. Enable the balloon widget after the scalar bar
> 2. Good one. Add the two to different layers. Props in different
> layers are composited one after another.
> On Tue, Nov 18, 2008 at 4:33 PM, Gerrick Bivins
> <gbivins at objectreservoir.com
>> Hi All,
>> I've attached a vtkBalloonWidget to vtkScalarBarActor and it appears when
>> hover over the scalar bar BUT it renders behind the scalar bar (see
>> attached). Is there a way to specify the ordering so taht the balloon
>> widget renders on top (last).
>> View this message in context:
>> Sent from the VTK - Users mailing list archive at Nabble.com.
>> This is the private VTK discussion list.
>> Please keep messages on-topic. Check the FAQ at:
>> Follow this link to subscribe/unsubscribe:
> Karthik Krishnan
> R&D Engineer,
> Kitware Inc.
> Ph: 518 371 3971 x119
> Fax: 518 371 3971
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
> Follow this link to subscribe/unsubscribe:
View this message in context: http://www.nabble.com/vtkBalloonWidget-renders-behind-vtkScalarBarActor-tp20568685p20569108.html
Sent from the VTK - Users mailing list archive at Nabble.com.
More information about the vtkusers