Methods

(inner) checkArrowDrawing(posGroupKid, details, version, assert)

Check an arrow drawing.

Parameters:
NameTypeDescription
posGroupKidobject

The position group (only) kid.

detailsobject

The drawing details.

versionstring

The state format version.

assertobject

The qunit assert.

(inner) checkDrawings(drawings, details, version, type, assert)

Check drawings.

Parameters:
NameTypeDescription
drawingsobject

The drawing object to check.

detailsobject

The drawing details.

versionstring

The state format version.

typestring

The type of drawing.

assertobject

The qunit assert.

(inner) checkEllipseDrawing(posGroupKid, details, version, assert)

Check an ellipse drawing.

Parameters:
NameTypeDescription
posGroupKidobject

The position group (only) kid.

detailsobject

The drawing details.

versionstring

The state format version.

assertobject

The qunit assert.

(inner) checkHandDrawing(posGroupKid, details, version, assert)

Check a hand drawing.

Parameters:
NameTypeDescription
posGroupKidobject

The position group (only) kid.

detailsobject

The drawing details.

versionstring

The state format version.

assertobject

The qunit assert.

(inner) checkProtractorDrawing(posGroupKid, details, version, assert)

Check a protractor drawing.

Parameters:
NameTypeDescription
posGroupKidobject

The position group (only) kid.

detailsobject

The drawing details.

versionstring

The state format version.

assertobject

The qunit assert.

(inner) checkRectangleDrawing(posGroupKid, details, version, assert)

Check a rectangle drawing.

Parameters:
NameTypeDescription
posGroupKidobject

The position group (only) kid.

detailsobject

The drawing details.

versionstring

The state format version.

assertobject

The qunit assert.

(inner) checkRoiDrawing(posGroupKid, details, version, assert)

Check a roi drawing.

Parameters:
NameTypeDescription
posGroupKidobject

The position group (only) kid.

detailsobject

The drawing details.

versionstring

The state format version.

assertobject

The qunit assert.

(inner) checkRulerDrawing(posGroupKid, details, version, ref, assert)

Check a ruler drawing.

Parameters:
NameTypeDescription
posGroupKidobject

The position group (only) kid.

detailsobject

The drawing details.

versionstring

The state format version.

refstring

The reference data to compare to.

assertobject

The qunit assert.

(inner) checkRulerDrawings(layerKids, details, version, assert)

Check a multi slice ruler drawing.

Parameters:
NameTypeDescription
layerKidsobject

The draw layer.

detailsobject

The drawing details.

versionstring

The state format version.

assertobject

The qunit assert.

(inner) checkStateHeader(jsonData, version, assert)

Check state header.

Parameters:
NameTypeDescription
jsonDataobject

The input data to check.

versionstring

The state format version.

assertobject

The qunit assert.

(inner) read-v01-state-ellipse()

Tests for State v0.1 containing an ellipse.

(inner) read-v01-state-line()

Tests for State v0.1 containing a line.

(inner) read-v01-state-line-multi-slice()

Tests for State v0.1 containing a multi slice ruler.

(inner) read-v01-state-protractor()

Tests for State v0.1 containing a protractor.

(inner) read-v01-state-rectangle()

Tests for State v0.1 containing a rectangle.

(inner) read-v01-state-roi()

Tests for State v0.1 containing a roi.

(inner) read-v02-state-arrow()

Tests for State v0.2 containing an arrow.

(inner) read-v02-state-ellipse()

Tests for State v0.2 containing an ellipse.

(inner) read-v02-state-hand()

Tests for State v0.2 containing a hand draw.

(inner) read-v02-state-protractor()

Tests for State v0.2 containing a protractor.

(inner) read-v02-state-rectangle()

Tests for State v0.2 containing a rectangle.

(inner) read-v02-state-roi()

Tests for State v0.2 containing a roi.

(inner) read-v02-state-ruler()

Tests for State v0.2 containing a ruler.

(inner) read-v02-state-ruler-multi-slice()

Tests for State v0.2 containing a multi slice ruler.

(inner) read-v03-state-arrow()

Tests for State v0.3 containing an arrow.

(inner) read-v03-state-ellipse()

Tests for State v0.3 containing an ellipse.

(inner) read-v03-state-hand()

Tests for State v0.3 containing a hand draw.

(inner) read-v03-state-protractor()

Tests for State v0.3 containing a protractor.

(inner) read-v03-state-rectangle()

Tests for State v0.3 containing a rectangle.

(inner) read-v03-state-roi()

Tests for State v0.3 containing a roi.

(inner) read-v03-state-ruler()

Tests for State v0.3 containing a ruler.

(inner) read-v03-state-ruler-multi-slice()

Tests for State v0.3 containing a multi slice ruler.

(inner) read-v04-state-arrow()

Tests for State v0.4 containing an arrow.

(inner) read-v04-state-ellipse()

Tests for State v0.4 containing an ellipse.

(inner) read-v04-state-hand()

Tests for State v0.4 containing a hand draw.

(inner) read-v04-state-protractor()

Tests for State v0.4 containing a protractor.

(inner) read-v04-state-rectangle()

Tests for State v0.4 containing a rectangle.

(inner) read-v04-state-roi()

Tests for State v0.4 containing a roi.

(inner) read-v04-state-ruler()

Tests for State v0.4 containing a ruler.

(inner) read-v04-state-ruler-multi-slice()

Tests for State v0.4 containing a multi slice ruler.

(inner) read-v05-state-arrow()

Tests for State v0.5 containing an arrow.

(inner) read-v05-state-ellipse()

Tests for State v0.5 containing an ellipse.

(inner) read-v05-state-hand()

Tests for State v0.5 containing a hand draw.

(inner) read-v05-state-protractor()

Tests for State v0.5 containing a protractor.

(inner) read-v05-state-rectangle()

Tests for State v0.5 containing a rectangle.

(inner) read-v05-state-roi()

Tests for State v0.5 containing a roi.

(inner) read-v05-state-ruler()

Tests for State v0.5 containing a ruler.

(inner) read-v05-state-ruler-multi-slice()

Tests for State v0.5 containing a multi slice ruler.

(inner) testState(data, version, type, assert)

Test a state file.

Parameters:
NameTypeDescription
dataobject

The test data.

versionstring

The state format version.

typestring

The type of drawing.

assertobject

The qunit assert.