1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-29 14:00:49 +03:00

0032725: Visualization - Graphic3d_Structure::SetDisplayPriority() should use public enumeration Graphic3d_DisplayPriority

Added new enumeration Graphic3d_DisplayPriority.
Graphic3d_Layer now defines a fixed-length array of priorities.
Properties Graphic3d_CStructure::Id, Priority, PreviousPriority have been wrapped into methods.
This commit is contained in:
kgv
2021-12-08 15:55:11 +03:00
committed by smoskvin
parent e3dae4a9f3
commit e463b2f685
39 changed files with 237 additions and 233 deletions

View File

@@ -240,7 +240,7 @@ void XCAFPrs_AISObject::Compute (const Handle(PrsMgr_PresentationManager)& thePr
if (XCAFPrs::GetViewNameMode())
{
// Displaying Name attributes
thePrs->SetDisplayPriority (10);
thePrs->SetDisplayPriority (Graphic3d_DisplayPriority_Topmost);
DisplayText (myLabel, thePrs, Attributes()->DimensionAspect()->TextAspect(), TopLoc_Location());//no location
}
}