2019-10-26 23:41:45 +03:00
|
|
|
<template>
|
|
|
|
|
<div>
|
|
|
|
|
<v-row align="center" justify="start">
|
|
|
|
|
<v-col style="padding-right:0" :cols="3">
|
|
|
|
|
<v-btn small color="#4baf62" @click="takePoint">Take Point</v-btn>
|
|
|
|
|
</v-col>
|
|
|
|
|
<v-col>
|
|
|
|
|
<v-btn small @click="clearPoint" color="yellow darken-3">Clear Point</v-btn>
|
|
|
|
|
</v-col>
|
|
|
|
|
</v-row>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
export default {
|
|
|
|
|
name: "SingleCalibration",
|
2019-10-28 20:16:18 +02:00
|
|
|
props: ['rawPoint'],
|
2019-10-26 23:41:45 +03:00
|
|
|
methods:{
|
|
|
|
|
clearPoint(){
|
2019-10-28 20:16:18 +02:00
|
|
|
this.handleInput('point',[0,0]);
|
2019-10-26 23:41:45 +03:00
|
|
|
},
|
|
|
|
|
takePoint(){
|
2019-10-28 20:16:18 +02:00
|
|
|
this.handleInput('point',this.rawPoint);
|
2019-10-26 23:41:45 +03:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<style scoped>
|
|
|
|
|
|
|
|
|
|
</style>
|