|
OrbbecSDK 2.8.7
OrbbecSDK: Software-Development-Kit for Orbbec 3D Cameras
|
#include <TypeHelper.hpp>
Static Public Member Functions | |
| static std::string | convertOBFormatTypeToString (const OBFormat &type) |
| Convert OBFormat to " string " type and then return. | |
| static std::string | convertOBFrameTypeToString (const OBFrameType &type) |
| Convert OBFrameType to " string " type and then return. | |
| static std::string | convertOBStreamTypeToString (const OBStreamType &type) |
| Convert OBStreamType to " string " type and then return. | |
| static std::string | convertOBSensorTypeToString (const OBSensorType &type) |
| Convert OBSensorType to " string " type and then return. | |
| static std::string | convertOBIMUSampleRateTypeToString (const OBIMUSampleRate &type) |
| Convert OBIMUSampleRate to " string " type and then return. | |
| static std::string | convertOBGyroFullScaleRangeTypeToString (const OBGyroFullScaleRange &type) |
| Convert OBGyroFullScaleRange to " string " type and then return. | |
| static std::string | convertOBAccelFullScaleRangeTypeToString (const OBAccelFullScaleRange &type) |
| Convert OBAccelFullScaleRange to " string " type and then return. | |
| static std::string | convertOBLiDARScanRateTypeToString (const OBLiDARScanRate &type) |
| Convert OBLiDARScanRate to " string " type and then return. | |
| static std::string | convertOBFrameMetadataTypeToString (const OBFrameMetadataType &type) |
| Convert OBFrameMetadataType to " string " type and then return. | |
| static OBStreamType | convertSensorTypeToStreamType (OBSensorType type) |
| Convert OBSensorType to OBStreamType type and then return. | |
| static bool | isVideoSensorType (OBSensorType type) |
| Check if the given sensor type is a video sensor. | |
| static bool | isVideoStreamType (OBStreamType type) |
| Check if the given stream type is a video stream. | |
Definition at line 14 of file TypeHelper.hpp.
|
inlinestatic |
Convert OBFormat to " string " type and then return.
| [in] | type | OBFormat type. |
Definition at line 23 of file TypeHelper.hpp.
|
inlinestatic |
Convert OBFrameType to " string " type and then return.
| [in] | type | OBFrameType type. |
Definition at line 34 of file TypeHelper.hpp.
|
inlinestatic |
Convert OBStreamType to " string " type and then return.
| [in] | type | OBStreamType type. |
Definition at line 45 of file TypeHelper.hpp.
|
inlinestatic |
Convert OBSensorType to " string " type and then return.
| [in] | type | OBSensorType type. |
Definition at line 56 of file TypeHelper.hpp.
|
inlinestatic |
Convert OBIMUSampleRate to " string " type and then return.
| [in] | type | OBIMUSampleRate type. |
Definition at line 67 of file TypeHelper.hpp.
|
inlinestatic |
Convert OBGyroFullScaleRange to " string " type and then return.
| [in] | type | OBGyroFullScaleRange type. |
Definition at line 78 of file TypeHelper.hpp.
|
inlinestatic |
Convert OBAccelFullScaleRange to " string " type and then return.
| [in] | type | OBAccelFullScaleRange type. |
Definition at line 89 of file TypeHelper.hpp.
|
inlinestatic |
Convert OBLiDARScanRate to " string " type and then return.
| [in] | type | OBLiDARScanRate type. |
Definition at line 99 of file TypeHelper.hpp.
|
inlinestatic |
Convert OBFrameMetadataType to " string " type and then return.
| [in] | type | OBFrameMetadataType type. |
Definition at line 110 of file TypeHelper.hpp.
|
inlinestatic |
Convert OBSensorType to OBStreamType type and then return.
| [in] | type | OBSensorType type. |
Definition at line 121 of file TypeHelper.hpp.
Referenced by ob::Config::disableStream(), ob::Config::enableStream(), ob::Config::enableVideoStream(), and ob::Config::enableVideoStream().
|
inlinestatic |
Check if the given sensor type is a video sensor.
Video sensors are sensors that produce video frames.
The following sensor types are considered video sensors: OB_SENSOR_COLOR, OB_SENSOR_COLOR_LEFT, OB_SENSOR_COLOR_RIGHT, OB_SENSOR_DEPTH, OB_SENSOR_IR, OB_SENSOR_IR_LEFT, OB_SENSOR_IR_RIGHT, OB_SENSOR_CONFIDENCE,
| [in] | type | The sensor type |
Definition at line 142 of file TypeHelper.hpp.
|
inlinestatic |
Check if the given stream type is a video stream.
Video streams are streams that contain video frames.
The following stream types are considered video streams: OB_STREAM_VIDEO, OB_STREAM_DEPTH, OB_STREAM_COLOR, OB_STREAM_COLOR_LEFT, OB_STREAM_COLOR_RIGHT, OB_STREAM_IR, OB_STREAM_IR_LEFT, OB_STREAM_IR_RIGHT, OB_STREAM_CONFIDENCE,
| [in] | type | The stream type to check. |
Definition at line 164 of file TypeHelper.hpp.