0024389: Invalid hilight of AIS dimension line in local selection
authorapl <apl@opencascade.com>
Sat, 7 Dec 2013 10:07:41 +0000 (14:07 +0400)
committerabv <abv@opencascade.com>
Thu, 12 Dec 2013 15:36:47 +0000 (19:36 +0400)
commitfe83e1ea69d0bf63941cb3f108a8fa57e9b2db6a
tree4d35cafa1c8db57e60d99925eee55e23c343d7aa
parent73cd8a8afdde95906b002354f0dfb1d12b814241
0024389: Invalid hilight of AIS dimension line in local selection

- Fixed invalid presentation of dimension highlight.
- Fixed bug on switching between selection modes. Individual sensitive entities generated for each selection mode.
- Revised selection: AIS_DimensionSelectionMode enumeration added, redundant AIS_DimensionDisplayMode is removed.
- Revised entity owner usage: used standard SelectMgr_EntityOwner for neutral selection, AIS_DimensionOwner for "line", "text" selection modes.
- Made arrows selectable.
- Got rid of predefined arrow angle. The arrow angle is now taken from dimension aspect.
- The 3D text is now centered by bounding box for better alignment.
18 files changed:
src/AIS/AIS.cdl
src/AIS/AIS_AngleDimension.cxx
src/AIS/AIS_AngleDimension.hxx
src/AIS/AIS_DiameterDimension.cxx
src/AIS/AIS_DiameterDimension.hxx
src/AIS/AIS_Dimension.cxx
src/AIS/AIS_Dimension.hxx
src/AIS/AIS_DimensionOwner.cdl
src/AIS/AIS_DimensionOwner.cxx
src/AIS/AIS_LengthDimension.cxx
src/AIS/AIS_LengthDimension.hxx
src/AIS/AIS_RadiusDimension.cxx
src/Prs3d/Prs3d_DimensionAspect.cxx
tests/bugs/vis/bug24351_1
tests/bugs/vis/bug24351_2
tests/bugs/vis/bug24351_3
tests/bugs/vis/bug24351_4
tests/bugs/vis/bug24389 [new file with mode: 0644]