分割部分问题解决
parent
91386589ae
commit
0f25958d9b
|
|
@ -40,10 +40,10 @@
|
|||
<div v-if="series" class="right-bottom-text">
|
||||
<div v-show="imageInfo.location">Location: {{
|
||||
`${Number(imageInfo.location).toFixed(digitPlaces)} mm`
|
||||
}}</div>
|
||||
}}</div>
|
||||
<div v-show="imageInfo.sliceThickness">Slice Thickness: {{
|
||||
`${Number(imageInfo.sliceThickness).toFixed(digitPlaces)} mm`
|
||||
}}</div>
|
||||
}}</div>
|
||||
<div v-show="imageInfo.wwwc">WW/WL: {{ imageInfo.wwwc }}</div>
|
||||
</div>
|
||||
<div class="orientation-top">
|
||||
|
|
@ -185,7 +185,8 @@ export default {
|
|||
rotateAngle: 0,
|
||||
rotateBarLeft: 0,
|
||||
loading: false,
|
||||
toggleClipPlayTimer: null
|
||||
toggleClipPlayTimer: null,
|
||||
isFlip: false
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
|
|
@ -363,7 +364,11 @@ export default {
|
|||
|
||||
return 'unknown';
|
||||
},
|
||||
setFilp(f = false) {
|
||||
this.isFlip = f
|
||||
},
|
||||
stackNewImage(e) {
|
||||
if (this.isFlip) return this.isFlip = false
|
||||
const { detail } = e
|
||||
this.series.SliceIndex = detail.imageIndex
|
||||
this.sliderInfo.height = detail.imageIndex * 100 / detail.numberOfSlices
|
||||
|
|
|
|||
|
|
@ -2882,6 +2882,7 @@ export default {
|
|||
const viewportId = `${this.viewportKey}-${this.activeViewportIndex}`
|
||||
const viewport = renderingEngine.getViewport(viewportId)
|
||||
const type = parseInt(value)
|
||||
if (this.readingTool === 3 || this.isMPR) this.$refs[`${this.viewportKey}-${this.activeViewportIndex}`][0].setFilp(true)
|
||||
// 1:默认值;2:垂直翻转;3:水平翻转;4:左转90度;5:右转90度;
|
||||
if (type === 1) {
|
||||
// viewport.resetCamera()
|
||||
|
|
@ -2985,7 +2986,7 @@ export default {
|
|||
viewport.setProperties({ voiRange: { upper: 5, lower: 0 } })
|
||||
}
|
||||
viewport.render()
|
||||
renderingEngine.render()
|
||||
// renderingEngine.render()
|
||||
if (this.readingTool === 3) {
|
||||
DicomEvent.$emit('isloaded', { isChange: false, viewportId })
|
||||
}
|
||||
|
|
|
|||
|
|
@ -59,10 +59,10 @@
|
|||
<div v-if="series" class="right-bottom-text">
|
||||
<div v-show="imageInfo.location">Location: {{
|
||||
`${Number(imageInfo.location).toFixed(digitPlaces)} mm`
|
||||
}}</div>
|
||||
}}</div>
|
||||
<div v-show="imageInfo.sliceThickness">Slice Thickness: {{
|
||||
`${Number(imageInfo.sliceThickness).toFixed(digitPlaces)} mm`
|
||||
}}</div>
|
||||
}}</div>
|
||||
<div v-show="imageInfo.wwwc">WW/WL: {{ imageInfo.wwwc }}</div>
|
||||
</div>
|
||||
<div class="orientation-top">
|
||||
|
|
@ -203,7 +203,8 @@ export default {
|
|||
rotateAngle: 0,
|
||||
rotateBarLeft: 0,
|
||||
loading: false,
|
||||
toggleClipPlayTimer: null
|
||||
toggleClipPlayTimer: null,
|
||||
isFlip: false
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
|
|
@ -382,7 +383,11 @@ export default {
|
|||
|
||||
return 'unknown';
|
||||
},
|
||||
setFilp(f = false) {
|
||||
this.isFlip = f
|
||||
},
|
||||
stackNewImage(e) {
|
||||
if (this.isFlip) return this.isFlip = false
|
||||
const { detail } = e
|
||||
delete this.series.segment
|
||||
this.series.SliceIndex = detail.imageIndex
|
||||
|
|
|
|||
Loading…
Reference in New Issue