Skip to content

Commit

Permalink
Beta 0.33.0-beta.30
Browse files Browse the repository at this point in the history
  • Loading branch information
ivmartel committed Feb 12, 2024
1 parent cea2124 commit c354ff3
Show file tree
Hide file tree
Showing 7 changed files with 28 additions and 6 deletions.
20 changes: 20 additions & 0 deletions dist/dwv.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -769,6 +769,9 @@ export declare namespace defaults {
};
}

/**
* @typedef {Object<string, DataElement>} DataElements
*/
/**
* DICOM code.
*/
Expand Down Expand Up @@ -2487,6 +2490,9 @@ export declare class MaskFactory {
}, pixelBuffer: Uint8Array | Int8Array | Uint16Array | Int16Array | Uint32Array | Int32Array): Image_2;
}

/**
* @typedef {Object<string, DataElement>} DataElements
*/
/**
* DICOM (mask) segment.
*/
Expand Down Expand Up @@ -4385,6 +4391,12 @@ export declare class ViewLayer {
* @returns {string} The data id.
*/
getDataId(): string;
/**
* Get the layer zoom offset.
*
* @returns {object} The offset as {x,y}.
*/
getZoomOffset(): object;
/**
* Set the imageSmoothing flag value.
*
Expand Down Expand Up @@ -4481,6 +4493,14 @@ export declare class ViewLayer {
* @param {Point3D} [center] The scale center.
*/
setScale(newScale: object, center?: Point3D): void;
/**
* Initialise the layer scale. Works with a zoom offset that
* comes from a equal view layer (size, scale, offset...).
*
* @param {object} newScale The scale as {x,y}.
* @param {object} zoomOffset The zoom offset as {x,y}.
*/
initScale(newScale: object, zoomOffset: object): void;
/**
* Set the base layer offset. Updates the layer offset.
*
Expand Down
2 changes: 1 addition & 1 deletion dist/dwv.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/dwv.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dwv",
"version": "0.33.0-beta.29",
"version": "0.33.0-beta.30",
"description": "DICOM Web Viewer.",
"keywords": [
"DICOM",
Expand Down
2 changes: 2 additions & 0 deletions resources/api/dwv.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -915,7 +915,9 @@ export class ViewLayer {
getImageWorldSize(): object;
getOpacity(): number;
getViewController(): ViewController;
getZoomOffset(): object;
initialise(size: object, spacing: object, alpha: number): void;
initScale(newScale: object, zoomOffset: object): void;
isVisible(): boolean;
onimagechange: (event: object) => void;
onimageset: (event: object) => void;
Expand Down
4 changes: 2 additions & 2 deletions resources/doc/jsdoc.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"package": "package.json",
"theme_opts": {
"title": "DWV",
"footer": "<i>Documentation generated for dwv v0.33.0-beta.29.</i>",
"footer": "<i>Documentation generated for dwv v0.33.0-beta.30.</i>",
"sections": [
"Tutorials",
"Namespaces",
Expand All @@ -50,7 +50,7 @@
"codepen": {
"enable_for": ["examples"],
"options": {
"js_external": "https://github.com/ivmartel/dwv/releases/download/v0.33.0-beta.29/dwv-0.33.0-beta.29.min.js",
"js_external": "https://github.com/ivmartel/dwv/releases/download/v0.33.0-beta.30/dwv-0.33.0-beta.30.min.js",
"html": "<div id='dwv'><div id='layerGroup0'></div></div>"
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/dicom/dicomParser.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ import {DataElement} from '../dicom/dataElement';
* @returns {string} The version of the library.
*/
export function getDwvVersion() {
return '0.33.0-beta.29';
return '0.33.0-beta.30';
}

/**
Expand Down

0 comments on commit c354ff3

Please sign in to comment.