|
RealSense Cross Platform API
RealSense Cross-platform API
|
#include <rs_frame.hpp>
Public Member Functions | |
| stream_profile () | |
| int | stream_index () const |
| rs2_stream | stream_type () const |
| rs2_format | format () const |
| int | fps () const |
| int | unique_id () const |
| stream_profile | clone (rs2_stream type, int index, rs2_format format) const |
| bool | operator== (const stream_profile &rhs) |
| template<class T> | |
| bool | is () const |
| template<class T> | |
| T | as () const |
| std::string | stream_name () const |
| bool | is_default () const |
| operator bool () const | |
| const rs2_stream_profile * | get () const |
| rs2_extrinsics | get_extrinsics_to (const stream_profile &to) const |
| void | register_extrinsics_to (const stream_profile &to, rs2_extrinsics extrinsics) |
| 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
|
inlineexplicit |
|
inline |
Template function, casting the instance as another class type
|
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. |
|
inline |
Return the stream format
|
inline |
Return the stream frame per second
|
inline |
Get back the internal stream profile instance
|
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 |
|
inline |
Template function, checking if the instance belongs to specific class type
|
inline |
|
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,...
|
inline |
Checks if the profile is valid
|
inline |
|
inlineexplicit |
|
inline |
Comparison operator, compare if two stream profiles are the same
| [in] | rhs | - stream profile to compare with. |
|
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. |
|
inline |
Return the specific stream index
|
inline |
Return the string of stream name
|
inline |
Return the stream type
|
inline |
Return the assigned unique index when the stream was created
|
friend |
|
friend |
|
friend |
|
friend |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |