|
| DepthFrame (Frame &frame) |
|
| DepthFrame (std::unique_ptr< FrameImpl > impl) |
|
| ~DepthFrame () noexcept override=default |
|
float | getValueScale () |
| Get the value scale of the depth frame. The pixel value of depth frame is multiplied by the scale to give a depth value in millimeters. For example, if valueScale=0.1 and a certain coordinate pixel value is pixelValue=10000, then the depth value = pixelValue*valueScale = 10000*0.1=1000mm.
|
|
| VideoFrame (Frame &frame) |
|
| VideoFrame (std::unique_ptr< FrameImpl > impl) |
|
| ~VideoFrame () noexcept override=default |
|
uint32_t | width () |
| Get the width of the frame.
|
|
uint32_t | height () |
| Get the height of the frame.
|
|
uint8_t | pixelAvailableBitSize () |
| Get the effective number of pixels in the frame.
|
|
| Frame (std::unique_ptr< FrameImpl > impl) |
|
| Frame (Frame &frame) |
|
virtual | ~Frame () noexcept |
|
virtual OBFrameType | type () |
| Get the type of frame.
|
|
virtual OBFormat | format () |
| Get the format of the frame.
|
|
virtual uint64_t | index () |
| Get the sequence number of the frame.
|
|
virtual void * | data () |
| Get the frame data.
|
|
virtual uint32_t | dataSize () |
| Get the size of the frame data.
|
|
uint64_t | timeStamp () |
| Get the hardware timestamp of the frame in milliseconds.
|
|
uint64_t | timeStampUs () |
| Get the hardware timestamp of the frame in microseconds.
|
|
uint64_t | systemTimeStamp () |
| Get the system timestamp of the frame in milliseconds.
|
|
uint64_t | systemTimeStampUs () |
| Get the system timestamp of the frame in microseconds.
|
|
uint64_t | globalTimeStampUs () |
| Get the global timestamp of the frame in microseconds.
|
|
void * | metadata () |
| Get the metadata of the frame.
|
|
uint32_t | metadataSize () |
| Get the size of the metadata of the frame.
|
|
bool | hasMetadata (OBFrameMetadataType type) |
| Check if the frame object has metadata of a given type.
|
|
int64_t | getMetadataValue (OBFrameMetadataType type) |
| Get the metadata value.
|
|
std::shared_ptr< StreamProfile > | getStreamProfile () |
| get StreamProfile of the frame
|
|
std::shared_ptr< Sensor > | getSensor () |
| get owner sensor of the frame
|
|
std::shared_ptr< Device > | getDevice () |
| get owner device of the frame
|
|
template<typename T > |
bool | is () |
| Check if the runtime type of the frame object is compatible with a given type.
|
|
template<typename T > |
std::shared_ptr< T > | as () |
| Convert the frame object to a target type.
|
|
Definition at line 253 of file Frame.hpp.