How to use ArrayFire's Forge visualization in custom area within existing Qt window or DC (Device Context) instead of separate window?

48 views Asked by At

In real world applications we don't want to use a separate window for some plot, is there a way to use a control's DC or a way to use Qt QML as render target for the ArrayFire's Forge library?

1

There are 1 answers

2
pradeep On BEST ANSWER

Yes, you can use Forge in that fashion. You just have to avoid using forge::Window instances. You can still use all other renderable classes of Forge library while a valid OpenGL context is available. They will just render to the active view port.