Skip to content

Commit

Permalink
Beta 0.33.0-beta.39
Browse files Browse the repository at this point in the history
  • Loading branch information
ivmartel committed Apr 15, 2024
1 parent 64b1b3f commit f750eaa
Show file tree
Hide file tree
Showing 7 changed files with 29 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 @@ -1021,6 +1021,12 @@ export declare class DicomWriter {
* @param {boolean} flag True to use UN VR.
*/
setUseUnVrForPrivateSq(flag: boolean): void;
/**
* Set the vr=UN check and fix flag.
*
* @param {boolean} flag True to activate the check and fix.
*/
setFixUnknownVR(flag: boolean): void;
/**
* Set the writing rules.
* List of writer rules indexed by either `default`,
Expand Down Expand Up @@ -3227,6 +3233,13 @@ export declare class Point3D {
* @returns {number} Ths distance to the input point.
*/
getDistance(point3D: Point3D): number;
/**
* Get the closest point to this in a Point3D list.
*
* @param {Point3D[]} pointList The list to check.
* @returns {number} The index of the closest point in the input list.
*/
getClosest(pointList: Point3D[]): number;
/**
* Get the difference to another Point3D.
*
Expand Down Expand Up @@ -3809,6 +3822,13 @@ export declare class Vector3D {
* @returns {number} The dot product.
*/
dotProduct(vector3D: Vector3D): number;
/**
* Is this vector codirectional to an input one.
*
* @param {Vector3D} vector3D The vector to test.
* @returns {boolean} True if codirectional, false is opposite.
*/
isCodirectional(vector3D: Vector3D): boolean;
#private;
}

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.38",
"version": "0.33.0-beta.39",
"description": "DICOM Web Viewer.",
"keywords": [
"DICOM",
Expand Down
3 changes: 3 additions & 0 deletions resources/api/dwv.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@ export class DicomWriter {
[x: string]: DataElement;
}): ArrayBuffer;
getElementToWrite(element: DataElement): DataElement | null;
setFixUnknownVR(flag: boolean): void;
setRules(rules: {
[x: string]: WriterRule;
}, addMissingTags?: boolean): void;
Expand Down Expand Up @@ -690,6 +691,7 @@ export class Point2D {
export class Point3D {
constructor(x: number, y: number, z: number);
equals(rhs: Point3D): boolean;
getClosest(pointList: Point3D[]): number;
getDistance(point3D: Point3D): number;
getX(): number;
getY(): number;
Expand Down Expand Up @@ -828,6 +830,7 @@ export class Vector3D {
getX(): number;
getY(): number;
getZ(): number;
isCodirectional(vector3D: Vector3D): boolean;
norm(): number;
toString(): string;
}
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.38.</i>",
"footer": "<i>Documentation generated for dwv v0.33.0-beta.39.</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.38/dwv-0.33.0-beta.38.min.js",
"js_external": "https://github.com/ivmartel/dwv/releases/download/v0.33.0-beta.39/dwv-0.33.0-beta.39.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 @@ -35,7 +35,7 @@ import {DataElement} from '../dicom/dataElement';
* @returns {string} The version of the library.
*/
export function getDwvVersion() {
return '0.33.0-beta.38';
return '0.33.0-beta.39';
}

/**
Expand Down

0 comments on commit f750eaa

Please sign in to comment.