|
ReUseX
0.0.5
3D Point Cloud Processing for Building Reuse
|
Lightweight camera intrinsics replacing rtabmap::CameraModel in downstream code. More...
#include <SensorIntrinsics.hpp>

Public Member Functions | |
| std::string | to_json () const |
| Serialize to JSON string for storage in ProjectDB. | |
Static Public Member Functions | |
| static SensorIntrinsics | from_json (const std::string &json) |
| Deserialize from JSON string. Returns default-constructed on failure. | |
Public Attributes | |
| double | fx = 0 |
| double | fy = 0 |
| double | cx = 0 |
| double | cy = 0 |
| int | width = 0 |
| int | height = 0 |
| std::array< double, 16 > | local_transform |
| 4x4 row-major local transform (camera frame to robot/sensor base frame). | |
Lightweight camera intrinsics replacing rtabmap::CameraModel in downstream code.
Stores pinhole parameters plus the 4x4 camera-to-base transform.
Definition at line 14 of file SensorIntrinsics.hpp.
|
static |
Deserialize from JSON string. Returns default-constructed on failure.
| std::string reusex::core::SensorIntrinsics::to_json | ( | ) | const |
Serialize to JSON string for storage in ProjectDB.
| double reusex::core::SensorIntrinsics::cx = 0 |
Definition at line 15 of file SensorIntrinsics.hpp.
| double reusex::core::SensorIntrinsics::cy = 0 |
Definition at line 15 of file SensorIntrinsics.hpp.
| double reusex::core::SensorIntrinsics::fx = 0 |
Definition at line 15 of file SensorIntrinsics.hpp.
| double reusex::core::SensorIntrinsics::fy = 0 |
Definition at line 15 of file SensorIntrinsics.hpp.
| int reusex::core::SensorIntrinsics::height = 0 |
Definition at line 16 of file SensorIntrinsics.hpp.
| std::array<double, 16> reusex::core::SensorIntrinsics::local_transform |
4x4 row-major local transform (camera frame to robot/sensor base frame).
Definition at line 18 of file SensorIntrinsics.hpp.
| int reusex::core::SensorIntrinsics::width = 0 |
Definition at line 16 of file SensorIntrinsics.hpp.