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


Public Member Functions | |
| video_stream_profile (const stream_profile &sp) | |
| Stream profile instance which contains additional video attributes. More... | |
| int | width () const |
| int | height () const |
| rs2_intrinsics | get_intrinsics () const |
| Get stream profile instrinsics attributes. More... | |
| bool | operator== (const video_stream_profile &other) const |
| stream_profile | clone (rs2_stream type, int index, rs2_format format, int width, int height, const rs2_intrinsics &intr) const |
| Clone current profile and change the type, index and format to input parameters. More... | |
| video_stream_profile (const stream_profile &sp) | |
| Stream profile instance which contains additional video attributes. More... | |
| int | width () const |
| int | height () const |
| rs2_intrinsics | get_intrinsics () const |
| Get stream profile instrinsics attributes. More... | |
| bool | operator== (const video_stream_profile &other) const |
| stream_profile | clone (rs2_stream type, int index, rs2_format format, int width, int height, const rs2_intrinsics &intr) const |
| Clone current profile and change the type, index and format to input parameters. 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... | |
| 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... | |
| 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... | |
| 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... | |
| int | stream_index () const |
| Return the specific stream index. More... | |
| int | stream_index () const |
| Return the specific stream index. More... | |
| rs2_stream | stream_type () const |
| Return the stream type. More... | |
| rs2_stream | stream_type () const |
| Return the stream type. More... | |
| rs2_format | format () const |
| Return the stream format. More... | |
| rs2_format | format () const |
| Return the stream format. More... | |
| int | fps () const |
| Return the stream frame per second. 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... | |
| 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 > | |
| 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... | |
| 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... | |
| 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... | |
| 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... | |
| operator bool () const | |
| Checks if the profile is valid. More... | |
| const rs2_stream_profile * | get () const |
| Get back the internal stream profile instance. 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... | |
| 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... | |
| void | register_extrinsics_to (const stream_profile &to, rs2_extrinsics extrinsics) |
| Assign extrinsic transformation parameters to a specific profile (sensor). More... | |
| bool | is_cloned () |
| bool | is_cloned () |
| operator const rs2_stream_profile * () | |
| operator const rs2_stream_profile * () | |
| operator std::shared_ptr< 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 |
|
inlineexplicit |
Stream profile instance which contains additional video attributes.
| [in] | stream_profile | sp - assign exisiting stream_profile to this instance. |
Definition at line 208 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_frame.hpp.
References rs2::stream_profile::_profile, rs2::stream_profile::get(), rs2::error::handle(), RS2_EXTENSION_VIDEO_PROFILE, rs2_get_video_stream_resolution(), and rs2_stream_profile_is().
|
inlineexplicit |
Stream profile instance which contains additional video attributes.
| [in] | stream_profile | sp - assign exisiting stream_profile to this instance. |
Definition at line 208 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_frame.hpp.
References rs2::stream_profile::_profile, rs2::error::handle(), RS2_EXTENSION_VIDEO_PROFILE, rs2_get_video_stream_resolution(), and rs2_stream_profile_is().
|
inlineinherited |
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.
|
inlineinherited |
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.
|
inlineinherited |
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 rs2::stream_profile::_clone, rs2::stream_profile::_profile, rs2::stream_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.
|
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.
|
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.
|
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.
|
inline |
Clone 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. |
| [in] | width | - will change the width of the profile |
| [in] | height | - will change the height of the profile |
| [in] | intr | - will change the intrinsics of the profile |
Definition at line 266 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_frame.hpp.
References rs2::stream_profile::_clone, rs2::stream_profile::_profile, rs2::stream_profile::format(), rs2::error::handle(), height(), rs2_clone_video_stream_profile(), rs2_delete_stream_profile(), and width().
|
inline |
Clone 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. |
| [in] | width | - will change the width of the profile |
| [in] | height | - will change the height of the profile |
| [in] | intr | - will change the intrinsics of the profile |
Definition at line 266 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_frame.hpp.
References rs2::stream_profile::_profile, rs2::stream_profile::format(), rs2::error::handle(), height(), rs2_clone_video_stream_profile(), rs2_delete_stream_profile(), and width().
|
inlineinherited |
Return the stream format.
Definition at line 44 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_frame.hpp.
References rs2::stream_profile::_format.
Referenced by rs2::stream_profile::clone(), clone(), rs2::frameset::first_or_default(), rs2::pointcloud::map_to(), and rs2::stream_profile::operator==().
|
inlineinherited |
Return the stream format.
Definition at line 44 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_frame.hpp.
References rs2::stream_profile::_format.
|
inlineinherited |
Return the stream frame per second.
Definition at line 49 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_frame.hpp.
References rs2::stream_profile::_framerate.
Referenced by rs2::stream_profile::operator==().
|
inlineinherited |
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 rs2::stream_profile::_framerate.
|
inlineinherited |
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 rs2::stream_profile::_profile.
Referenced by rs2::frame_source::allocate_motion_frame(), rs2::frame_source::allocate_points(), rs2::frame_source::allocate_video_frame(), rs2::stream_profile::get_extrinsics_to(), rs2::motion_stream_profile::motion_stream_profile(), rs2::sensor::open(), rs2::pose_stream_profile::pose_stream_profile(), rs2::stream_profile::register_extrinsics_to(), and video_stream_profile().
|
inlineinherited |
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 rs2::stream_profile::_profile.
|
inlineinherited |
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 rs2::stream_profile::get(), rs2::error::handle(), and rs2_get_extrinsics().
|
inlineinherited |
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 rs2::stream_profile::get(), rs2::error::handle(), and rs2_get_extrinsics().
|
inline |
Get stream profile instrinsics attributes.
Definition at line 238 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_frame.hpp.
References rs2::stream_profile::_profile, rs2::error::handle(), and rs2_get_video_stream_intrinsics().
|
inline |
Get stream profile instrinsics attributes.
Definition at line 238 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_frame.hpp.
References rs2::stream_profile::_profile, rs2::error::handle(), and rs2_get_video_stream_intrinsics().
|
inline |
Definition at line 230 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_frame.hpp.
Referenced by clone(), and operator==().
|
inline |
Definition at line 230 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_frame.hpp.
|
inlineinherited |
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.
|
inlineinherited |
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.
|
inlineinherited |
Definition at line 169 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_frame.hpp.
References rs2::stream_profile::_clone.
|
inlineinherited |
Definition at line 169 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_frame.hpp.
References rs2::stream_profile::_clone.
|
inlineinherited |
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 rs2::stream_profile::_default.
|
inlineinherited |
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 rs2::stream_profile::_default.
|
inlineinherited |
Checks if the profile is valid.
Definition at line 131 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_frame.hpp.
References rs2::stream_profile::_profile.
|
inlineinherited |
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 rs2::stream_profile::_profile.
|
inlineinherited |
Definition at line 180 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_frame.hpp.
References rs2::stream_profile::_profile.
|
inlineinherited |
Definition at line 180 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_frame.hpp.
References rs2::stream_profile::_profile.
|
inlineexplicitinherited |
Definition at line 181 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_frame.hpp.
References rs2::stream_profile::_clone.
|
inlineexplicitinherited |
Definition at line 181 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_frame.hpp.
References rs2::stream_profile::_clone.
|
inlineinherited |
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 rs2::stream_profile::format(), rs2::stream_profile::fps(), rs2::stream_profile::stream_index(), and rs2::stream_profile::stream_type().
|
inline |
Definition at line 247 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_frame.hpp.
|
inline |
Definition at line 247 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_frame.hpp.
|
inlineinherited |
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 rs2::stream_profile::get(), rs2::error::handle(), and rs2_register_extrinsics().
|
inlineinherited |
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 rs2::stream_profile::get(), rs2::error::handle(), and rs2_register_extrinsics().
|
inlineinherited |
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 rs2::stream_profile::_index.
|
inlineinherited |
Return the specific stream index.
Definition at line 34 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_frame.hpp.
References rs2::stream_profile::_index.
Referenced by rs2::frameset::get_fisheye_frame(), rs2::frameset::get_infrared_frame(), rs2::frameset::get_pose_frame(), rs2::pointcloud::map_to(), rs2::stream_profile::operator==(), and rs2::stream_profile::stream_name().
|
inlineinherited |
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(), rs2::stream_profile::stream_index(), and rs2::stream_profile::stream_type().
|
inlineinherited |
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(), rs2::stream_profile::stream_index(), and rs2::stream_profile::stream_type().
|
inlineinherited |
Return the stream type.
Definition at line 39 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_frame.hpp.
References rs2::stream_profile::_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(), rs2::stream_profile::operator==(), and rs2::stream_profile::stream_name().
|
inlineinherited |
Return the stream type.
Definition at line 39 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_frame.hpp.
References rs2::stream_profile::_type.
|
inlineinherited |
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 rs2::stream_profile::_uid.
|
inlineinherited |
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 rs2::stream_profile::_uid.
|
inline |
Definition at line 225 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_frame.hpp.
|
inline |
Definition at line 225 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_frame.hpp.
Referenced by clone(), and operator==().
|
protectedinherited |
Definition at line 190 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_frame.hpp.
Referenced by rs2::stream_profile::clone(), clone(), rs2::stream_profile::is_cloned(), and rs2::stream_profile::operator std::shared_ptr< rs2_stream_profile >().
|
protectedinherited |
Definition at line 198 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_frame.hpp.
Referenced by rs2::stream_profile::is_default(), and rs2::stream_profile::stream_profile().
|
protectedinherited |
Definition at line 195 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_frame.hpp.
Referenced by rs2::stream_profile::format(), and rs2::stream_profile::stream_profile().
|
protectedinherited |
Definition at line 194 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_frame.hpp.
Referenced by rs2::stream_profile::fps(), and rs2::stream_profile::stream_profile().
|
protectedinherited |
Definition at line 192 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_frame.hpp.
Referenced by rs2::stream_profile::stream_index(), and rs2::stream_profile::stream_profile().
|
protectedinherited |
Definition at line 189 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_frame.hpp.
Referenced by rs2::stream_profile::clone(), clone(), rs2::stream_profile::get(), get_intrinsics(), rs2::motion_stream_profile::get_motion_intrinsics(), rs2::motion_stream_profile::motion_stream_profile(), rs2::stream_profile::operator bool(), rs2::stream_profile::operator const rs2_stream_profile *(), rs2::pose_stream_profile::pose_stream_profile(), rs2::stream_profile::stream_profile(), and video_stream_profile().
|
protectedinherited |
Definition at line 196 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_frame.hpp.
Referenced by rs2::stream_profile::stream_profile(), and rs2::stream_profile::stream_type().
|
protectedinherited |
Definition at line 193 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_frame.hpp.
Referenced by rs2::stream_profile::stream_profile(), and rs2::stream_profile::unique_id().