aDrawer->SetPointAspect(
new Prs3d_PointAspect(Aspect_TOM_POINT, Quantity_NOC_YELLOW, POINT_SIZE));
}
- SUIT_ResourceMgr* aResMgr = ModuleBase_Preferences::resourceMgr();
- QColor aQColor = aResMgr->colorValue("Viewer", "scalar_bar_text_color", Qt::black);
-
- myLabelColor = Quantity_Color(aQColor.redF(), aQColor.greenF(), aQColor.blueF(),
- Quantity_TOC_RGB);
-
SetMaterial(Graphic3d_NOM_PLASTIC);
}
const Handle(Prs3d_Presentation)& thePrs, const Standard_Integer theMode)
{
SUIT_ResourceMgr* aResMgr = ModuleBase_Preferences::resourceMgr();
+ QColor aQColor = aResMgr->colorValue("Viewer", "scalar_bar_text_color", Qt::black);
+ Quantity_Color aLabelColor = Quantity_Color(aQColor.redF(), aQColor.greenF(), aQColor.blueF(),
+ Quantity_TOC_RGB);
+
ModelAPI_AttributeTables::ValueType aType = dataType();
DataPtr aData = myFeature->data();
switch (aType) {
Handle(Graphic3d_AspectText3d) anAspectText3d = new Graphic3d_AspectText3d();
anAspectText3d->SetStyle(Aspect_TOST_ANNOTATION);
- anAspectText3d->SetColor(myLabelColor);
+ anAspectText3d->SetColor(aLabelColor);
aGroup->SetPrimitivesAspect(anAspectText3d);
int aT = aResMgr->integerValue("Viewer", "scalar_bar_text_height", 14);