Mon, 09/19/2016 - 11:25
Forums:
Hello
I am using OpenCascade several years. I had working application in version 6.7.0 . I used custom draw callback for specific OpenGL drawings.
I have passed my callback by void V3d_View::SetWindow(const Handle(Aspect_Window)& aWindow,const Aspect_RenderingContext aContext,const Aspect_GraphicCallbackProc& aDisplayCB,const Standard_Address aClientData)
The third parameter aDisplayCB is a pointer to my callback function for custom draw. I was surprised after installation of ver 7.0.0 that this mechanism in not supported now.
How I can to implement custom drawing in the last version?
I will thankful for any idea.
Boris.
Mon, 09/19/2016 - 12:22
Hello Boris,
Please, have a look at the porting notes at https://dev.opencascade.org/doc/overview/html/occt_dev_guides__upgrade.html#upgrade_occt700_userdraw.
Best regards,
Forum supervisor
Mon, 09/19/2016 - 18:21
Thank you very much
Boris