How to customize highlight selecte

Hello, everybody!
I know how to display Automatic highlighting,It's about moveto.But as far as I know,
const Handle(Prs3d_Drawer)& aPartSelStyle = myContext->HighlightStyle(Prs3d_TypeOfHighlight_LocalSelected);
The above method can control the highlight status after the selection,
aPartSelStyle->SetMethod(Aspect_TOHM_COLOR);
aPartSelStyle->SetColor(Quantity_NOC_GREEN1);
aPartSelStyle->SetDisplayMode(1);
aPartSelStyle->SetTransparency(0.4f);
There are only a few ways,If I want TopoDS Wire to be dotted,Is not possible,need to customize the method.Create a subclass of AIS Shape,rewriting Compute function,But I don't know exactly how to do it,I hope someone can help me,I hope it looks like the picture

Attachments: 
Luc Wens's picture