|
OrbbecSDK 2.8.7
OrbbecSDK: Software-Development-Kit for Orbbec 3D Cameras
|
#include <StreamProfile.hpp>
Public Member Functions | |
| StreamProfile (StreamProfile &streamProfile)=delete | |
| StreamProfile & | operator= (StreamProfile &streamProfile)=delete |
| StreamProfile (StreamProfile &&streamProfile) noexcept | |
| StreamProfile & | operator= (StreamProfile &&streamProfile) noexcept |
| virtual | ~StreamProfile () noexcept |
| const ob_stream_profile * | getImpl () const |
| OBFormat | getFormat () const |
| Get the format of the stream. | |
| OBStreamType | getType () const |
| Get the type of stream. | |
| OBExtrinsic | getExtrinsicTo (std::shared_ptr< StreamProfile > target) const |
| Get the extrinsic parameters from current stream profile to the given target stream profile. | |
| void | bindExtrinsicTo (std::shared_ptr< StreamProfile > target, const OBExtrinsic &extrinsic) |
| Set the extrinsic parameters from current stream profile to the given target stream profile. | |
| void | bindExtrinsicTo (const OBStreamType &targetStreamType, const OBExtrinsic &extrinsic) |
| Set the extrinsic parameters from current stream profile to the given target stream type. | |
| template<typename T> | |
| bool | is () const |
| Check if frame object is compatible with the given type. | |
| template<typename T> | |
| std::shared_ptr< T > | as () |
| Converts object type to target type. | |
| template<typename T> | |
| std::shared_ptr< const T > | as () const |
| Converts object type to target type (const version). | |
| OBFormat | format () const |
| OBStreamType | type () const |
Protected Member Functions | |
| StreamProfile (const ob_stream_profile_t *impl) | |
Protected Attributes | |
| const ob_stream_profile_t * | impl_ = nullptr |
Definition at line 18 of file StreamProfile.hpp.
|
delete |
|
inlinenoexcept |
Definition at line 26 of file StreamProfile.hpp.
|
inlinevirtualnoexcept |
Definition at line 41 of file StreamProfile.hpp.
|
inlineexplicitprotected |
Definition at line 163 of file StreamProfile.hpp.
|
delete |
|
inlinenoexcept |
Definition at line 30 of file StreamProfile.hpp.
|
inline |
Definition at line 49 of file StreamProfile.hpp.
|
inline |
Get the format of the stream.
Definition at line 58 of file StreamProfile.hpp.
Referenced by format().
|
inline |
Get the type of stream.
Definition at line 70 of file StreamProfile.hpp.
|
inline |
Get the extrinsic parameters from current stream profile to the given target stream profile.
Definition at line 82 of file StreamProfile.hpp.
|
inline |
Set the extrinsic parameters from current stream profile to the given target stream profile.
| target | Target stream profile. |
| extrinsic | The extrinsic. |
Definition at line 95 of file StreamProfile.hpp.
|
inline |
Set the extrinsic parameters from current stream profile to the given target stream type.
| targetStreamType | Target stream type. |
| extrinsic | The extrinsic. |
Definition at line 108 of file StreamProfile.hpp.
| bool ob::StreamProfile::is | ( | ) | const |
Check if frame object is compatible with the given type.
| T | Given type. |
Definition at line 416 of file StreamProfile.hpp.
|
inline |
Converts object type to target type.
| T | Target type. |
Definition at line 130 of file StreamProfile.hpp.
|
inline |
Converts object type to target type (const version).
| T | Target type. |
Definition at line 145 of file StreamProfile.hpp.
|
inline |
Definition at line 154 of file StreamProfile.hpp.
Referenced by getFormat().
|
inline |
Definition at line 158 of file StreamProfile.hpp.
Referenced by getType().
|
protected |
Definition at line 20 of file StreamProfile.hpp.
Referenced by bindExtrinsicTo(), bindExtrinsicTo(), ob::VideoStreamProfile::getDecimationConfig(), ob::VideoStreamProfile::getDistortion(), getExtrinsicTo(), getFormat(), ob::VideoStreamProfile::getFps(), ob::AccelStreamProfile::getFullScaleRange(), ob::GyroStreamProfile::getFullScaleRange(), ob::VideoStreamProfile::getHeight(), getImpl(), ob::AccelStreamProfile::getIntrinsic(), ob::GyroStreamProfile::getIntrinsic(), ob::VideoStreamProfile::getIntrinsic(), ob::AccelStreamProfile::getSampleRate(), ob::GyroStreamProfile::getSampleRate(), ob::LiDARStreamProfile::getScanRate(), getType(), ob::VideoStreamProfile::getWidth(), operator=(), ob::VideoStreamProfile::setDistortion(), ob::VideoStreamProfile::setIntrinsic(), StreamProfile(), and ~StreamProfile().