[vtkusers] vtkCaptionActor2D always on top?

vidyadhar vidyadhar at lucidindia.net
Wed Mar 30 22:44:21 EST 2005


Hi,
I think this is not a problem with z-order. The rendering order puts all 2D
actors at end of rendering order which brings them on top. I think that is
the problem and not z-order.
HTH
Vidyadhar
----- Original Message -----
From: "Mark Wyszomierski" <markww at gmail.com>
To: <vtkusers at public.kitware.com>
Sent: Wednesday, March 30, 2005 9:27 PM
Subject: [vtkusers] vtkCaptionActor2D always on top?


> Hi,
>
> I created a vtkCaptionActor2D which works fine, but the caption is
> always displayed first in the Z order, I would actually like it to be
> hidden if it is behind other geometry.
>
> vtkCaptionActor2D *caption = vtkCaptionActor2D::New();
> caption->SetCaption("Hello");
> caption->SetAttachmentPoint(1,0,0);
> caption->ThreeDimensionalLeaderOn();
>
> I thought if I called ThreeDimensionalLeaderOn(), the z-buffering
> would work, but the caption is still always displayed on top. Any
> ideas?
>
> Thanks,
> Mark
>
>




More information about the vtkusers mailing list