0023595: [CEA 2275] : Manual test KO GEOM : The fields are not displayed

- Fixed pb raised after migration to OCCT 7.3
This commit is contained in:
vsr 2018-09-24 14:12:09 +03:00
parent bc5d3eeb20
commit 8c9ebd878e
2 changed files with 7 additions and 0 deletions

View File

@ -206,6 +206,11 @@ Standard_CString GEOM_AISShape::getName()
return myName.ToCString();
}
Standard_Boolean GEOM_AISShape::AcceptDisplayMode(const Standard_Integer theMode) const
{
return theMode >= Wireframe && theMode <= CustomHighlight;
}
void GEOM_AISShape::Compute(const Handle(PrsMgr_PresentationManager3d)& aPresentationManager,
const Handle(Prs3d_Presentation)& aPrs,
const Standard_Integer aMode)

View File

@ -76,6 +76,8 @@ public:
Standard_EXPORT void highlightSubShapes(const TColStd_IndexedMapOfInteger& aIndexMap, const Standard_Boolean aHighlight );
Standard_Boolean AcceptDisplayMode(const Standard_Integer theMode) const;
Standard_EXPORT void SetShadingColor(const Quantity_Color &aCol);
Standard_EXPORT void SetEdgesInShadingColor(const Quantity_Color &aCol);
Standard_EXPORT void SetLabelColor(const Quantity_Color &aCol);