| 10 | |
| 11 | |
| 12 | std::string FaceData::to_string() |
| 13 | { |
| 14 | std::string datastring = |
| 15 | std::string("Pitch ") + std::to_string(this->rotation[0]) + |
| 16 | std::string(" Yaw ") + std::to_string(this->rotation[1]) + |
| 17 | std::string(" Roll ") + std::to_string(this->rotation[2]); |
| 18 | |
| 19 | datastring += |
| 20 | std::string(" X: ") + |
| 21 | std::to_string(this->translation[0]) + ", Y: " + |
| 22 | std::to_string(this->translation[1]) + ", Z: " + |
| 23 | std::to_string(this->translation[2]) ; |
| 24 | |
| 25 | |
| 26 | /*datastring += |
| 27 | std::string("\n\Crop coords: ") + |
| 28 | std::to_string(this->face_coords[0]) + ", " + |
| 29 | std::to_string(this->face_coords[1]) + ", " + |
| 30 | std::to_string(this->face_coords[2]) + ", " + |
| 31 | std::to_string(this->face_coords[3]); |
| 32 | */ |
| 33 | |
| 34 | return datastring; |
| 35 | } |
| 36 | |
| 37 |
nothing calls this directly
no outgoing calls
no test coverage detected