-
{!!segmentations.length &&
@@ -155,7 +129,6 @@ SegmentationGroupTable.defaultProps = {
renderInactiveSegmentations: true,
renderOutline: true,
},
- usePercentage: true,
},
setFillAlpha: () => {},
setFillAlphaInactive: () => {},
diff --git a/platform/ui/src/components/SegmentationGroupTable/segmentationConfigReducer.tsx b/platform/ui/src/components/SegmentationGroupTable/segmentationConfigReducer.tsx
deleted file mode 100644
index 1063b0558..000000000
--- a/platform/ui/src/components/SegmentationGroupTable/segmentationConfigReducer.tsx
+++ /dev/null
@@ -1,22 +0,0 @@
-const reducer = (state, action) => {
- switch (action.type) {
- case 'RENDER_OUTLINE':
- return { ...state, renderOutline: action.payload.value };
- case 'RENDER_FILL':
- return { ...state, renderFill: action.payload.value };
- case 'SET_OUTLINE_OPACITY':
- return { ...state, outlineOpacity: action.payload.value };
- case 'SET_OUTLINE_WIDTH':
- return { ...state, outlineWidth: action.payload.value };
- case 'SET_FILL_ALPHA':
- return { ...state, fillAlpha: action.payload.value };
- case 'SET_FILL_ALPHA_INACTIVE':
- return { ...state, fillAlphaInactive: action.payload.value };
- case 'RENDER_INACTIVE_SEGMENTATIONS':
- return { ...state, renderInactiveSegmentations: action.payload.value };
- default:
- return state;
- }
-};
-
-export { reducer };
diff --git a/platform/ui/src/components/index.js b/platform/ui/src/components/index.js
index 4f70ef69c..d01247542 100644
--- a/platform/ui/src/components/index.js
+++ b/platform/ui/src/components/index.js
@@ -68,6 +68,7 @@ import InputRange from './InputRange';
import InputNumber from './InputNumber';
import CheckBox from './CheckBox';
import LoadingIndicatorProgress from './LoadingIndicatorProgress';
+import LoadingIndicatorTotalPercent from './LoadingIndicatorTotalPercent';
import ViewportActionBar from './ViewportActionBar';
export {
@@ -104,6 +105,7 @@ export {
LegacyCinePlayer,
LegacyViewportActionBar,
LoadingIndicatorProgress,
+ LoadingIndicatorTotalPercent,
MeasurementTable,
Modal,
NavBar,
diff --git a/platform/ui/src/index.js b/platform/ui/src/index.js
index 50842160d..fad709a2c 100644
--- a/platform/ui/src/index.js
+++ b/platform/ui/src/index.js
@@ -65,6 +65,7 @@ export {
LegacyCinePlayer,
LegacyViewportActionBar,
LoadingIndicatorProgress,
+ LoadingIndicatorTotalPercent,
MeasurementTable,
Modal,
NavBar,
diff --git a/platform/viewer/netlify.toml b/platform/viewer/netlify.toml
index 468eca951..4af3dd597 100644
--- a/platform/viewer/netlify.toml
+++ b/platform/viewer/netlify.toml
@@ -12,7 +12,6 @@
base = ""
build = "yarn run build:viewer:ci"
publish = "dist"
- ignore = "git diff --quiet $CACHED_COMMIT_REF $COMMIT_REF . ../ui/ ../core/ ../i18n"
# NODE_VERSION in root `.nvmrc` takes priority
diff --git a/platform/viewer/package.json b/platform/viewer/package.json
index 2c1c7325b..fca0b294c 100644
--- a/platform/viewer/package.json
+++ b/platform/viewer/package.json
@@ -51,6 +51,7 @@
"@ohif/extension-cornerstone": "^3.0.0",
"@ohif/extension-cornerstone-dicom-seg": "^3.0.0",
"@ohif/extension-cornerstone-dicom-sr": "^3.0.0",
+ "@ohif/extension-cornerstone-dicom-rt": "^3.0.0",
"@ohif/extension-default": "^3.0.0",
"@ohif/extension-dicom-pdf": "^3.0.1",
"@ohif/extension-dicom-video": "^3.0.1",
diff --git a/platform/viewer/pluginConfig.json b/platform/viewer/pluginConfig.json
index f69de2770..8c5d24197 100644
--- a/platform/viewer/pluginConfig.json
+++ b/platform/viewer/pluginConfig.json
@@ -31,6 +31,10 @@
{
"packageName": "@ohif/extension-cornerstone-dicom-seg",
"version": "3.0.0"
+ },
+ {
+ "packageName": "@ohif/extension-cornerstone-dicom-rt",
+ "version": "3.0.0"
}
],
"modes": [
@@ -45,4 +49,4 @@
],
"modesFactory": [],
"umd": []
-}
\ No newline at end of file
+}
diff --git a/platform/viewer/public/config/default.js b/platform/viewer/public/config/default.js
index 7b432830b..558f473c2 100644
--- a/platform/viewer/public/config/default.js
+++ b/platform/viewer/public/config/default.js
@@ -50,6 +50,7 @@ window.config = {
supportsWildcard: true,
staticWado: true,
singlepart: 'bulkdata,video,pdf',
+ useBulkDataURI: false,
},
},
{
diff --git a/platform/viewer/public/config/demo.js b/platform/viewer/public/config/demo.js
index 5c37f5b48..433d56845 100644
--- a/platform/viewer/public/config/demo.js
+++ b/platform/viewer/public/config/demo.js
@@ -18,6 +18,7 @@ window.config = {
imageRendering: 'wadors',
thumbnailRendering: 'wadors',
enableStudyLazyLoad: true,
+ useBulkDataURI: false,
},
],
},
diff --git a/platform/viewer/public/config/local_dcm4chee.js b/platform/viewer/public/config/local_dcm4chee.js
index fca1f2a71..28ae28fd9 100644
--- a/platform/viewer/public/config/local_dcm4chee.js
+++ b/platform/viewer/public/config/local_dcm4chee.js
@@ -16,13 +16,14 @@ window.config = {
sourceName: 'dicomweb',
configuration: {
name: 'DCM4CHEE',
- wadoUriRoot: 'http://localhost:8080/dcm4chee-arc/aets/DCM4CHEE/wado',
- qidoRoot: 'http://localhost:8080/dcm4chee-arc/aets/DCM4CHEE/rs',
- wadoRoot: 'http://localhost:8080/dcm4chee-arc/aets/DCM4CHEE/rs',
+ wadoUriRoot: 'http://localhost/dcm4chee-arc/aets/DCM4CHEE/wado',
+ qidoRoot: 'http://localhost/dcm4chee-arc/aets/DCM4CHEE/rs',
+ wadoRoot: 'http://localhost/dcm4chee-arc/aets/DCM4CHEE/rs',
qidoSupportsIncludeField: true,
imageRendering: 'wadors',
enableStudyLazyLoad: true,
thumbnailRendering: 'wadors',
+ useBulkDataURI: false,
requestOptions: {
auth: 'admin:admin',
},
diff --git a/platform/viewer/public/config/local_orthanc.js b/platform/viewer/public/config/local_orthanc.js
index 5165cb7e5..71bacacbe 100644
--- a/platform/viewer/public/config/local_orthanc.js
+++ b/platform/viewer/public/config/local_orthanc.js
@@ -25,6 +25,7 @@ window.config = {
imageRendering: 'wadors',
thumbnailRendering: 'wadors',
enableStudyLazyLoad: true,
+ useBulkDataURI: false,
supportsFuzzyMatching: true,
supportsWildcard: true,
},
diff --git a/yarn.lock b/yarn.lock
index 113a1eb55..032805b51 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -1308,7 +1308,7 @@
core-js-pure "^3.25.1"
regenerator-runtime "^0.13.11"
-"@babel/runtime@7.17.9", "@babel/runtime@^7.0.0", "@babel/runtime@^7.1.2", "@babel/runtime@^7.10.2", "@babel/runtime@^7.10.3", "@babel/runtime@^7.11.2", "@babel/runtime@^7.12.13", "@babel/runtime@^7.12.5", "@babel/runtime@^7.14.6", "@babel/runtime@^7.17.8", "@babel/runtime@^7.18.6", "@babel/runtime@^7.20.13", "@babel/runtime@^7.20.7", "@babel/runtime@^7.3.1", "@babel/runtime@^7.4.4", "@babel/runtime@^7.4.5", "@babel/runtime@^7.5.0", "@babel/runtime@^7.5.5", "@babel/runtime@^7.7.2", "@babel/runtime@^7.7.4", "@babel/runtime@^7.7.6", "@babel/runtime@^7.8.4", "@babel/runtime@^7.9.2":
+"@babel/runtime@7.17.9", "@babel/runtime@7.7.6", "@babel/runtime@^7.0.0", "@babel/runtime@^7.1.2", "@babel/runtime@^7.10.2", "@babel/runtime@^7.10.3", "@babel/runtime@^7.11.2", "@babel/runtime@^7.12.13", "@babel/runtime@^7.12.5", "@babel/runtime@^7.14.6", "@babel/runtime@^7.17.8", "@babel/runtime@^7.18.6", "@babel/runtime@^7.20.13", "@babel/runtime@^7.20.7", "@babel/runtime@^7.3.1", "@babel/runtime@^7.4.4", "@babel/runtime@^7.4.5", "@babel/runtime@^7.5.0", "@babel/runtime@^7.5.5", "@babel/runtime@^7.7.2", "@babel/runtime@^7.7.4", "@babel/runtime@^7.7.6", "@babel/runtime@^7.8.4", "@babel/runtime@^7.9.2":
version "7.20.13"
resolved "https://registry.npmjs.org/@babel/runtime/-/runtime-7.20.13.tgz#7055ab8a7cff2b8f6058bf6ae45ff84ad2aded4b"
integrity sha512-gt3PKXs0DBoL9xCvOIIZ2NEqAGZqHjAnmVbfQtB620V0uReIQutpel14KcneZuer7UioY8ALKZ7iocavvzTNFA==
@@ -1443,10 +1443,10 @@
resolved "https://registry.npmjs.org/@cornerstonejs/codec-openjph/-/codec-openjph-2.4.2.tgz#e96721d56f6ec96f7f95c16321d88cc8467d8d81"
integrity sha512-lgdvBvvNezleY+4pIe2ceUsJzlZe/0PipdeubQ3vZZOz3xxtHHMR1XFCl4fgd8gosR8COHuD7h6q+MwgrwBsng==
-"@cornerstonejs/core@^0.40.0":
- version "0.40.0"
- resolved "https://registry.npmjs.org/@cornerstonejs/core/-/core-0.40.0.tgz#5b6409277362b26c6ddb55b54025ecf26b304f84"
- integrity sha512-tjUGFyXuRNRSybpKpd/mP4tKMshc48n/TIt9x5mXU+zqywBPGmojkXOj/v+pG02XopKLg5XPSI4LPysZNVscsg==
+"@cornerstonejs/core@^0.41.0":
+ version "0.41.0"
+ resolved "https://registry.npmjs.org/@cornerstonejs/core/-/core-0.41.0.tgz#1268bc9cb70e101b52e5eee9055a84541d76ef5d"
+ integrity sha512-Wk4BpDaKYz9KRr6eNiYatxg/ZNsluNN2p5QsK0qNYyquR5ABo/fuBexI160plP3jI4pDKlMH+OpbXuLx3T3ngw==
dependencies:
detect-gpu "^4.0.45"
lodash.clonedeep "4.5.0"
@@ -1459,20 +1459,28 @@
detect-gpu "^4.0.45"
lodash.clonedeep "4.5.0"
-"@cornerstonejs/streaming-image-volume-loader@^0.16.0":
- version "0.16.0"
- resolved "https://registry.npmjs.org/@cornerstonejs/streaming-image-volume-loader/-/streaming-image-volume-loader-0.16.0.tgz#513f868c285963fd2f2dbf54ed7840a2dc05e33a"
- integrity sha512-+bbQ6/FN7ryCDdsuyheIPeRa5MO8mTDUDZusNIU97Q8fdmw1hB+eiy9fNThdGfCENd/GPANNsXe6K5olUX7QhQ==
+"@cornerstonejs/core@^0.43.1":
+ version "0.43.1"
+ resolved "https://registry.npmjs.org/@cornerstonejs/core/-/core-0.43.1.tgz#b51e3310156136e4407d56b1be9fc981022ae4dd"
+ integrity sha512-TT2EZHWFblkwYnMqiUWYCwtwzWEseXy819YnquWU8OzzsF14k/2JAQPvw8FB0ephv/LoVyXZPC/zARA6U30weg==
dependencies:
- "@cornerstonejs/core" "^0.40.0"
+ detect-gpu "^4.0.45"
+ lodash.clonedeep "4.5.0"
+
+"@cornerstonejs/streaming-image-volume-loader@^0.16.2":
+ version "0.16.2"
+ resolved "https://registry.npmjs.org/@cornerstonejs/streaming-image-volume-loader/-/streaming-image-volume-loader-0.16.2.tgz#7ac513a21d4d8045047a7aa2fb57b5a85682c036"
+ integrity sha512-2FT0uyuj6+sarAFAdLjd3mGEeW4vD3OPMd/bJltJNyf0eJn0YRC6ke0PwEJj1uyJhEjbhquxsMqhGQIUN8vzpg==
+ dependencies:
+ "@cornerstonejs/core" "^0.41.0"
cornerstone-wado-image-loader "^4.10.2"
-"@cornerstonejs/tools@^0.61.11":
- version "0.61.11"
- resolved "https://registry.yarnpkg.com/@cornerstonejs/tools/-/tools-0.61.11.tgz#dacd85967cd6ab22c27dd44c10b14664863631f9"
- integrity sha512-TCUde2gmuyiyd0EXhoT4DhDZBHYy82MOiekGQe+IG24um3a7GNGJ7jOKBk7fVFxJCTAI2Cb6XI8K79h6BhuWdg==
+"@cornerstonejs/tools@^0.63.2":
+ version "0.63.3"
+ resolved "https://registry.npmjs.org/@cornerstonejs/tools/-/tools-0.63.3.tgz#a66df8e8a3dc0c1bd5224d85db5d2231ab946f12"
+ integrity sha512-cgs/6OYcp3p+RSEOb77gR61eziTfb6Y0uK/GrdpgEet3InhFohJCst1TI8rbrHJd4wUX2VDzXHIm5gf6TlwRsA==
dependencies:
- "@cornerstonejs/core" "^0.42.2"
+ "@cornerstonejs/core" "^0.43.1"
lodash.clonedeep "4.5.0"
lodash.get "^4.4.2"
@@ -6446,6 +6454,11 @@ array-union@^2.1.0:
resolved "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz#b798420adbeb1de828d84acd8a2e23d3efe85e8d"
integrity sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==
+array-union@^3.0.1:
+ version "3.0.1"
+ resolved "https://registry.npmjs.org/array-union/-/array-union-3.0.1.tgz#da52630d327f8b88cfbfb57728e2af5cd9b6b975"
+ integrity sha512-1OvF9IbWwaeiM9VhzYXVQacMibxpXOMYVNIvMtKRyX9SImBXpKcFr8XvFDeEslCyuH/t6KRt7HEO94AlP8Iatw==
+
array-uniq@^1.0.1:
version "1.0.3"
resolved "https://registry.npmjs.org/array-uniq/-/array-uniq-1.0.3.tgz#af6ac877a25cc7f74e058894753858dfdb24fdb6"
@@ -8458,6 +8471,18 @@ copy-text-to-clipboard@^3.0.1:
resolved "https://registry.npmjs.org/copy-text-to-clipboard/-/copy-text-to-clipboard-3.0.1.tgz#8cbf8f90e0a47f12e4a24743736265d157bce69c"
integrity sha512-rvVsHrpFcL4F2P8ihsoLdFHmd404+CMg71S756oRSeQgqk51U3kicGdnvfkrxva0xXH92SjGS62B0XIJsbh+9Q==
+copy-webpack-plugin@^10.2.0:
+ version "10.2.4"
+ resolved "https://registry.npmjs.org/copy-webpack-plugin/-/copy-webpack-plugin-10.2.4.tgz#6c854be3fdaae22025da34b9112ccf81c63308fe"
+ integrity sha512-xFVltahqlsRcyyJqQbDY6EYTtyQZF9rf+JPjwHObLdPFMEISqkFkr7mFoVOC6BfYS/dNThyoQKvziugm+OnwBg==
+ dependencies:
+ fast-glob "^3.2.7"
+ glob-parent "^6.0.1"
+ globby "^12.0.2"
+ normalize-path "^3.0.0"
+ schema-utils "^4.0.0"
+ serialize-javascript "^6.0.0"
+
copy-webpack-plugin@^11.0.0:
version "11.0.0"
resolved "https://registry.npmjs.org/copy-webpack-plugin/-/copy-webpack-plugin-11.0.0.tgz#96d4dbdb5f73d02dd72d0528d1958721ab72e04a"
@@ -11996,6 +12021,18 @@ globby@^11.0.1, globby@^11.0.2, globby@^11.0.3, globby@^11.0.4, globby@^11.1.0:
merge2 "^1.4.1"
slash "^3.0.0"
+globby@^12.0.2:
+ version "12.2.0"
+ resolved "https://registry.npmjs.org/globby/-/globby-12.2.0.tgz#2ab8046b4fba4ff6eede835b29f678f90e3d3c22"
+ integrity sha512-wiSuFQLZ+urS9x2gGPl1H5drc5twabmm4m2gTR27XDFyjUHJUNsS8o/2aKyIF6IoBaR630atdher0XJ5g6OMmA==
+ dependencies:
+ array-union "^3.0.1"
+ dir-glob "^3.0.1"
+ fast-glob "^3.2.7"
+ ignore "^5.1.9"
+ merge2 "^1.4.1"
+ slash "^4.0.0"
+
globby@^13.1.1:
version "13.1.3"
resolved "https://registry.npmjs.org/globby/-/globby-13.1.3.tgz#f62baf5720bcb2c1330c8d4ef222ee12318563ff"
@@ -12728,7 +12765,7 @@ ignore@^4.0.3, ignore@^4.0.6:
resolved "https://registry.npmjs.org/ignore/-/ignore-4.0.6.tgz#750e3db5862087b4737ebac8207ffd1ef27b25fc"
integrity sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg==
-ignore@^5.0.0, ignore@^5.1.1, ignore@^5.1.8, ignore@^5.2.0:
+ignore@^5.0.0, ignore@^5.1.1, ignore@^5.1.8, ignore@^5.1.9, ignore@^5.2.0:
version "5.2.4"
resolved "https://registry.npmjs.org/ignore/-/ignore-5.2.4.tgz#a291c0c6178ff1b960befe47fcdec301674a6324"
integrity sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==