24class StreamProfileList;
30 std::unique_ptr<PipelineImpl> impl_;
64 void start(std::shared_ptr<
Config> config);
102 std::shared_ptr<
FrameSet> waitForFrames(uint32_t timeout_ms = 1000);
129 void enableFrameSync();
134 void disableFrameSync();
156 OBCameraParam getCameraParamWithProfile(uint32_t colorWidth, uint32_t colorHeight, uint32_t depthWidth, uint32_t depthHeight);
183 OBRect getD2CValidArea(uint32_t minimumDistance, uint32_t maximumDistance = 0);
190 void switchConfig(std::shared_ptr<
Config> config);
197 void startRecord(const
char *filename);
212 std::unique_ptr<ConfigImpl> impl_;
236 void enableAllStream();
288 void disableAllStream();
309 void setDepthScaleRequire(
bool enable);
321 void setD2CTargetResolution(uint32_t d2cTargetWidth, uint32_t d2cTargetHeight);
#define OB_ACCEL_FULL_SCALE_RANGE_ANY
OBSensorType
Enumeration value describing the sensor type.
#define OB_ACCEL_SAMPLE_RATE_ANY
enum OBGyroSampleRate ob_gyro_sample_rate
OBFormat
Enumeration value describing the pixel format.
enum OBGyroFullScaleRange ob_gyro_full_scale_range
#define OB_GYRO_FULL_SCALE_RANGE_ANY
OBStreamType
Enumeration value describing the type of data stream.
#define OB_GYRO_SAMPLE_RATE_ANY
enum OBStreamType ob_stream_type
enum OBGyroSampleRate ob_accel_sample_rate
enum OB_FRAME_AGGREGATE_OUTPUT_MODE OBFrameAggregateOutputMode
enum OBAccelFullScaleRange ob_accel_full_scale_range
OBAlignMode
Alignment mode.
Provides SDK structure and enumeration constant definitions (depending on libobsensor/h/ObTypes....
Config class for configuring pipeline parameters.
~Config() noexcept
Destroy the Config object.
Config()
Construct a new Config object.
Define the FrameSet class, which inherits from the Frame class.
~Pipeline() noexcept
Destroy the pipeline object.
Pipeline()
Pipeline is a high-level interface for applications, algorithms related RGBD data streams....
Pipeline(const char *filename)
Construct a pipeline for playback of recorded stream files.
Pipeline(std::shared_ptr< Device > device)
Pipeline(std::shared_ptr< Device > device ) Function for multi-device operations. Multiple devices ne...
std::function< void(std::shared_ptr< FrameSet > frame)> FrameSetCallback
Structure for camera parameters.