I need to introduce an image from a file in the Interactive Context and display it, I did this:
Handle(Graphic2d_GraphicObject) gr_obj=new Graphic2d_GraphicObject();
Quantity_Length Y= 0.0;
Quantity_Length adX= 0.0;
Quantity_Length adY= 0.0;
Handle(Graphic2d_ImageFile) image = new Graphic2d_ImageFile(gr_obj,aFile,X,Y,adX,adY,Aspect_CP_Center,aScale);
Probably, I have something wrong whit the Graphic2d_GraphicObject...I know that the displaying part is missing but I don't know if I have to use Prs3d_Presentation.
Thank you for your help.