How to create a new 3D-window independent of the 3d slicer interface

I want to create such a new 3D window to display images through the Python Interactor. How can I create such a 3D window without affecting the ui layout like this?

Help would be much appreciated.
Kind regards