|
supereight
|
#include <pinhole_camera.hpp>
Public Member Functions | |
| void | readYaml (const std::string &filename) |
| Reads the struct members from the "sensor" node of a YAML file. More... | |
Public Member Functions inherited from se::SensorBaseConfig | |
| void | readYaml (const std::string &filename) |
| Reads the struct members from the "sensor" node of a YAML file. More... | |
Public Attributes | |
| float | fx = std::numeric_limits<float>::quiet_NaN() |
| The sensor's horizontal focal length in pixels. More... | |
| float | fy = std::numeric_limits<float>::quiet_NaN() |
| The sensor's vertical focal length in pixels. More... | |
| float | cx = std::numeric_limits<float>::quiet_NaN() |
| The sensor's optical centre horizontal coordinate in pixels. More... | |
| float | cy = std::numeric_limits<float>::quiet_NaN() |
| The sensor's optical centre vertical coordinate in pixels. More... | |
Public Attributes inherited from se::SensorBaseConfig | |
| int | width = 0 |
| The width of images produced by the sensor in pixels. More... | |
| int | height = 0 |
| The height of images produced by the sensor in pixels. More... | |
| float | near_plane = 0.0f |
| The sensor's near plane in metres. More... | |
| float | far_plane = std::numeric_limits<float>::infinity() |
| The sensor's far plane in metres. More... | |
| Eigen::Matrix4f | T_BS = Eigen::Matrix4f::Identity() |
| The transformation from the sensor frame S to the body frame B. More... | |
| void se::PinholeCameraConfig::readYaml | ( | const std::string & | filename | ) |
Reads the struct members from the "sensor" node of a YAML file.
Members not present in the YAML file aren't modified.
| float se::PinholeCameraConfig::fx = std::numeric_limits<float>::quiet_NaN() |
The sensor's horizontal focal length in pixels.
| float se::PinholeCameraConfig::fy = std::numeric_limits<float>::quiet_NaN() |
The sensor's vertical focal length in pixels.
| float se::PinholeCameraConfig::cx = std::numeric_limits<float>::quiet_NaN() |
The sensor's optical centre horizontal coordinate in pixels.
| float se::PinholeCameraConfig::cy = std::numeric_limits<float>::quiet_NaN() |
The sensor's optical centre vertical coordinate in pixels.
1.8.13