Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
src
core
video.h
Go to the documentation of this file.
1
// License: Apache 2.0. See LICENSE file in root directory.
2
// Copyright(c) 2015 Intel Corporation. All Rights Reserved.
3
#pragma once
4
5
#include "
core/streaming.h
"
6
7
namespace
librealsense
8
{
9
struct
stream_profile;
10
11
class
video_sensor_interface
12
{
13
public
:
14
virtual
rs2_intrinsics
get_intrinsics
(
const
stream_profile
&
profile
)
const
= 0;
15
};
16
17
class
video_stream_profile_interface
:
public
virtual
stream_profile_interface
18
{
19
public
:
20
virtual
rs2_intrinsics
get_intrinsics
()
const
= 0;
21
virtual
void
set_intrinsics(std::function<
rs2_intrinsics
()> calc) = 0;
22
23
virtual
uint32_t
get_width()
const
= 0;
24
virtual
uint32_t
get_height()
const
= 0;
25
virtual
void
set_dims(
uint32_t
width
,
uint32_t
height
) = 0;
26
27
};
28
29
MAP_EXTENSION
(
RS2_EXTENSION_VIDEO
,
librealsense::video_sensor_interface
);
30
MAP_EXTENSION
(
RS2_EXTENSION_VIDEO_PROFILE
,
librealsense::video_stream_profile_interface
);
31
}
librealsense::video_sensor_interface::get_intrinsics
virtual rs2_intrinsics get_intrinsics(const stream_profile &profile) const =0
profile
Definition:
unit-tests-common.h:59
librealsense::video_stream_profile_interface
Definition:
video.h:17
streaming.h
librealsense
Definition:
calibration-model.h:6
librealsense::video_sensor_interface
Definition:
video.h:11
librealsense::stream_profile_interface
Definition:
streaming.h:65
uint32_t
unsigned int uint32_t
Definition:
stdint.h:80
height
GLint GLsizei GLsizei height
Definition:
glad/glad/glad.h:1398
RS2_EXTENSION_VIDEO
Definition:
rs_types.h:173
rs2_intrinsics
struct rs2_intrinsics rs2_intrinsics
Video stream intrinsics.
librealsense::stream_profile
Definition:
src/types.h:662
RS2_EXTENSION_VIDEO_PROFILE
Definition:
rs_types.h:183
rs2_intrinsics
Video stream intrinsics.
Definition:
rs_types.h:58
librealsense::MAP_EXTENSION
MAP_EXTENSION(RS2_EXTENSION_POINTS, librealsense::points)
width
GLint GLsizei width
Definition:
glad/glad/glad.h:1398
librealsense2
Author(s): Sergey Dorodnicov
, Doron Hirshberg
, Mark Horn
, Reagan Lopez
, Itay Carpis
autogenerated on Mon May 3 2021 02:50:14