]> OCCT Git - occt-copy.git/commit
0031683: Visualization - V3d_View::SetBackgroundImage() should accept Image_PixMap
authormkrylova <mkrylova@opencascade.com>
Wed, 2 Sep 2020 13:08:35 +0000 (16:08 +0300)
committerbugmaster <bugmaster@opencascade.com>
Sat, 12 Sep 2020 15:54:54 +0000 (18:54 +0300)
commitad2c4e9c21238df10fbe0db70c240f0724f0b067
tree7d7d48491a9541ec042dd4075d660ef59ab2012f
parentd9bfdbe98e1f75ac3105fcf96d99f374f0351ad7
0031683: Visualization - V3d_View::SetBackgroundImage() should accept Image_PixMap

Added V3d_View::SetBackgroundImage() accepting Graphic3d_Texture2D on input.

Graphic3d_CView/OpenGl_View have been modified to merge Graphic3d_CView::SetBackgroundImage()
and ::SetBackgroundCubeMap() implementations into a single method.
src/Graphic3d/Graphic3d_CView.hxx
src/OpenGl/OpenGl_View.cxx
src/OpenGl/OpenGl_View.hxx
src/V3d/V3d_View.cxx
src/V3d/V3d_View.hxx