View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0030941 | Open CASCADE | OCCT:DRAW | public | 2019-09-05 06:50 | 2023-08-01 15:08 |
Reporter | kgv | Assigned To | |||
Priority | normal | Severity | feature | ||
Status | new | Resolution | open | ||
Target Version | Unscheduled | ||||
Summary | 0030941: Draw Harness, ViewerTest - improve vinit command for resetting viewer state option | ||||
Description | Tests usually perform viewer initialization in the following way:pload VISUALIZATION vclear #vclose ALL vinit View1 -w 512 -h 512 vaxo It should be noted that some actions look redundant (vaxo, which is default viewer orientation) and has awkward order (vclear is done before vinit). This is done to allow re-evaluating the same test twice or different tests within the same Draw Harness instance (e.g. avoiding DRAWEXE restart). The procedure is, however, incomplete and clumsy. It is desired extending vinit command with new arguments to: - Reset View position to defaults (avoid explicit vaxo call afterwards). - Clear View content (avoid explicit vclear call beforehand). - Apply provided View dimensions or reset them to default 409x409 if View already was created (avoid vclose ALL just to ensure View having requested dimensions). - Optionally reset View parameters like background, rendering params to default. - Optionally close all other Views (avoid vclose ALL call beforehand), e.g. -single. | ||||
Tags | No tags attached. | ||||
Test case number | |||||
Date Modified | Username | Field | Change |
---|---|---|---|
2019-09-05 06:50 | kgv | New Issue | |
2019-09-05 06:50 | kgv | Assigned To | => kgv |
2020-09-11 15:43 |
|
Target Version | 7.5.0 => 7.6.0 |
2021-08-24 15:04 | kgv | Target Version | 7.6.0 => 7.7.0 |
2022-10-19 15:55 |
|
Assigned To | kgv => vpozdyayev |
2022-10-24 10:40 |
|
Target Version | 7.7.0 => 7.8.0 |
2023-08-01 15:08 | dpasukhi | Target Version | 7.8.0 => Unscheduled |