bringing series into viewport (work in progress)
This commit is contained in:
1 parent
42c8ddc73b
commit
7c1a0c38c0
3 files changed
+22
-5
No files matched your search
@@ -41,10 +41,16 @@ function updateLesions(e) {
|
||||
|
||||
var timepointObject = timepoints[timepointID];
|
||||
|
||||
// TODO: Bring series in correct imageViewport
|
||||
if (timepointObject === undefined) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!timepointObject ) {
|
||||
timepointObject = {}
|
||||
}
|
||||
|
||||
if (timepointObject.seriesInstanceUid !== "") {
|
||||
|
||||
if (timepointObject.seriesInstanceUid !== series.seriesInstanceUid) {
|
||||
console.log("not in same series");
|
||||
var newSeriesData = {
|
||||
seriesInstanceUid: timepointObject.seriesInstanceUid,
|
||||
studyInstanceUid: timepointObject.studyInstanceUid
|
||||
@@ -55,6 +61,8 @@ function updateLesions(e) {
|
||||
}
|
||||
|
||||
// Defines event data
|
||||
console.log(element);
|
||||
console.log(cornerstone.getEnabledElement(element));
|
||||
var eventData = {
|
||||
enabledElement: cornerstone.getEnabledElement(element),
|
||||
lesionData: {
|
||||
|
||||
Reference in new issue
Block a user