Mon, 03/15/2021 - 17:23
Hi,
is there a possibility to assign different colors to the arrows of a trihedron?
I can set a color to every axis of the trihedron in the following way:
Handle(AIS_Trihedron) axissystem = new AIS_Trihedron(anAxis);
axissystem->SetSize(10);
Handle(Prs3d_DatumAspect)datumaspect = new Prs3d_DatumAspect();
Handle(Prs3d_Drawer) aDrawer = axissystem->Attributes();
datumaspect->LineAspect(Prs3d_DP_XAxis)->SetColor(Quantity_NOC_RED);
datumaspect->LineAspect(Prs3d_DP_YAxis)->SetColor(Quantity_NOC_GREEN);
datumaspect->LineAspect(Prs3d_DP_ZAxis)->SetColor(Quantity_NOC_BLUE1);
datumaspect->ArrowAspect()->SetColor(Quantity_NOC_BLACK);
aDrawer->SetDatumAspect(datumaspect);
but I can only set the color for all arrows. That means, every arrow has the same color. Is there a possibilty to assign the color for each arrow separately?
best regards,
Joachim
Wed, 03/17/2021 - 17:29
I guess what you are looking for is described the following issue.