0025540: Visualization - discretization of the circle differs in shaded and wireframe...
authorosa <osa@opencascade.com>
Thu, 5 Mar 2015 11:05:11 +0000 (14:05 +0300)
committerbugmaster <bugmaster@opencascade.com>
Thu, 5 Mar 2015 12:58:26 +0000 (15:58 +0300)
commit7f9173355240275aac176bfbc704191401aec4e1
tree68777e8e896dc7908b7534989e8ac047a5097bef
parent076b125a906af83b11ce976ccf3319652215910e
0025540: Visualization - discretization of the circle differs in shaded and wireframe modes.

1. "HilightDrawer" were added to SelectMgr_SelectableObject.
2. Static drawer in StdSelect_Shape was replaced by class member. It's value is taken from special HilightDrawer of Selectable() object.
3. Computed relative deflection is stored as absolute deflection to be used for sub-shapes.
4. The ColoredShape object was updated to use for sub-shapes relative deflection computed for main shape.
5. Test case was added.

Tuning of test-case bug25532
13 files changed:
src/AIS/AIS_ColoredShape.cxx
src/AIS/AIS_LocalContext_1.cxx
src/Prs3d/Prs3d.cdl
src/Prs3d/Prs3d.cxx
src/SelectMgr/SelectMgr_SelectableObject.cdl
src/SelectMgr/SelectMgr_SelectableObject.cxx
src/SelectMgr/SelectMgr_SelectableObject.lxx
src/StdPrs/StdPrs_ShadedShape.cxx
src/StdSelect/StdSelect_BRepOwner.cxx
src/StdSelect/StdSelect_Shape.cdl
src/StdSelect/StdSelect_Shape.cxx
tests/bugs/vis/bug25532
tests/bugs/vis/bug25540 [new file with mode: 0644]