Generic setToolActive command

This commit is contained in:
dannyrb committed 2019-06-16 13:56:49 -04:00
1 parent 4de5fa2d0e
commit 7971ac58a2
2 files changed
+7 -23

No files matched your search

@@ -28,29 +28,6 @@ function getDisplaySetsBySeries(studies, studyInstanceUid, seriesInstanceUid) {
});
}
// Unused? Delete me.
// function getCornerstoneStack(studies, studyInstanceUid, displaySetInstanceUid) {
// const study = studies.find(
// study => study.studyInstanceUid === studyInstanceUid
// );
// // Create shortcut to displaySet
// const displaySet = getDisplaySet(
// studies,
// studyInstanceUid,
// displaySetInstanceUid
// );
// // Get stack from Stack Manager
// const stack = StackManager.findOrCreateStack(study, displaySet);
// // Clone the stack here so we don't mutate it later
// const stackClone = Object.assign({}, stack);
// stackClone.currentImageIdIndex = 0;
// return stackClone;
// }
function parseSeg(arrayBuffer, imageIds) {
return dcmjs.adapters.Cornerstone.Segmentation.generateToolState(
imageIds,