0024425: Improve usage ergonomics of new dimension presentations
authoraba <aba@opencascade.com>
Wed, 11 Dec 2013 15:16:07 +0000 (19:16 +0400)
committerabv <abv@opencascade.com>
Thu, 12 Dec 2013 15:36:55 +0000 (19:36 +0400)
commit60bf98ae02fbd90f174ee2561ed8bb8ccab34e21
tree57f825199218a2b3fe9f12b99890a205e333ea1f
parente04db199581bdb1234923f5646dd36970f0c9882
0024425: Improve usage ergonomics of new dimension presentations

- Added format for value string.
- Construction and validness.
- Revise modification of properties and update of presentations.
- Units moved to Drawer; code revisions.
- Length and angle initialization was changed. Type of geometry filed was added to AIS_Dimension.
- Method for test case bugs/vis/buc60915 was corrected. Description of the dimension classes was corrected.
- Fixed initialization of angle and length.
44 files changed:
samples/mfc/standard/Common/AngleParamsVerticesPage.cpp
samples/mfc/standard/Common/DimensionDlg.cpp
samples/mfc/standard/Common/DimensionDlg.h
samples/mfc/standard/Common/LengthParamsEdgePage.cpp
samples/mfc/standard/Common/LengthParamsEdgesPage.cpp
samples/mfc/standard/Common/LengthParamsVerticesPage.cpp
samples/mfc/standard/Common/ParamsFacesPage.cpp [new file with mode: 0644]
samples/mfc/standard/Common/ParamsFacesPage.h [new file with mode: 0644]
samples/mfc/standard/Common/RadiusParamsPage.cpp
samples/mfc/standard/Common/res/OCC_Resource.h
samples/mfc/standard/Common/res/OCC_Resource.rc
samples/mfc/standard/mfcsample/adm/win/vc10/mfcsample.vcxproj
samples/mfc/standard/mfcsample/adm/win/vc10/mfcsample.vcxproj.filters
samples/mfc/standard/mfcsample/adm/win/vc11/mfcsample.vcxproj
samples/mfc/standard/mfcsample/adm/win/vc11/mfcsample.vcxproj.filters
samples/mfc/standard/mfcsample/adm/win/vc8/mfcsample.vcproj
samples/mfc/standard/mfcsample/adm/win/vc9/mfcsample.vcproj
src/AIS/AIS.cdl
src/AIS/AIS.cxx
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_Drawer.cdl
src/AIS/AIS_Drawer.cxx
src/AIS/AIS_Drawer.lxx
src/AIS/AIS_LengthDimension.cxx
src/AIS/AIS_LengthDimension.hxx
src/AIS/AIS_RadiusDimension.cxx
src/AIS/AIS_RadiusDimension.hxx
src/Prs3d/FILES
src/Prs3d/Prs3d.cdl
src/Prs3d/Prs3d_DimensionAspect.cdl
src/Prs3d/Prs3d_DimensionAspect.cxx
src/Prs3d/Prs3d_DimensionUnits.cxx [new file with mode: 0644]
src/Prs3d/Prs3d_DimensionUnits.hxx [new file with mode: 0644]
src/Prs3d/Prs3d_Drawer.cdl
src/Prs3d/Prs3d_Drawer.cxx
src/QABugs/QABugs_16.cxx
src/QABugs/QABugs_17.cxx
src/TPrsStd/TPrsStd_ConstraintTools.cxx
src/ViewerTest/ViewerTest_RelationCommands.cxx