Skip to content

raisin::SensorBatchRenderer::RgbGroup ​

struct · #include <rayrai/SensorBatchRenderer.hpp>

RGB cameras of one resolution and lens type, whose images are stored together.

Public attributes ​

width ​

cpp
int width

height ​

cpp
int height

fisheye ​

cpp
bool fisheye

cameras ​

cpp
std::vector<size_t> cameras

Camera indices (as returned by addRgbCamera()), in the order of their images.

bgra ​

cpp
std::vector<unsigned char> bgra

cameras.size() images of height rows of width BGRA pixels (4 bytes, alpha 255), each image starting at its top row, as Camera::getRawImage() writes RGBCamera::getImageBuffer().

RaiSim — physics for robotics and AI.