Definition at line 22 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_frame.hpp.

Public Member Functions | |
| stream_profile () | |
| Class to store the profile of stream. More... | |
| int | stream_index () const |
| Return the specific stream index. More... | |
| rs2_stream | stream_type () const |
| Return the stream type. More... | |
| rs2_format | format () const |
| Return the stream format. More... | |
| int | fps () const |
| Return the stream frame per second. More... | |
| int | unique_id () const |
| Return the assigned unique index when the stream was created. More... | |
| stream_profile | clone (rs2_stream type, int index, rs2_format format) const |
| Clone the current profile and change the type, index and format to input parameters. More... | |
| bool | operator== (const stream_profile &rhs) |
| Comparison operator, compare if two stream profiles are the same. More... | |
| template<class T > | |
| bool | is () const |
| Template function, checking if the instance belongs to specific class type. More... | |
| template<class T > | |
| T | as () const |
| Template function, casting the instance as another class type. More... | |
| std::string | stream_name () const |
| Return the string of stream name. More... | |
| bool | is_default () const |
| Checks if stream profile is marked/assigned as default, meaning that the profile will be selected when the user requests stream configuration using wildcards (RS2_DEPTH, -1,-1,... More... | |
| operator bool () const | |
| Checks if the profile is valid. More... | |
| const rs2_stream_profile * | get () const |
| Get back the internal stream profile instance. More... | |
| rs2_extrinsics | get_extrinsics_to (const stream_profile &to) const |
| Operator implement, return the internal stream profile instance. More... | |
| void | register_extrinsics_to (const stream_profile &to, rs2_extrinsics extrinsics) |
| Assign extrinsic transformation parameters to a specific profile (sensor). More... | |
| bool | is_cloned () |
| stream_profile (const rs2_stream_profile *profile) | |
| operator const rs2_stream_profile * () | |
| operator std::shared_ptr< rs2_stream_profile > () | |
| stream_profile () | |
| Class to store the profile of stream. More... | |
| int | stream_index () const |
| Return the specific stream index. More... | |
| rs2_stream | stream_type () const |
| Return the stream type. More... | |
| rs2_format | format () const |
| Return the stream format. More... | |
| int | fps () const |
| Return the stream frame per second. More... | |
| int | unique_id () const |
| Return the assigned unique index when the stream was created. More... | |
| stream_profile | clone (rs2_stream type, int index, rs2_format format) const |
| Clone the current profile and change the type, index and format to input parameters. More... | |
| bool | operator== (const stream_profile &rhs) |
| Comparison operator, compare if two stream profiles are the same. More... | |
| template<class T > | |
| bool | is () const |
| Template function, checking if the instance belongs to specific class type. More... | |
| template<class T > | |
| T | as () const |
| Template function, casting the instance as another class type. More... | |
| std::string | stream_name () const |
| Return the string of stream name. More... | |
| bool | is_default () const |
| Checks if stream profile is marked/assigned as default, meaning that the profile will be selected when the user requests stream configuration using wildcards (RS2_DEPTH, -1,-1,... More... | |
| operator bool () const | |
| Checks if the profile is valid. More... | |
| const rs2_stream_profile * | get () const |
| Get back the internal stream profile instance. More... | |
| rs2_extrinsics | get_extrinsics_to (const stream_profile &to) const |
| Operator implement, return the internal stream profile instance. More... | |
| void | register_extrinsics_to (const stream_profile &to, rs2_extrinsics extrinsics) |
| Assign extrinsic transformation parameters to a specific profile (sensor). More... | |
| bool | is_cloned () |
| stream_profile (const rs2_stream_profile *profile) | |
| operator const rs2_stream_profile * () | |
| operator std::shared_ptr< rs2_stream_profile > () | |
Protected Attributes | |
| const rs2_stream_profile * | _profile |
| std::shared_ptr< rs2_stream_profile > | _clone |
| int | _index = 0 |
| int | _uid = 0 |
| int | _framerate = 0 |
| rs2_format | _format = RS2_FORMAT_ANY |
| rs2_stream | _type = RS2_STREAM_ANY |
| bool | _default = false |
Friends | |
| class | rs2::sensor |
| class | rs2::frame |
| class | rs2::pipeline_profile |
| class | rs2::video_stream_profile |
|
inline |
Class to store the profile of stream.
Definition at line 28 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_frame.hpp.
|
inlineexplicit |
Definition at line 170 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_frame.hpp.
References _default, _format, _framerate, _index, _profile, _type, _uid, rs2::error::handle(), rs2_get_stream_profile_data(), and rs2_is_stream_profile_default().
|
inline |
Class to store the profile of stream.
Definition at line 28 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_frame.hpp.
|
inlineexplicit |
Definition at line 170 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_frame.hpp.
References _default, _format, _framerate, _index, _profile, _type, _uid, rs2::error::handle(), rs2_get_stream_profile_data(), and rs2_is_stream_profile_default().
|
inline |
Template function, casting the instance as another class type.
Definition at line 103 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_frame.hpp.
|
inline |
Template function, casting the instance as another class type.
Definition at line 103 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_frame.hpp.
|
inline |
Clone the current profile and change the type, index and format to input parameters.
| [in] | type | - will change the stream type from the cloned profile. |
| [in] | index | - will change the stream index from the cloned profile. |
| [in] | format | - will change the stream format from the cloned profile. |
Definition at line 63 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_frame.hpp.
References _clone, _profile, format(), rs2::error::handle(), rs2_clone_stream_profile(), and rs2_delete_stream_profile().
|
inline |
Clone the current profile and change the type, index and format to input parameters.
| [in] | type | - will change the stream type from the cloned profile. |
| [in] | index | - will change the stream index from the cloned profile. |
| [in] | format | - will change the stream format from the cloned profile. |
Definition at line 63 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_frame.hpp.
References _profile, format(), rs2::error::handle(), rs2_clone_stream_profile(), and rs2_delete_stream_profile().
|
inline |
Return the stream format.
Definition at line 44 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_frame.hpp.
References _format.
|
inline |
Return the stream format.
Definition at line 44 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_frame.hpp.
References _format.
Referenced by clone(), rs2::video_stream_profile::clone(), rs2::frameset::first_or_default(), rs2::pointcloud::map_to(), and operator==().
|
inline |
Return the stream frame per second.
Definition at line 49 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_frame.hpp.
References _framerate.
Referenced by operator==().
|
inline |
Return the stream frame per second.
Definition at line 49 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_frame.hpp.
References _framerate.
|
inline |
Get back the internal stream profile instance.
Definition at line 137 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_frame.hpp.
References _profile.
Referenced by rs2::frame_source::allocate_motion_frame(), rs2::frame_source::allocate_points(), rs2::frame_source::allocate_video_frame(), get_extrinsics_to(), rs2::motion_stream_profile::motion_stream_profile(), rs2::sensor::open(), rs2::pose_stream_profile::pose_stream_profile(), register_extrinsics_to(), and rs2::video_stream_profile::video_stream_profile().
|
inline |
Get back the internal stream profile instance.
Definition at line 137 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_frame.hpp.
References _profile.
|
inline |
Operator implement, return the internal stream profile instance.
| [in] | stream_profile | to - the stream profile (another sensor) to be based to return the extrinsic |
Definition at line 148 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_frame.hpp.
References get(), rs2::error::handle(), and rs2_get_extrinsics().
|
inline |
Operator implement, return the internal stream profile instance.
| [in] | stream_profile | to - the stream profile (another sensor) to be based to return the extrinsic |
Definition at line 148 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_frame.hpp.
References get(), rs2::error::handle(), and rs2_get_extrinsics().
|
inline |
Template function, checking if the instance belongs to specific class type.
Definition at line 92 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_frame.hpp.
|
inline |
Template function, checking if the instance belongs to specific class type.
Definition at line 92 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_frame.hpp.
|
inline |
Definition at line 169 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_frame.hpp.
References _clone.
|
inline |
Definition at line 169 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_frame.hpp.
References _clone.
|
inline |
Checks if stream profile is marked/assigned as default, meaning that the profile will be selected when the user requests stream configuration using wildcards (RS2_DEPTH, -1,-1,...
Definition at line 125 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_frame.hpp.
References _default.
|
inline |
Checks if stream profile is marked/assigned as default, meaning that the profile will be selected when the user requests stream configuration using wildcards (RS2_DEPTH, -1,-1,...
Definition at line 125 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_frame.hpp.
References _default.
|
inline |
Checks if the profile is valid.
Definition at line 131 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_frame.hpp.
References _profile.
|
inline |
Checks if the profile is valid.
Definition at line 131 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_frame.hpp.
References _profile.
|
inline |
Definition at line 180 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_frame.hpp.
References _profile.
|
inline |
Definition at line 180 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_frame.hpp.
References _profile.
|
inlineexplicit |
Definition at line 181 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_frame.hpp.
References _clone.
|
inlineexplicit |
Definition at line 181 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_frame.hpp.
References _clone.
|
inline |
Comparison operator, compare if two stream profiles are the same.
| [in] | rhs | - stream profile to compare with. |
Definition at line 79 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_frame.hpp.
References format(), fps(), stream_index(), and stream_type().
|
inline |
Comparison operator, compare if two stream profiles are the same.
| [in] | rhs | - stream profile to compare with. |
Definition at line 79 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_frame.hpp.
References format(), fps(), stream_index(), and stream_type().
|
inline |
Assign extrinsic transformation parameters to a specific profile (sensor).
The extrinsic information is generally available as part of the camera calibration, and librealsense is responsible for retrieving and assigning these parameters where appropriate. This specific function is intended for synthetic/mock-up (software) devices for which the parameters are produced and injected by the user.
| [in] | stream_profile | to - which stream profile to be registered with the extrinsic. |
| [in] | rs2_extrinsics | extrinsics - the extrinsics to be registered. |
Definition at line 162 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_frame.hpp.
References get(), rs2::error::handle(), and rs2_register_extrinsics().
|
inline |
Assign extrinsic transformation parameters to a specific profile (sensor).
The extrinsic information is generally available as part of the camera calibration, and librealsense is responsible for retrieving and assigning these parameters where appropriate. This specific function is intended for synthetic/mock-up (software) devices for which the parameters are produced and injected by the user.
| [in] | stream_profile | to - which stream profile to be registered with the extrinsic. |
| [in] | rs2_extrinsics | extrinsics - the extrinsics to be registered. |
Definition at line 162 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_frame.hpp.
References get(), rs2::error::handle(), and rs2_register_extrinsics().
|
inline |
Return the specific stream index.
Definition at line 34 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_frame.hpp.
References _index.
Referenced by rs2::frameset::get_fisheye_frame(), rs2::frameset::get_infrared_frame(), rs2::frameset::get_pose_frame(), rs2::pointcloud::map_to(), operator==(), and stream_name().
|
inline |
Return the specific stream index.
Definition at line 34 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_frame.hpp.
References _index.
|
inline |
Return the string of stream name.
Definition at line 113 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_frame.hpp.
References rs2_stream_to_string(), stream_index(), and stream_type().
|
inline |
Return the string of stream name.
Definition at line 113 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_frame.hpp.
References rs2_stream_to_string(), stream_index(), and stream_type().
|
inline |
Return the stream type.
Definition at line 39 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_frame.hpp.
References _type.
|
inline |
Return the stream type.
Definition at line 39 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_frame.hpp.
References _type.
Referenced by rs2::frameset::first_or_default(), rs2::frameset::get_fisheye_frame(), rs2::frameset::get_infrared_frame(), rs2::frameset::get_pose_frame(), rs2::pointcloud::map_to(), operator==(), and stream_name().
|
inline |
Return the assigned unique index when the stream was created.
Definition at line 54 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_frame.hpp.
References _uid.
|
inline |
Return the assigned unique index when the stream was created.
Definition at line 54 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_frame.hpp.
References _uid.
|
friend |
Definition at line 185 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_frame.hpp.
|
friend |
Definition at line 186 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_frame.hpp.
|
friend |
Definition at line 184 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_frame.hpp.
|
friend |
Definition at line 187 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_frame.hpp.
|
protected |
Definition at line 190 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_frame.hpp.
Referenced by clone(), rs2::video_stream_profile::clone(), is_cloned(), and operator std::shared_ptr< rs2_stream_profile >().
|
protected |
Definition at line 198 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_frame.hpp.
Referenced by is_default(), and stream_profile().
|
protected |
Definition at line 195 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_frame.hpp.
Referenced by format(), and stream_profile().
|
protected |
Definition at line 194 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_frame.hpp.
Referenced by fps(), and stream_profile().
|
protected |
Definition at line 192 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_frame.hpp.
Referenced by stream_index(), and stream_profile().
|
protected |
Definition at line 189 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_frame.hpp.
Referenced by clone(), rs2::video_stream_profile::clone(), get(), rs2::video_stream_profile::get_intrinsics(), rs2::motion_stream_profile::get_motion_intrinsics(), rs2::motion_stream_profile::motion_stream_profile(), operator bool(), operator const rs2_stream_profile *(), rs2::pose_stream_profile::pose_stream_profile(), stream_profile(), and rs2::video_stream_profile::video_stream_profile().
|
protected |
Definition at line 196 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_frame.hpp.
Referenced by stream_profile(), and stream_type().
|
protected |
Definition at line 193 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_frame.hpp.
Referenced by stream_profile(), and unique_id().