Archived issue #0029735

Draw Harness - command to set 2D mode for viewer in ViewerTest package

Open CASCADEOCCT:DRAWclosed17 public notes

Search issues

Description

Provide a possibility to avoid:
- rotation of the viewer by mouse
- change viewer position by Hot-keys, such as "A/D/T/B/L/R" to do correspondingly "AXO/Reset/Top/Bottom/Left/Right".

View camera position might be changed only by commands.

Public activity

17 archived notes

Participants are labeled by their role within this record.

01Commenter 1
Branch [archived branch] has been created by Author.

[revision removed]


Detailed log of new commits:

Author: Author
Date: Fri May 4 12:09:21 2018 +0300

    0029735: DRAW - command to set 2D mode for viewer in ViewerTest package
    
    - vinit command extension by -2d_mode parameter
    - vset2dmode new command to switch On/Off the mode
02Commenter 1
Branch [archived branch] has been created by Author.

[revision removed]


Detailed log of new commits:

Author: Author
Date: Mon May 7 10:20:14 2018 +0300

    0029735: DRAW - command to set 2D mode for viewer in ViewerTest package
    
    - vinit command extension by -2d_mode parameter
    - vset2dmode new command to switch On/Off the mode
03Author
Could you please review modifications.
04Commenter 1
Branch [archived branch] has been created by Author.

[revision removed]


Detailed log of new commits:

Author: Author
Date: Mon May 7 14:53:41 2018 +0300

    0029735: DRAW - command to set 2D mode for viewer in ViewerTest package
    
    - vinit command extension by -2d_mode parameter
    - vset2dmode new command to switch On/Off the mode
05Commenter 1
Branch [archived branch] has been created by Commenter 2.

[revision removed]


Detailed log of new commits:

Author: Author
Date: Mon May 7 14:53:41 2018 +0300

    0029735: Draw Harness - command to set 2D mode for viewer in ViewerTest package
    
    vinit command has been extended with new option -2d_mode.
    Added new command v2dmode to switch On/Off the mode.
06Commenter 2
Minor corrections have been pushed to the branch CR29735_3.

A couple a comments:
- I would expect that "vinit -clone" would copy 2d flag.
- Global functions Set2DMode()/Is2DMode() do not look good.
  Consider renaming them.
- Please fix compilation for macOS target.
07Commenter 1
Branch [archived branch] has been created by Author.

[revision removed]


Detailed log of new commits:

Author: Author
Date: Tue May 8 19:17:09 2018 +0300

    0029735: Draw Harness - command to set 2D mode for viewer in ViewerTest package
    
    vinit command has been extended with new option -2d_mode.
    Added new command v2dmode to switch On/Off the mode.
08Author
Could you please review.
09Commenter 1
Branch [archived branch] has been created by Commenter 2.

[revision removed]


Detailed log of new commits:

Author: Author
Date: Tue May 8 19:17:09 2018 +0300

    0029735: Draw Harness - command to set 2D mode for viewer in ViewerTest package
    
    vinit command has been extended with new option -2d_mode.
    Added new command v2dmode to switch On/Off the mode.
10Commenter 2
11Commenter 3
Combination -
OCCT branch : [archived branch] SHA - [revision removed]
Products branch : [archived branch] SHA - [revision removed]
was compiled on Linux, MacOS and Windows platforms and tested in optimize mode.

Number of compiler warnings:
No new/fixed warnings

Regressions/Differences/Improvements:
No regressions/differences

CPU differences:
Debian70-64:
OCCT
Total CPU difference: 18321.949999999826 / 18243.73999999987 [+0.43%]
Products
Total CPU difference: 7519.440000000043 / 7505.500000000054 [+0.19%]
Windows-64-VC10:
OCCT
Total CPU difference: 18110.28089079856 / 18049.78370299853 [+0.34%]
Products
Total CPU difference: 7672.643983299951 / 7697.713343999945 [-0.33%]


Image differences :
No differences that require special attention

Memory differences :
No differences that require special attention
12Commenter 1
Branch [archived branch] has been deleted by Commenter 2.

[revision removed]
13Commenter 1
Branch [archived branch] has been deleted by Commenter 2.

[revision removed]
14Commenter 1
Branch [archived branch] has been deleted by Commenter 2.

[revision removed]
15Commenter 1
Branch [archived branch] has been deleted by Commenter 2.

[revision removed]
16Commenter 1
Branch [archived branch] has been deleted by Commenter 2.

[revision removed]
17Commenter 1
Branch [archived branch] has been deleted by Commenter 2.

[revision removed]