View Issue Details

IDProjectCategoryView StatusLast Update
0030941Open CASCADEOCCT:DRAWpublic2023-08-01 15:08
Reporterkgv Assigned Tovpozdyayev 
PrioritynormalSeverityfeature 
Status newResolutionopen 
Target VersionUnscheduled 
Summary0030941: Draw Harness, ViewerTest - improve vinit command for resetting viewer state option
DescriptionTests 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.
TagsNo tags attached.
Test case number

Activities

There are no notes attached to this issue.

Issue History

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 utverdov 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 smoskvin Assigned To kgv => vpozdyayev
2022-10-24 10:40 szy Target Version 7.7.0 => 7.8.0
2023-08-01 15:08 dpasukhi Target Version 7.8.0 => Unscheduled