OHIF-184: Add menu tool option to download viewport as PNG or JPEG (#130)

* OHIF-184: added download icon to the OHIF's tool bar

* OHIF-184: refactor dialog toggle method to support cine dialog and download dialog

* OHIF-184: Added hotKey support for downloadDialog.

* OHIF-184: added disabled verify function

* OHIF-184: Finished form structure. Created preview canvas. Added width and height config of the preview. Added the download feature. Added Cancel button.

* OHIF-184: setting default extension as png

* OHIF-184: moved download icon to more in toolbar

* OHIF-184: enabling/disabling tools when toggling show annotations checkbox

* OHIF-184: using a dynamic canvas to create the download content

* OHIF-184: Download with configurable width and height. download distorced

* OHIF-184: using dynamic elemento to manage download image instead of using the preview element

* OHIF-184: make dialog dragable through preview

* OHIF-184: removing useless line

* OHIF-184: adding download icon to leasion tracker

* OHIF-184: adding download dialog template to lesion tracker viewer
This commit is contained in:
André Botelho Almeida authored and Erik Ziegler committed 2017-11-17 11:33:41 +01:00
1 parent e6b18f6c96
commit 057735aab3
10 files changed
+250 -4

No files matched your search

+4
View File
@@ -163,6 +163,10 @@ Package.onUse(function(api) {
api.addFiles('client/components/viewer/cineDialog/cineDialog.js', 'client');
api.addFiles('client/components/viewer/cineDialog/cineDialog.styl', 'client');
api.addFiles('client/components/viewer/downloadDialog/downloadDialog.html', 'client');
api.addFiles('client/components/viewer/downloadDialog/downloadDialog.js', 'client');
api.addFiles('client/components/viewer/downloadDialog/downloadDialog.styl', 'client');
api.addFiles('client/components/viewer/toolbarSectionButton/toolbarSectionButton.html', 'client');
api.addFiles('client/components/viewer/toolbarSectionButton/toolbarSectionButton.js', 'client');
api.addFiles('client/components/viewer/toolbarSectionButton/toolbarSectionButton.styl', 'client');