0027796: Visualization - allow 3D objects with Graphic3d_TMF_2d flag
authorkgv <kgv@opencascade.com>
Sat, 20 Aug 2016 16:37:56 +0000 (19:37 +0300)
committerbugmaster <bugmaster@opencascade.com>
Thu, 1 Sep 2016 10:19:10 +0000 (13:19 +0300)
commit150ed3d5efe58d49bcf4c28d4e13f1a2773e9c0e
tree3f186d98f4ab45397a4978d34f897197ed204322
parent07665732019efc767c263373cead09bed986d0da
0027796: Visualization - allow 3D objects with Graphic3d_TMF_2d flag

Graphic3d_TransformPers::Apply() now does not reset projection matrix
for objects with Graphic3d_TMF_2d flag.

Useless flag Graphic3d_TMF_2d_IsTopDown has been removed.
SelectMgr_SelectableObjectTrsfPersSet now does not skip Graphic3d_TMF_2d presentations.
OpenGl_Layer::BoundingBox() now takes into account Graphic3d_TMF_2d presentations for proper Z-fit.

AIS_ColorScale now uses "lazy" mode for rendering labels
(considering 2D persistence to be already defined within entire structure).

OpenGl_Layer::updateBVH() now updates myAlwaysRenderedMap to handle
dynamic transformation persistence flag change without redisplaying the object.
src/AIS/AIS_ColorScale.cxx
src/Graphic3d/Graphic3d_CView.cxx
src/Graphic3d/Graphic3d_TransModeFlags.hxx
src/Graphic3d/Graphic3d_TransformPers.hxx
src/OpenGl/OpenGl_Layer.cxx
src/OpenGl/OpenGl_Layer.hxx
src/SelectMgr/SelectMgr_SelectableObjectTrsfPersSet.cxx
src/StdSelect/StdSelect_ViewerSelector3d.cxx
src/ViewerTest/ViewerTest.cxx
tests/bugs/vis/bug25783_2 [deleted file]
tests/bugs/vis/bug27796 [new file with mode: 0644]