OrbbecSDK 2.0.18
OrbbecSDK: Software-Development-Kit for Orbbec 3D Cameras
|
Class representing an accelerometer stream profile. More...
#include <StreamProfile.hpp>
Public Member Functions | |
AccelStreamProfile (const ob_stream_profile_t *impl) | |
~AccelStreamProfile () noexcept override=default | |
OBAccelFullScaleRange | getFullScaleRange () const |
Return the full scale range. | |
OBAccelSampleRate | getSampleRate () const |
Return the sampling frequency. | |
OBAccelIntrinsic | getIntrinsic () const |
get the intrinsic parameters of the stream. | |
OBAccelFullScaleRange | fullScaleRange () const |
OBAccelSampleRate | sampleRate () const |
Public Member Functions inherited from ob::StreamProfile | |
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. | |
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 |
Additional Inherited Members | |
Protected Member Functions inherited from ob::StreamProfile | |
StreamProfile (const ob_stream_profile_t *impl) | |
Protected Attributes inherited from ob::StreamProfile | |
const ob_stream_profile_t * | impl_ = nullptr |
Class representing an accelerometer stream profile.
Definition at line 226 of file StreamProfile.hpp.
|
inlineexplicit |
Definition at line 228 of file StreamProfile.hpp.
|
overridedefaultnoexcept |
|
inline |
Return the full scale range.
Definition at line 237 of file StreamProfile.hpp.
Referenced by fullScaleRange().
|
inline |
Return the sampling frequency.
Definition at line 249 of file StreamProfile.hpp.
Referenced by sampleRate().
|
inline |
get the intrinsic parameters of the stream.
Definition at line 261 of file StreamProfile.hpp.
|
inline |
Definition at line 270 of file StreamProfile.hpp.
Referenced by getFullScaleRange().
|
inline |
Definition at line 274 of file StreamProfile.hpp.
Referenced by getSampleRate().