![]() |
LibMultiSense
LibMultiSense Documentation
|
A frame containing multiple images (indexed by DataSource). More...
#include <MultiSenseTypes.hh>
Public Member Functions | |
void | add_image (const Image &image) |
Add an image to the frame, keyed by the image's DataSource. More... | |
const Image & | get_image (const DataSource &source) const |
Retrieve image by DataSource. More... | |
bool | has_image (const DataSource &source) const |
Check if we have an image for a given data source. More... | |
Public Attributes | |
int64_t | frame_id = 0 |
The unique monotonically increasing ID for each frame populated by the MultiSense. More... | |
std::map< DataSource, Image > | images |
The images assocated with each source in the frame. More... | |
StereoCalibration | calibration |
The scaled calibration for the entire camera. More... | |
TimeT | frame_time {} |
The MultiSense timestamp associated with the frame. More... | |
TimeT | ptp_frame_time {} |
The MultiSense ptp timestamp associated with the frame. More... | |
ColorImageEncoding | aux_color_encoding = ColorImageEncoding::NONE |
The encoding of the aux color image(s) in the frame. More... | |
A frame containing multiple images (indexed by DataSource).
Definition at line 300 of file MultiSenseTypes.hh.
|
inline |
Add an image to the frame, keyed by the image's DataSource.
Definition at line 305 of file MultiSenseTypes.hh.
|
inline |
Retrieve image by DataSource.
Throws if not found.
Definition at line 313 of file MultiSenseTypes.hh.
|
inline |
Check if we have an image for a given data source.
Definition at line 326 of file MultiSenseTypes.hh.
ColorImageEncoding multisense::ImageFrame::aux_color_encoding = ColorImageEncoding::NONE |
The encoding of the aux color image(s) in the frame.
Definition at line 359 of file MultiSenseTypes.hh.
StereoCalibration multisense::ImageFrame::calibration |
The scaled calibration for the entire camera.
Definition at line 344 of file MultiSenseTypes.hh.
int64_t multisense::ImageFrame::frame_id = 0 |
The unique monotonically increasing ID for each frame populated by the MultiSense.
Definition at line 334 of file MultiSenseTypes.hh.
TimeT multisense::ImageFrame::frame_time {} |
The MultiSense timestamp associated with the frame.
Definition at line 349 of file MultiSenseTypes.hh.
std::map<DataSource, Image> multisense::ImageFrame::images |
The images assocated with each source in the frame.
Definition at line 339 of file MultiSenseTypes.hh.
TimeT multisense::ImageFrame::ptp_frame_time {} |
The MultiSense ptp timestamp associated with the frame.
Definition at line 354 of file MultiSenseTypes.hh.