Thu, 08/26/2021 - 04:38
Forums:
Hello,
I am trying to display a trihedron in my AIS_InteractiveContext at the origin. I would like for this trihedron to show "on top" of all other objects. I am aware of V3d_Viewer::TriedronDisplay() but this does not move relative to the context, it instead stays anchored to one location in the view. I can accomplish creating the trihedron and anchoring it to the origin by using an AIS_Trihedron but this does not show on top of other objects (it also is less visually appealing than V3d_Trihedron).
Is there any way to accomplish this behavior?
Thanks in advance!
Thu, 08/26/2021 - 05:13
To show shape on top of others, try SetZLayer(Graphic3d_ZLayerId_Topmost);
Thu, 08/26/2021 - 08:39
That did the trick. Thanks!