Commit Graph
76 Commits
Author SHA1 Message Date
James Petts 8f05cf73c7 Add authoring information to exported DICOMs using the DICOMWeb DataSource (#1819)
* OHIF-177 JSDocs.

* Add proxy for activeDataSource to extensionManager.

* Add app authoring information.
2020-06-26 11:24:19 +02:00
James Petts 81a764a78f [OHIF-177] - JSDocs (#1818)
* OHIF-177 JSDocs.

* Add proxy for activeDataSource to extensionManager.
2020-06-26 11:01:13 +02:00
James PettsandDanny Brown 6aac69e1ba OHIF-176: v2 - Render non-tracked measurements as a dashed lines. (#1805)
* Render non-tracked measurements as a dashed line.

* bump CST version.

* Update extensions/measurement-tracking/src/viewports/TrackedCornerstoneViewport.js

remove tracked series console log

* Remove empty console log

* Remove debugger

* Remove debugger

Co-authored-by: Danny Brown <danny.ri.brown@gmail.com>
2020-06-25 18:46:17 +02:00
James A. Petts 0fe7083c51 Rebase on master 2020-06-25 18:24:57 +02:00
James A. Petts 74c1462271 Working local download, STOW to PACS an view in SR Viewport. 2020-06-25 18:21:03 +02:00
James Petts c01466762d WIP Measurements service. (#1808) 2020-06-25 18:13:31 +02:00
James A. Petts 7b7b63de93 WIP Measurements service. 2020-06-25 12:15:33 +02:00
James A. Petts 084697687d Fix reactivity of SR Viewport when the user scrolls away and then jumps to a measurement on the same slice as the currently active measurement. 2020-06-17 09:45:40 +02:00
James A. Petts 73bb4de140 SR viewport to cornerstone viewport consistency updates. 2020-06-17 09:25:10 +02:00
James A. Petts 00f0ae4bbc By default other tool state not loaded into the viewport. (set disabled) 2020-06-15 13:09:48 +02:00
James A. Petts e7501933dd Pull in master 2020-06-15 10:23:35 +02:00
James A. Petts c5e6e97980 Merge in feat/ui-v2-rebase-services 2020-06-11 18:26:38 +02:00
James A. Petts 2fc171e297 Enable non-thumbnail entries in thumbnail list. 2020-06-10 15:10:00 +02:00
James A. Petts 6f6fea973d WIP 2020-06-10 14:33:56 +02:00
James A. Petts c8b3e130d0 WIP 2020-06-10 10:09:33 +02:00
James A. Petts 83497795ca Finish render tool other than rotated ellipse and clean up. 2020-06-05 18:59:07 +02:00
James A. Petts f4470c9625 Generate render tool. 2020-06-05 17:36:11 +02:00
James A. Petts 7bd041a02c WIP 2020-06-05 10:19:43 +02:00
James A. Petts e9db84c2c2 WIP 2020-06-04 20:39:32 +02:00
James A. Petts d39d103552 SR Viewport WIP 2020-06-04 14:26:06 +02:00
James A. Petts 99bf0e07b0 WIP SR Viewport. 2020-06-04 11:34:43 +02:00
James A. Petts 558ab00c23 WIP SR viewport. 2020-06-03 19:12:13 +02:00
James A. Petts a3e1c216c4 Working cornerstone tools buttons, needs UI updates + onClicks wrapped in toolbarService 2020-05-20 18:49:17 +02:00
James A. Petts 52d1b6276d Add in checks. 2020-05-20 13:59:10 +02:00
James A. Petts d83c868cdd Working, needs optimisation. 2020-05-19 19:22:38 +02:00
James A. Petts 940e745d8d WIP bring back thumbnails. 2020-05-19 16:02:03 +02:00
James A. Petts cf0e88bd0b Rebuild study browser reactivity. 2020-05-19 15:56:25 +02:00
James A. Petts f7ae544716 WIP, wrap command manager controls so we can pass these to the UI component. 2020-05-19 14:01:39 +02:00
James A. Petts 156b9cfd09 Pull in upstream. 2020-05-19 11:04:42 +02:00
James A. Petts 6a3e0db53e ToolBarService 2020-05-19 11:01:44 +02:00
James A. Petts aec30e0db1 Update DisplaySetService 2020-05-19 10:30:16 +02:00
James A. Petts 7a8418f64b WIP DisplaySetService 2020-05-18 17:21:57 +02:00
James A. PettsandDanny Brown 649216fde4 Co-authored-by: Danny Brown <danny.ri.brown@gmail.com> 2020-05-18 15:46:05 +02:00
James A. Petts 4fc3169fed display viewport. 2020-05-15 19:07:21 +02:00
James A. Petts 3b5764aea7 Rebase WADO + toolbar + displayset stuff on master 2020-05-15 14:04:53 +02:00
James A. Petts b8a4ac231d something WIP 2020-05-15 14:04:53 +02:00
James A. Petts 4b9a1ee9d1 Remove all the debugging. 2020-05-15 14:04:53 +02:00
James A. Petts 07ca72d0df Added other required definitions. 2020-05-15 14:04:51 +02:00
James A. Petts 41c508b2da Add layout tools based on mode. 2020-05-15 14:04:09 +02:00
James A. Petts c23c1e8db6 Add toolbar layout to context. 2020-05-15 14:04:09 +02:00
James A. Petts c42aa37d7f Update extension manager to ingest each module type. Add toolbar Manager. 2020-05-15 14:04:06 +02:00
James A. Petts a8340b9b69 WIP 2020-05-15 14:02:38 +02:00
James A. Petts 289d3f5703 Build WADO logic to fetch + build displaysets + generate imageIds based on prefs. 2020-05-15 14:02:04 +02:00
James A. Petts d5c83bf596 WIP 2020-05-15 14:02:04 +02:00
James A. Petts 5c19671d3c WIP build up displaysets. 2020-05-15 14:01:58 +02:00
James Petts c4f84b1174 fix: 🐛 Fix seg color load (#1724) 2020-05-12 16:47:35 +02:00
James Petts fa95bae6ef Support initialization of segment color from RecommendedDisplayCIELabValue (#1709)
* fix: 🐛 Proper error handling for derived display sets

* Revert idc.js change

* Load correct Segment colors.
2020-05-04 16:43:09 +02:00
James Petts 5b20d8f323 fix: 🐛 Proper error handling for derived display sets (#1708)
* fix: 🐛 Proper error handling for derived display sets

* Revert idc.js change
2020-05-04 16:10:39 +02:00
James Petts 71205618ec fix: 🐛 Multiframe fix (#1661) 2020-04-23 12:02:51 +02:00
James Pettsanddannyrb e96205de35 feat: configuration to hook into XHR Error handling
* Error handling.

* Fix error handling, add redirect example.

* remove debugger

* docs: whitelabeling and httpErrorHandler

* bump dicomweb-client version

* bump cornerstone-wado-image-loader version

* Add more documentation around httpErrorHandler callback

* test: add errorHandler as an expected top level export

Co-authored-by: dannyrb <danny.ri.brown@gmail.com>
2020-04-22 22:01:34 -04:00
James PettsandDanny Brown 9e0bd52c6a fix: 🐛 Fix multiframe images (#1595)
Co-authored-by: Danny Brown <danny.ri.brown@gmail.com>
2020-04-02 13:56:53 -04:00
James Petts b459b894bd Sm fix (#1585)
* Fix broken SM viewport.

* fix: 🐛 Fix broken SM viewport
2020-03-31 15:28:11 +02:00
James PettsandDanny 1d85f7a74e Instance metadata/metadata providers overhaul (#1481)
* Instance metadata plus metadata provider overhaul.

Fix consumption of wado-uri urls

fallbacks + datatype agnosticism.

WIP DICOMify things.

fix various issues with naturalized variable naming migration.

Remove metadata provider.

Fix consumption of multiframe images and addition of CWIL metadata.

Fix strange build issues.

Fix CWIL style windowWidth to array from naturalized DICOM.

Fix PT, CT, CR and DX issues for cornerstone + DX issues for vtkjs.

Move color palette fetching down to the natuaralized JSON level.

Remove unused StudyMetadataSummary

Remove redundant dicom metadata dictionary.

Working local + json routes.

Fix SR read.

Finished first round of testing + cleaned up debugging etc.

* data => metadata for instance naturalizedJSON

* Update dcmjs version

* Correct github isssues.

* Fix erroneously replaced files.

* Danny's recommended changes.

* Instance metadata plus metadata provider overhaul.

Fix consumption of wado-uri urls

fallbacks + datatype agnosticism.

WIP DICOMify things.

fix various issues with naturalized variable naming migration.

Remove metadata provider.

Fix consumption of multiframe images and addition of CWIL metadata.

Fix strange build issues.

Fix CWIL style windowWidth to array from naturalized DICOM.

Fix PT, CT, CR and DX issues for cornerstone + DX issues for vtkjs.

Move color palette fetching down to the natuaralized JSON level.

Remove unused StudyMetadataSummary

Remove redundant dicom metadata dictionary.

Working local + json routes.

Fix SR read.

Finished first round of testing + cleaned up debugging etc.

* data => metadata for instance naturalizedJSON

* Update dcmjs version

* Correct github isssues.

* Fix erroneously replaced files.

* Danny's recommended changes.

* Update JSON CI

* Update casing of import.

* Fix jump for SR.

* Fix unit tests for measurements service

* Fix json CI test.

* fix: update yarn lock

* Fix local non-encapsulated pdf view

* CI updated to new sucess message.

Co-authored-by: Danny <danny.ri.brown@gmail.com>
2020-03-09 19:03:23 +00:00
James Petts 1d86b1a102 fix: 🐛 Upgrade react-vtkjs-viewport to fix volume orientation (#1143) 2019-11-04 10:45:53 +01:00
James Petts 460e375f0a fix: 🐛 Orthographic MPR fix (#1092)
* fix: 🐛 Orthographic MPR fix
2019-10-25 19:43:34 +02:00
James Petts b451ce4407 fix: 🐛 Fix crosshairs location when using MIP (#1080) 2019-10-25 15:07:35 +02:00
James Petts 13d337aaab fix: 🐛 Switch to orhtographic view for 2D MPR (#1074) 2019-10-23 12:36:41 +02:00
James Petts 9d08e81aa5 perf: ⚡️ Throttle UI refresh of synced WL value in vtk port (#1070) 2019-10-23 09:45:26 +02:00
James Petts d5e21bb5bb * chore: 🤖 Update react-vtkjs-viewport and refactor vtk extension
* chore: 🤖 Update react-vtkjs-viewport and refactor vtk extension
2019-10-18 15:53:43 +02:00
James Petts 9cdf8b690b * feat: 🎸 Progressive volume loading for vtk viewport (#1055)
* feat: 🎸 Progressive volume loading for vtk viewport

Adds progressive volume loading for vtkjs viewport whilst the frames are
streamed from PACs and rebuilt in the volume.

Closes: closes #1051

* Update to react-vtkjs-viewport 0.3.0
2019-10-18 11:43:23 +02:00
James Petts d091cd604c fix: 🐛 Remove debugger statement left in from last PR (#1052) 2019-10-15 18:03:29 +02:00
James Petts 2d75e01ea0 feat: 🎸 Only allow reconstruction of datasets that make sense (#1010)
* feat: 🎸 Only allow reconstruction of datasets that make sense

Only allow reconstruction of datasets which are imaging data, that have
frames in the same orientation, with the same size and make sense to be
reconstructed in 3D.

Closes: #561
2019-10-15 17:08:53 +02:00
James Petts 750a150644 Merge pull request #1025 from JamesAPetts/vtkjsViewportPerformance
perf: ⚡️ Update react-vtkjs-viewport for performance improvement
2019-10-10 18:37:34 +02:00
James A. Petts a9d28d85da Merge remote-tracking branch 'upstream/master' into vtkjsViewportPerformance 2019-10-10 18:02:08 +02:00
James A. Petts 6ee5094cbe perf: ⚡️ Update react-vtkjs-viewport for performance improvement 2019-10-10 17:57:53 +02:00
James Petts 8513ad9ef3 perf: 🎸 Update vtk viewport for faster image reconstruction (#1016) 2019-10-09 13:13:13 +02:00
James Petts 7709ebb107 Merge pull request #993 from JamesAPetts/vtkViewportSubscriptionManager
feat: 🎸 Synced Window Leveling
2019-10-03 15:49:19 +02:00
James A. Petts 559b637290 feat: 🎸 Synced Window Leveling
Syncs window leveling for vtkjs viewports in MPR 2D mode.

Closes: #558
2019-10-03 15:29:56 +02:00
James Petts 56d658f02d Merge pull request #913 from JamesAPetts/dcmjs0.6.1
chore: 🤖 Upgrade dcmjs to 0.6.1
2019-09-12 12:24:36 +02:00
James A. Petts 64921b905f Cosmetic change to trigger netlify rebuild. 2019-09-12 11:26:36 +02:00
James A. Petts d00d7daf41 chore: 🤖 Upgrade dcmjs to 0.6.1 2019-09-12 11:22:46 +02:00
James Petts d12d01215e Merge pull request #900 from JamesAPetts/cst4
Upgrade to cornerstoneTools 4.0.1 and dcmjs 0.6.0
2019-09-09 17:03:10 +02:00
James A. Petts 86adb5113a feat: 🎸 Upgraded to cornerstoneTools 4.0
Upgraded OHIF to run on cornerstone-tools 4.0.1 and dcmjs 0.6.0.

BREAKING CHANGE: n
2019-09-09 16:43:48 +02:00
James A. Petts 5220cd371c Upgrade to cornerstoneTools 4.0.1 and dcmjs 0.6.0 2019-09-09 16:32:52 +02:00
James Petts 9c97d6229e fix typo: e -> eventData. 2019-02-05 12:18:31 +00:00
James Petts 4579543bde Fixed memory leak by properly triggering remove. (#339) 2019-01-23 09:38:18 +01:00