Display priority

I want to display a point in a box.
But the shaded box hides the point.

Is there any way to enable this?

Jérome Dufaure's picture

In order to see your point inside the box, you can display your box in wireframe mode or add transparency to your shaded box.
good luck

mir7942's picture

Thank you for your reply.
But I want to see my point inside the box in shaded mode.
For example, CAD systems, such as CATIA V5, Solid Works and etc, implements this to show datums and sketch entities hidden by solid body.

kim wj's picture

Handle_AIS_InteractiveContext ctxt=new ...

//display box
Handle_AIS_Shape ais_box=new ...

//draw point
Handle_Graphic3d_Structure str_pt=new...

//update view

This will make the point always displayed on top of your screen, regardless of shaded or wireframe mode.