modified the groundtruthpoints to 3D

This commit is contained in:
toni
2017-03-20 11:40:14 +01:00
parent 62d4a278e9
commit aea0d14e4a
4 changed files with 11 additions and 16 deletions

View File

@@ -29,7 +29,7 @@ public:
virtual Param getParamDesc(const int idx) const override {
switch(idx) {
case 0: return Param("id", ParamType::INT);
case 1: return Param("position", ParamType::POINT2);
case 1: return Param("position", ParamType::POINT3);
}
throw 1;
}
@@ -45,7 +45,7 @@ public:
virtual void setParamValue(const int idx, const ParamValue& val) const override {
switch(idx) {
case 0: gtp->id = val.toInt(); break;
case 1: gtp->pos = val.toPoint2(); break;
case 1: gtp->pos = val.toPoint3(); break;
}
}