I have a problem with displaying a shaded object defined into a local context. For instance, the following code, where m is an Handle(AIS_InteractiveContext), doesn't work :
Handle(AIS_Shape)s=new AIS_Shape( .. a topoDS_Shape ..);
As a result, my local context is opened with a wireframe representation of s. The same example in the Neutral Point provide the expected result.
I Hope someone could help me.