bugfix in 2d pipeline and added area in ui

This commit is contained in:
ori agranat
2019-11-28 01:38:45 +02:00
parent c5f2a90f86
commit ab9cf217aa
4 changed files with 4 additions and 5 deletions

View File

@@ -269,7 +269,7 @@
let p = this.$store.state.point.calculated;
let fps = this.$store.state.point.fps;
if (p !== undefined) {
return ("Pitch: " + parseFloat(p['pitch']).toFixed(2) + " Yaw: " + parseFloat(p['yaw']).toFixed(2) + " FPS: " + fps.toFixed(2))
return `Pitch: ${parseFloat(p['pitch']).toFixed(2)}, Yaw: ${parseFloat(p['yaw']).toFixed(2)}, Area: ${p['area'].toFixed(2)}, FPS: ${fps.toFixed(2)}`
} else {
return undefined;
}

View File

@@ -2,8 +2,8 @@
<div>
<CVslider name="Exposure" v-model="value.exposure" :min="0" :max="100" @input="handleData('exposure')"/>
<CVslider name="Brightness" v-model="value.brightness" :min="0" :max="100" @input="handleData('brightness')"/>
<CVselect name="Orientation" v-model="value.flipMode" :list="['Normal','Inverted']"
@input="handleData('orientation')"/>
<CVselect name="Orientation" v-model="value.rotationMode" :list="['Normal','90°','180°','270°']"
@input="handleData('flipMode')"/>
</div>
</template>