View Issue Details

IDProjectCategoryView StatusLast Update
0023960Open CASCADEOCCT:DRAWpublic2013-12-19 13:55
Reporterkgv Assigned Tokgv  
PrioritynormalSeverityfeature 
Status closedResolutionfixed 
Target Version6.7.0Fixed in Version6.7.0 
Summary0023960: Particular ViewerTest commands lack self-description
DescriptionSeveral Draw Harness commands in ViewerTest package lack self-description usually returned by help command.
TagsNo tags attached.
Test case numberNot needed

Activities

kgv

2013-05-14 11:07

developer   ~0024374

Patch is ready for review

san

2013-05-14 11:41

developer   ~0024375

Branch CR23960 reviewed without remarks, ready for testing.

abv

2013-05-14 17:24

manager   ~0024382

Give a list, please!

kgv

2013-05-15 07:52

developer   ~0024384

>Give a list, please!
vdisplay
verase
vdonly
vdisplayall
veraseall
vsetdispmode
vunsetdispmode
vdir
vsetcolor
vunsetcolor
vsettransparency
vunsettransparency
vstate

mkv

2013-05-15 16:00

tester   ~0024399

Dear BugMaster,

Branch CR23960 (and products from GIT master) was compiled on Linux and Windows platforms and tested.
SHA-1: 8106b81b79949eb208a9e5b44cb6a664495fbd77

Number of compiler warnings:

occt component :
Linux: 2 (2 on master)
Windows: 11 (11 on master)

products component :
Linux: 0 (0 on master)
Windows: 64 (64 on master)

Regressions:
No regressions

Improvements:
No improvements

Testing cases:
Not needed

Before this fix:
vdisplay : vdisplay : vdisplay2 name1 [name2] ... [name n]
verase : verase : verase2 [name1] ... [name n]
vdonly : vdonly : vdonly2 [name1] ... [name n]
vdisplayall : vdisplayall : vdisplayall
veraseall : veraseall : veraseall
vsetdispmode : vsetdispmode : vsetdispmode [name] mode(1,2,..): no name -> on selected objects
vunsetdispmode : vunsetdispmode : vunsetdispmode [name] mode(1,2,..): no name -> on selected objects
vdir : vdir
vsetcolor : vsetcolor : vsetcolor [name of shape] ColorName
vunsetcolor : vunsetcolor : vunsetcolor [name of shape]
vsettransparency : vsettransparency : vtransparency [name of shape] TransparenctCoef (0 -> 1)
vunsettransparency : vunsettransparency : vtransparency [name of shape]
vstate : vstate [Name1] ... [NameN] :No arg, select currents; no currrent select all

Afther this fix:
vdisplay : vdisplay name1 [name2] ... [name n]
                : Displays named objects
verase : verase [name1] ... [name n]
                : Erases selected or named objects.
                : If there are no selected or named objects the whole viewer is erased.
vdonly : vdonly [name1] ... [name n]
                : Displays only selected or named objects
vdisplayall : Displays all erased interactive objects (see vdir and vstate)
veraseall : Erases all objects displayed in the viewer
vsetdispmode : vsetdispmode [name] mode(1,2,..)
                : Sets display mode for all, selected or named objects.
vunsetdispmode : vunsetdispmode [name]
                : Unsets custom display mode for selected or named objects.
vdir : Lists all objects displayed in 3D viewer
vsetcolor : vsetcolor [name] ColorName
                : Sets color for all, selected or named objects.../../../../src/ViewerTest/ViewerTest.cxx
vunsetcolor : vunsetcolor [name]
                : Resets color for all, selected or named objects.../../../../src/ViewerTest/ViewerTest.cxx
vsettransparency : vsettransparency [name] Coefficient
                : Sets transparency for all, selected or named objects.
                : The Coefficient may be between 0.0 (opaque) and 1.0 (fully transparent).
vunsettransparency : vunsettransparency [name]
                : Resets transparency for all, selected or named objects.
vstate : vstate [name1] ... [nameN]
                : Reports show/hidden state for selected or named objects

Testing on Linux:
Total MEMORY difference: 366094836 / 366096232
Total CPU difference: 42909.600000001046 / 43867.64000000105

Testing on Windows:
Total MEMORY difference: 419276728 / 421349916
Total CPU difference: 40687.5 / 31658.21875

There are not serious differences in images found by testdiff.

kgv

2013-05-15 16:15

developer   ~0024401

> vsetcolor : vsetcolor [name] ColorName
> : Sets color for all, selected or named objects.../../../../src/ViewerTest/ViewerTest.cxx
> vunsetcolor : vunsetcolor [name]
> : Resets color for all, selected or named objects.../../../../src/ViewerTest/ViewerTest.cxx

Dear mkv, patch was updated (forced update) to fix found artifacts in help for vsetcolor, vunsetcolor commands.

Related Changesets

occt: master ac4aaa98

2013-05-15 12:13:58

kgv

Details Diff
0023960: Particular ViewerTest commands lack self-description Affected Issues
0023960
mod - src/ViewerTest/ViewerTest.cxx Diff File

Issue History

Date Modified Username Field Change
2013-05-14 11:04 kgv New Issue
2013-05-14 11:04 kgv Assigned To => kgv
2013-05-14 11:04 kgv Status new => assigned
2013-05-14 11:07 kgv Note Added: 0024374
2013-05-14 11:07 kgv Assigned To kgv => san
2013-05-14 11:07 kgv Status assigned => resolved
2013-05-14 11:41 san Note Added: 0024375
2013-05-14 11:41 san Assigned To san => bugmaster
2013-05-14 11:41 san Status resolved => reviewed
2013-05-14 17:24 abv Note Added: 0024382
2013-05-15 07:52 kgv Note Added: 0024384
2013-05-15 16:00 mkv Note Added: 0024399
2013-05-15 16:01 mkv Test case number => Not needed
2013-05-15 16:01 mkv Status reviewed => tested
2013-05-15 16:15 kgv Note Added: 0024401
2013-05-20 10:56 kgv Changeset attached => occt master ac4aaa98
2013-05-20 10:56 kgv Assigned To bugmaster => kgv
2013-05-20 10:56 kgv Status tested => verified
2013-05-20 10:56 kgv Resolution open => fixed
2013-12-19 13:53 bugmaster Status verified => closed
2013-12-19 13:55 bugmaster Fixed in Version => 6.7.0