◆ SkyImage()
| visual::sky::SkyImage::SkyImage |
( |
std::vector< float > |
rgb, |
|
|
int |
width, |
|
|
int |
height, |
|
|
double |
azimuthDeg |
|
) |
| |
- Parameters
-
| [in] | rgb | Linear RGB, row-major, width x height x 3. |
| [in] | width | Pixels per row (360 deg). |
| [in] | height | Rows (180 deg). |
| [in] | azimuthDeg | Azimuth of the image centre [deg]. |
- Exceptions
-
| std::invalid_argument | for an empty image or a size that does not match. |
◆ HasSun()
| bool visual::sky::SkyImage::HasSun |
( |
| ) |
const |
|
inline |
- Returns
- Whether a sun was found.
◆ SkyIrradiance()
| Rgb visual::sky::SkyImage::SkyIrradiance |
( |
| ) |
const |
- Returns
- Irradiance of the sky (sun taken out) on a horizontal surface, image units times sr.
◆ SunDirection()
| const Vec3 & visual::sky::SkyImage::SunDirection |
( |
| ) |
const |
|
inline |
- Returns
- Towards the sun, NED, unit (straight up if none was found).
◆ SunIrradiance()
| const Rgb & visual::sky::SkyImage::SunIrradiance |
( |
| ) |
const |
|
inline |
- Returns
- The sun's irradiance normal to the beam, in the image's units times sr (zero if none).
The documentation for this class was generated from the following file:
- fhsim_environment/src/environment/visual/SkyImage.h