#include <rs_frame.hpp>
Definition at line 943 of file rs_frame.hpp.
rs2::frameset::frameset |
( |
| ) |
|
|
inline |
Extends the frame class with additional frameset related attributes and functions
Definition at line 949 of file rs_frame.hpp.
rs2::frameset::frameset |
( |
const frame & |
f | ) |
|
|
inline |
Extends the frame class with additional frameset related attributes and functions
- Parameters
-
[in] | frame | - existing frame instance |
Definition at line 954 of file rs_frame.hpp.
Retrieve the first frame of a specific stream type and optionally with a specific format. If no frame is found, an error will be thrown.
- Parameters
-
[in] | rs2_stream | s - frame to be retrieved from this stream type. |
[in] | rs2_format | f - frame to be retrieved from this format type. |
- Returns
- frame - first found frame with s stream type.
Definition at line 995 of file rs_frame.hpp.
Retrieve the first frame of a specific stream and optionally with a specific format. If no frame is found, return an empty frame instance.
- Parameters
-
[in] | rs2_stream | s - frame to be retrieved from this stream type. |
[in] | rs2_format | f - frame to be retrieved from this format type. |
- Returns
- frame - first found frame with s stream type.
Definition at line 978 of file rs_frame.hpp.
template<class T >
void rs2::frameset::foreach_rs |
( |
T |
action | ) |
const |
|
inline |
Template function, extract internal frame handles from the frameset and invoke the action function
- Parameters
-
[in] | action | - instance with () operator implemented will be invoke after frame extraction. |
Definition at line 1107 of file rs_frame.hpp.
Retrieve the first color frame, if no frame is found, search for the color frame from IR stream. If one still can't be found, return an empty frame instance.
- Returns
- video_frame - first found color frame.
Definition at line 1015 of file rs_frame.hpp.
Retrieve the first depth frame, if no frame is found, return an empty frame instance.
- Returns
- depth_frame - first found depth frame.
Definition at line 1006 of file rs_frame.hpp.
Retrieve the fisheye monochrome video frame
- Parameters
-
- Returns
- video_frame - the fisheye frame denoted by index.
Definition at line 1054 of file rs_frame.hpp.
Retrieve the first infrared frame, if no frame is found, return an empty frame instance.
- Parameters
-
- Returns
- video_frame - first found infrared frame.
Definition at line 1032 of file rs_frame.hpp.
Bracket operator retrieves back the frame from frameset using arrary notation
- Parameters
-
[in] | index | - index of array to retrieve data back. |
- Returns
- frame - retrieved frame.
Definition at line 1124 of file rs_frame.hpp.
size_t rs2::frameset::size |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file: