Add Rotate and Flip buttons to OHIF Viewer and Standalone Viewer

This commit is contained in:
Erik Ziegler committed 2018-02-15 11:42:07 +01:00
1 parent ba797ddbc4
commit f4b2e6a33b
2 files changed
+42

No files matched your search

@@ -126,6 +126,27 @@ Template.toolbarSection.helpers({
iconClasses: 'fa fa-adjust'
});
extraTools.push({
id: 'rotateR',
title: 'Rotate Right',
classes: 'imageViewerCommand',
svgLink: '/packages/ohif_viewerbase/assets/icons.svg#icon-tools-rotate-right'
});
extraTools.push({
id: 'flipH',
title: 'Flip H',
classes: 'imageViewerCommand',
svgLink: '/packages/ohif_viewerbase/assets/icons.svg#icon-tools-flip-horizontal'
});
extraTools.push({
id: 'flipV',
title: 'Flip V',
classes: 'imageViewerCommand',
svgLink: '/packages/ohif_viewerbase/assets/icons.svg#icon-tools-flip-vertical'
});
extraTools.push({
id: 'clearTools',
title: 'Clear',