#include <Config_PropManager.h>
#include <Config_Translator.h>
+#include <Prs3d_PointAspect.hxx>
+#include <Graphic3d_AspectMarker3d.hxx>
+
#include <QWidget>
#include <QLayout>
#include <QPainter>
}
}
+void setPointBallHighlighting(AIS_Shape* theAIS)
+{
+ Handle(Prs3d_Drawer) aDrawer = theAIS->HilightAttributes();
+ if (aDrawer->HasOwnPointAspect()) {
+ Handle(Prs3d_PointAspect) aPntAspect = aDrawer->PointAspect();
+ aPntAspect->Aspect()->SetType(Aspect_TOM_BALL);
+ aDrawer->SetPointAspect(aPntAspect);
+ theAIS->SetHilightAttributes(aDrawer);
+ }
+}
+
} // namespace ModuleBase_Tools