MantisBT
Mantis Bug Tracker Workflow

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0030941Open CASCADE[OCCT] OCCT:DRAWpublic2019-09-05 06:502019-09-05 06:50
Reporterkgv 
Assigned Tokgv 
PrioritynormalSeverityfeature 
StatusnewResolutionopen 
PlatformOSOS Version
Product Version 
Target Version[OCCT] 7.5.0*Fixed in Version 
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
Attached Files

- Relationships

-  Notes
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


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker