occt: master af65fb19

Author Committer Branch Timestamp Parent
isz bugmaster master 2015-04-16 08:33:46 master ce77f999
Affected Issues  0025783: Visualization - allow Z-layer to draw 2D objects and to make it alternative to Overlay and Underlay
Changeset 0025783: Visualization - allow Z-layer to draw 2D objects and to make it alternative to Overlay and Underlay

Add one more pre-defined Z-layer Graphic3d_ZLayerId_BotOSD.

Define new Transformation Persistence flags Graphic3d_TMF_2d and Graphic3d_TMF_2d_IsTopDown
for displaying objects in screen coordinates.
Anchor point defines angle of the screen to display the object in similar way as for Graphic3d_TMF_TriedronPers.

Extend Draw Harness command vdisplay with new options:
 -overlay as alias for -toposd.
 -underlay and -botosd.
 -noselect to prevent automatic selection activation.
 -dispMode and -highMode to define displaying and highlighting modes.
 -2d, -2dtopdown and -3d to manage displaying in screen coordinates.
 -trsfPers and -trsfPersPos for Transformation Persistence options.

Drop command vsettransmode, replaced by vdisplay.

Correction of test-case bugs vis bug641
mod - src/BRepTest/BRepTest_BasicCommands.cxx Diff File
mod - src/Graphic3d/Graphic3d_TransModeFlags.hxx Diff File
mod - src/Graphic3d/Graphic3d_ZLayerId.hxx Diff File
mod - src/OpenGl/OpenGl_GraduatedTrihedron.cxx Diff File
mod - src/OpenGl/OpenGl_LayerList.cxx Diff File
mod - src/OpenGl/OpenGl_Structure.cxx Diff File
mod - src/OpenGl/OpenGl_transform_persistence.hxx Diff File
mod - src/OpenGl/OpenGl_View.cxx Diff File
mod - src/OpenGl/OpenGl_View.hxx Diff File
mod - src/PrsMgr/PrsMgr_PresentableObject.cdl Diff File
mod - src/ViewerTest/ViewerTest.cxx Diff File
mod - src/Visual3d/Visual3d_ViewManager.cxx Diff File
mod - tests/bugs/iges/fra62523 Diff File
mod - tests/bugs/modalg_2/bug20785 Diff File
mod - tests/bugs/moddata_1/buc60967 Diff File
mod - tests/bugs/moddata_2/bug22910_1 Diff File
mod - tests/bugs/moddata_2/bug2569_1 Diff File
mod - tests/bugs/moddata_2/bug6474 Diff File
mod - tests/bugs/vis/bug23120 Diff File
rm - tests/bugs/vis/bug23120_1 Diff File
add - tests/bugs/vis/bug25783_1 Diff File
add - tests/bugs/vis/bug25783_2 Diff File
mod - tests/bugs/vis/bug25867 Diff File
mod - tests/bugs/vis/bug641 Diff File