0029011: Draw Harness - simplify diffimage command syntax
authorkgv <kgv@opencascade.com>
Thu, 17 Aug 2017 15:18:05 +0000 (18:18 +0300)
committerbugmaster <bugmaster@opencascade.com>
Thu, 24 Aug 2017 16:12:18 +0000 (19:12 +0300)
commitfd3f6bd069308dcf4579c3a58ec051f824ccd381
tree573470e9c9dae94f233e26207f17e53c79785f7b
parentaa17dac8782f8c700d73342729627ab60c1dec2b
0029011: Draw Harness - simplify diffimage command syntax

Command diffimage now accepts the following syntax:
  diffimage imageFile1 imageFile2 [diffImageFile]
            [-toleranceOfColor {0..1}=0] [-blackWhite {on|off}=off] [-borderFilter {on|off}=off]
            [-display viewName prsName1 prsName2 prsNameDiff] [-exitOnClose]

Command vinit now accepts the following syntax:
  vinit [-name viewName] [-left leftPx] [-top topPx] [-width widthPx] [-height heightPx]
        [-exitOnClose] [-display displayName]

Compatibility with old syntax is also preserved.
diffimage now can display compared images in 3D viewer.
The new option -exitOnClose can be used to exit application when closing the 3D View.
src/ViewerTest/ViewerTest_ViewerCommands.cxx