#include <Frame.hpp>
|
std::unique_ptr< FrameImpl > | impl_ |
|
Definition at line 45 of file Frame.hpp.
ob::Frame::Frame |
( |
std::unique_ptr< FrameImpl > |
impl | ) |
|
ob::Frame::Frame |
( |
Frame & |
frame | ) |
|
virtual ob::Frame::~Frame |
( |
| ) |
|
|
virtualnoexcept |
Get the type of frame.
- Returns
- OBFrameType returns the type of frame
Get the format of the frame.
- Returns
- OBFormat returns the format of the frame
virtual uint64_t ob::Frame::index |
( |
| ) |
|
|
virtual |
Get the sequence number of the frame.
- Returns
- uint64_t returns the sequence number of the frame
virtual void* ob::Frame::data |
( |
| ) |
|
|
virtual |
Get frame data.
- Returns
- void* returns frame data
virtual uint32_t ob::Frame::dataSize |
( |
| ) |
|
|
virtual |
Get the frame data size.
- Returns
- uint32_t returns the frame data size If it is point cloud data, it returns the number of bytes occupied by all point sets. If you need to find the number of points, you need to divide the dataSize by the structure size of the corresponding point type.
uint64_t ob::Frame::timeStamp |
( |
| ) |
|
Get the hardware timestamp of the frame.
- Returns
- uint64_t returns the time stamp of the frame hardware
uint64_t ob::Frame::timeStampUs |
( |
| ) |
|
Get the hardware timestamp of the frame us.
- Returns
- uint64_t returns the time stamp of the frame hardware, unit us
uint64_t ob::Frame::systemTimeStamp |
( |
| ) |
|
Get frame system timestamp.
- Returns
- uint64_t returns the time stamp of the frame hardware
Check if the runtime type of the frame object is compatible with a given type.
- Template Parameters
-
- Returns
- bool returns result
Definition at line 547 of file Frame.hpp.
template<typename T >
std::shared_ptr<T> ob::Frame::as |
( |
| ) |
|
|
inline |
Frame object type conversion.
- Template Parameters
-
- Returns
- std::shared_ptr<T> returns the result, if it cannot be converted, an exception will be thrown
Definition at line 188 of file Frame.hpp.
std::unique_ptr<FrameImpl> ob::Frame::impl_ |
|
protected |
The documentation for this class was generated from the following file:
- /root/libobsensor/include/libobsensor/hpp/Frame.hpp