Archived issue #0030690

Draw Harness - provide XDisplay command for displaying XDE document

Open CASCADEOCCT:DRAWclosed12 public notes

Search issues

Description

Existing command XShow relies on TPrsStd, which does not fit well into ViewerTest, because created presentations are not registered as objects in ViewerTest, hence command like vdisplay/vremove/vstate are not working as expected.

It is suggesting adding a new command XDisplay similar to vdisplay which would create a normal AIS objects (e.g. XCAFPrs_AISObject) and register them within ViewerTest map.

Steps to reproduce

N/A

Public activity

12 archived notes

Participants are labeled by their role within this record.

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

[revision removed]


Detailed log of new commits:

Author: Author
Date: Fri May 3 12:30:02 2019 +0300

    0030690: Draw Harness - provide XDisplay command for displaying XDE document
    
    XDisplay - added new command displaying XDE document in ViewerTest map of object:
    > XDisplay Doc [label1 [label2 [...]]] [-explore {on|off}] [-docPrefix {on|off}] [-names {on|off}]
    > [-noupdate] [-dispMode Mode] [-highMode Mode]
    
    vstate - added NULL checks.
    vdisplay now prints error on attempt to specify unsupported display mode.
    verase, vremove now raise Tcl exception on attempt to hide non-existing object.
    verase, vremove, vdir now accept name masks like "verase b*".
    vremove and vdir output is now consistent to verase command (space-separated list of removed objects).
02Commenter 2
Branch [archived branch] has been updated forcibly by Author.

[revision removed]
03Commenter 2
Branch [archived branch] has been updated forcibly by Author.

[revision removed]
04Commenter 2
Branch [archived branch] has been updated forcibly by Author.

[revision removed]
05Author
06Commenter 2
Branch [archived branch] has been updated forcibly by Author.

[revision removed]
07Commenter 2
Branch [archived branch] has been updated forcibly by Author.

[revision removed]
08Commenter 2
Branch [archived branch] has been updated forcibly by Author.

[revision removed]
09Commenter 9
Reviewed without remarks
10Commenter 2
Branch [archived branch] has been updated forcibly by Author.

[revision removed]
11Commenter 1
Fix has been tested in framework of WEEK-20 branch

Combination -
OCCT branch : [archived branch]
master SHA - [revision removed]
[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:
Debian80-64:
OCCT
Total CPU difference: 16362.230000000052 / 16346.709999999983 [+0.09%]
Products
Total CPU difference: 10506.300000000043 / 10516.200000000064 [-0.09%]
Windows-64-VC14:
OCCT
Total CPU difference: 17708.015625 / 17692.25 [+0.09%]
Products
Total CPU difference: 12195.578125 / 12107.796875 [+0.72%]


Image differences :
No differences that require special attention

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

[revision removed]

Related records