0031547: Visualization - V3d_View creates V3d_Trihedron instance
authormkrylova <mkrylova@opencascade.com>
Thu, 31 Dec 2020 06:37:51 +0000 (09:37 +0300)
committerbugmaster <bugmaster@opencascade.com>
Fri, 22 Jan 2021 16:04:25 +0000 (19:04 +0300)
commit5634c81a9b6c20e5ccd4b6a6029ae00ff99f6b99
treed90f653dd9e893dbfaeff2fcf9b2b411422353d3
parent5de4b704fef08f565012f3e087afa9b514eb4eed
0031547: Visualization - V3d_View creates V3d_Trihedron instance

- moved creating of V3d_View::myTrihedron from constructor to first attempt of displaying or calling it;
- moved creating of V3d_Viewer::myRGrid and V3d_Viewer::myCGrid to to first attempt of displaying or calling them;
- renamed V3d_Viewer::IsActive() to V3d_Viewer::IsGridActive();
- redefined V3d_View::Trihedron() and V3d_Viewer::Grid() by adding new argument toCreate
for opportunity to check the existence of the objects without their recreating.
samples/mfc/standard/01_Geometry/src/GeometryDoc.cpp
samples/mfc/standard/Common/OCC_2dView.cpp
src/AIS/AIS_ViewController.cxx
src/QABugs/QABugs_6.cxx
src/V3d/V3d_View.cxx
src/V3d/V3d_View.hxx
src/V3d/V3d_View_4.cxx
src/V3d/V3d_Viewer.cxx
src/V3d/V3d_Viewer.hxx
src/V3d/V3d_Viewer_4.cxx
src/ViewerTest/ViewerTest_ViewerCommands.cxx