Skip to content

Commit

Permalink
Merge pull request #188 from LinkunGao/release/v1.13.22
Browse files Browse the repository at this point in the history
Release/v1.13.22
  • Loading branch information
LinkunGao authored Feb 27, 2023
2 parents a7179c2 + 649f021 commit bfe1242
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
author = 'LinkunGao'

# The full version, including alpha/beta/rc tags
release = 'v1.13.21'
release = 'v1.13.22'


# -- General configuration ---------------------------------------------------
Expand Down
6 changes: 6 additions & 0 deletions docs/source/release/release.md
Original file line number Diff line number Diff line change
Expand Up @@ -1472,3 +1472,9 @@ const resetMainAreaSize = (factor: number) => {
## Release v1.13.21

- fixed the export mask data no data value bug.

## Release v1.13.22

- update nrrd tools
- getVoxelSpacing()
- getSpaceOrigin()
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "copper3d_visualisation",
"description": "A 3d visualisation package base on threejs provides multiple scenes and Nrrd image load funtion.",
"version": "1.13.21",
"version": "1.13.22",
"main": "dist/bundle.umd.js",
"moudle": "dist/bundle.esm.js",
"types": "dist/types/index.d.ts",
Expand Down
7 changes: 7 additions & 0 deletions src/Utils/nrrd_tool.ts
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,13 @@ export class nrrd_tools {
return this.nrrd_states.dimensions;
}

getVoxelSpacing() {
return this.nrrd_states.voxelSpacing;
}
getSpaceOrigin() {
return this.nrrd_states.spaceOrigin;
}

private getSharedPlace(len: number, ratio: number): number[] {
let old = -1;
let same: number[] = [];
Expand Down
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ import {

import "./css/style.css";

export const REVISION = "v1.13.21";
export const REVISION = "v1.13.22";

console.log(
"%cCopper3D Visualisation %cBeta:v1.13.21",
"%cCopper3D Visualisation %cBeta:v1.13.22",
"padding: 3px;color:white; background:#023047",
"padding: 3px;color:white; background:#f50a25"
);
Expand Down

0 comments on commit bfe1242

Please sign in to comment.