mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-18 14:27:39 +03:00
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
This commit is contained in:
@@ -174,7 +174,7 @@ is
|
||||
-- - combination (Graphic3d_TMF_PanPers | Graphic3d_TMF_ZoomPers);
|
||||
-- - combination (Graphic3d_TMF_PanPers | Graphic3d_TMF_RotatePers);
|
||||
-- - combination (Graphic3d_TMF_ZoomPers | Graphic3d_TMF_RotatePers).
|
||||
-- If Graphic3d_TMF_TriedronPers persistence mode selected APoint coordinates X and Y means:
|
||||
-- If Graphic3d_TMF_TriedronPers or Graphic3d_TMF_2d persistence mode selected APoint coordinates X and Y means:
|
||||
-- - X = 0.0, Y = 0.0 - center of view window;
|
||||
-- - X > 0.0, Y > 0.0 - right upper corner of view window;
|
||||
-- - X > 0.0, Y < 0.0 - right lower corner of view window;
|
||||
|
Reference in New Issue
Block a user