Display Trihedron at origin

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!

he huang's picture

To show shape on top of others, try SetZLayer(Graphic3d_ZLayerId_Topmost);

Jacob Bandyk's picture

That did the trick. Thanks!