|
RealSense Cross Platform API
RealSense Cross-platform API
|
#include <rs_frame.hpp>
Public Member Functions | |
| motion_frame (const frame &f) | |
| rs2_vector | get_motion_data () const |
| rs2_combined_motion | get_combined_motion_data () const |
| Public Member Functions inherited from rs2::frame | |
| frame () | |
| frame (rs2_frame *ref) | |
| frame (frame &&other) noexcept | |
| frame & | operator= (frame other) |
| frame (const frame &other) | |
| void | swap (frame &other) |
| ~frame () | |
| void | keep () |
| operator bool () const | |
| rs2_sensor * | get_sensor () |
| double | get_timestamp () const |
| rs2_timestamp_domain | get_frame_timestamp_domain () const |
| rs2_metadata_type | get_frame_metadata (rs2_frame_metadata_value frame_metadata) const |
| bool | supports_frame_metadata (rs2_frame_metadata_value frame_metadata) const |
| unsigned long long | get_frame_number () const |
| const int | get_data_size () const |
| const void * | get_data () const |
| stream_profile | get_profile () const |
| template<class T> | |
| bool | is () const |
| template<class T> | |
| T | as () const |
| rs2_frame * | get () const |
| operator rs2_frame * () | |
| frame | apply_filter (filter_interface &filter) |
Additional Inherited Members | |
| Protected Member Functions inherited from rs2::frame | |
| void | add_ref () const |
| void | reset () |
|
inline |
Extends the frame class with additional motion related attributes and functions
| [in] | frame | - existing frame instance |
|
inline |
Retrieve the combined motion data for frames with RS2_FORMAT_COMBINED_MOTION and RS2_STREAM_MOTION. For RS2_FORMAT_MOTION_XYZ32F and RS2_STREAM_GYRO or RS2_STREAM_ACCEL, use get_motion_data().
|
inline |
Retrieve the motion data for frames with RS2_FORMAT_MOTION_XYZ32F, RS2_STREAM_GYRO or RS2_STREAM_ACCEL. For RS2_STREAM_MOTION and RS2_FORMAT_COMBINED_MOTION, use get_combined_motion_data().