Skip to content

Commit bfe1242

Browse files
authored
Merge pull request #188 from LinkunGao/release/v1.13.22
Release/v1.13.22
2 parents a7179c2 + 649f021 commit bfe1242

File tree

6 files changed

+18
-5
lines changed

6 files changed

+18
-5
lines changed

docs/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
author = 'LinkunGao'
2323

2424
# The full version, including alpha/beta/rc tags
25-
release = 'v1.13.21'
25+
release = 'v1.13.22'
2626

2727

2828
# -- General configuration ---------------------------------------------------

docs/source/release/release.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1472,3 +1472,9 @@ const resetMainAreaSize = (factor: number) => {
14721472
## Release v1.13.21
14731473

14741474
- fixed the export mask data no data value bug.
1475+
1476+
## Release v1.13.22
1477+
1478+
- update nrrd tools
1479+
- getVoxelSpacing()
1480+
- getSpaceOrigin()

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "copper3d_visualisation",
33
"description": "A 3d visualisation package base on threejs provides multiple scenes and Nrrd image load funtion.",
4-
"version": "1.13.21",
4+
"version": "1.13.22",
55
"main": "dist/bundle.umd.js",
66
"moudle": "dist/bundle.esm.js",
77
"types": "dist/types/index.d.ts",

src/Utils/nrrd_tool.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -336,6 +336,13 @@ export class nrrd_tools {
336336
return this.nrrd_states.dimensions;
337337
}
338338

339+
getVoxelSpacing() {
340+
return this.nrrd_states.voxelSpacing;
341+
}
342+
getSpaceOrigin() {
343+
return this.nrrd_states.spaceOrigin;
344+
}
345+
339346
private getSharedPlace(len: number, ratio: number): number[] {
340347
let old = -1;
341348
let same: number[] = [];

src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ import {
3636

3737
import "./css/style.css";
3838

39-
export const REVISION = "v1.13.21";
39+
export const REVISION = "v1.13.22";
4040

4141
console.log(
42-
"%cCopper3D Visualisation %cBeta:v1.13.21",
42+
"%cCopper3D Visualisation %cBeta:v1.13.22",
4343
"padding: 3px;color:white; background:#023047",
4444
"padding: 3px;color:white; background:#f50a25"
4545
);

0 commit comments

Comments
 (0)