问题绑定分割标记后查看
parent
25b909c660
commit
19d5144b70
|
|
@ -405,6 +405,13 @@ export default {
|
|||
})
|
||||
this.resetViewport(false)
|
||||
item.bidirectional = null
|
||||
if (DATA) {
|
||||
this.segmentationId = DATA.SegmentationId;
|
||||
this.segmentIndex = DATA.SegmentMumber;
|
||||
setTimeout(() => {
|
||||
this.selectSegment(DATA)
|
||||
})
|
||||
}
|
||||
}
|
||||
bidirectionalData.forEach((bidirectional) => {
|
||||
const { segmentIndex } = bidirectional;
|
||||
|
|
@ -1054,9 +1061,12 @@ export default {
|
|||
// console.log(segmentStat, 'segmentStat')
|
||||
segmentStat.count.label = 'Voxels';
|
||||
let segmentGroup = this.segmentList.find(item => item.segmentationId === segmentationId)
|
||||
if (segmentGroup) {
|
||||
let segment = segmentGroup.segments.find(item => item.segmentIndex === segmentIndex)
|
||||
segment.stats = segmentStat;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
} else {
|
||||
const items = [`Statistics on ${indices.join(', ')}`];
|
||||
|
|
@ -1292,6 +1302,7 @@ export default {
|
|||
// this.getBidirectional(o)
|
||||
// })
|
||||
if (SEGMENT && index === segments.length - 1) {
|
||||
console.log(SEGMENT, 'SEGMENT')
|
||||
return this.getBidirectional(o, SEGMENT)
|
||||
}
|
||||
this.getBidirectional(o)
|
||||
|
|
|
|||
Loading…
Reference in New Issue