forked from realsenseai/librealsense
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvideo_stream_profile.m
More file actions
22 lines (20 loc) · 843 Bytes
/
Copy pathvideo_stream_profile.m
File metadata and controls
22 lines (20 loc) · 843 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
% Wraps librealsense2 video_stream_profile class
classdef video_stream_profile < realsense.stream_profile
methods
% Constructor
function this = video_stream_profile(ownHandle, handle)
this = this@realsense.stream_profile(ownHandle, handle);
end
% Destructor (uses base class destructor)
% Functions
function w = width(this)
w = realsense.librealsense_mex('rs2::video_stream_profile', 'width', this.objectHandle);
end
function h = heigh(this)
h = realsense.librealsense_mex('rs2::video_stream_profile', 'height', this.objectHandle);
end
function intrinsics = get_intrinsics(this)
intrinsics = realsense.librealsense_mex('rs2::video_stream_profile', 'get_intrinsics', this.objectHandle);
end
end
end