In my project, i want to display an 3D curve with the highest priority. I tried to use this code:
void PK_OCC2DSegment::Compute(const Handle(PrsMgr_PresentationManager3d)& aPresentationManager,
const Handle(Prs3d_Presentation)& aPresentation,
const Standard_Integer aMode)
aPresentation->SetDisplayPriority(10);// highest priority like transparent objects
But, in my model with some shaded 3D shapes, i couldn't to see my 3D curve if it go through my 3D shapes or my 3D shapes overlaped on it (at current projection).