190 lines
8.5 KiB
HTML
190 lines
8.5 KiB
HTML
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||
|
<head>
|
||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||
|
<meta name="generator" content="Doxygen 1.8.14"/>
|
||
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||
|
<title>MYNT EYE SDK: Utiliities</title>
|
||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||
|
<script type="text/javascript" src="jquery.js"></script>
|
||
|
<script type="text/javascript" src="dynsections.js"></script>
|
||
|
<link href="navtree.css" rel="stylesheet" type="text/css"/>
|
||
|
<script type="text/javascript" src="resize.js"></script>
|
||
|
<script type="text/javascript" src="navtreedata.js"></script>
|
||
|
<script type="text/javascript" src="navtree.js"></script>
|
||
|
<script type="text/javascript">
|
||
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||
|
$(document).ready(initResizable);
|
||
|
/* @license-end */</script>
|
||
|
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||
|
<script type="text/javascript" src="search/searchdata.js"></script>
|
||
|
<script type="text/javascript" src="search/search.js"></script>
|
||
|
<script type="text/javascript">
|
||
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||
|
$(document).ready(function() { init_search(); });
|
||
|
/* @license-end */
|
||
|
</script>
|
||
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||
|
<link href="custom.css" rel="stylesheet" type="text/css"/>
|
||
|
</head>
|
||
|
<body>
|
||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||
|
<div id="titlearea">
|
||
|
<table cellspacing="0" cellpadding="0">
|
||
|
<tbody>
|
||
|
<tr style="height: 56px;">
|
||
|
<td id="projectlogo"><img alt="Logo" src="icon.png"/></td>
|
||
|
<td id="projectalign" style="padding-left: 0.5em;">
|
||
|
<div id="projectname">MYNT EYE SDK
|
||
|
 <span id="projectnumber">2.0.0-rc</span>
|
||
|
</div>
|
||
|
<div id="projectbrief">http://www.myntai.com/camera</div>
|
||
|
</td>
|
||
|
<td> <div id="MSearchBox" class="MSearchBoxInactive">
|
||
|
<span class="left">
|
||
|
<img id="MSearchSelect" src="search/mag_sel.png"
|
||
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
||
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
||
|
alt=""/>
|
||
|
<input type="text" id="MSearchField" value="搜索" accesskey="S"
|
||
|
onfocus="searchBox.OnSearchFieldFocus(true)"
|
||
|
onblur="searchBox.OnSearchFieldFocus(false)"
|
||
|
onkeyup="searchBox.OnSearchFieldChange(event)"/>
|
||
|
</span><span class="right">
|
||
|
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
|
||
|
</span>
|
||
|
</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
</div>
|
||
|
<!-- end header part -->
|
||
|
<!-- 制作者 Doxygen 1.8.14 -->
|
||
|
<script type="text/javascript">
|
||
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||
|
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
|
||
|
/* @license-end */
|
||
|
</script>
|
||
|
</div><!-- top -->
|
||
|
<div id="side-nav" class="ui-resizable side-nav-resizable">
|
||
|
<div id="nav-tree">
|
||
|
<div id="nav-tree-contents">
|
||
|
<div id="nav-sync" class="sync"></div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div id="splitbar" style="-moz-user-select:none;"
|
||
|
class="ui-resizable-handle">
|
||
|
</div>
|
||
|
</div>
|
||
|
<script type="text/javascript">
|
||
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||
|
$(document).ready(function(){initNavTree('group__utils.html','');});
|
||
|
/* @license-end */
|
||
|
</script>
|
||
|
<div id="doc-content">
|
||
|
<!-- window showing the filter options -->
|
||
|
<div id="MSearchSelectWindow"
|
||
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
||
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
||
|
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||
|
</div>
|
||
|
|
||
|
<!-- iframe showing the search results (closed by default) -->
|
||
|
<div id="MSearchResultsWindow">
|
||
|
<iframe src="javascript:void(0)" frameborder="0"
|
||
|
name="MSearchResults" id="MSearchResults">
|
||
|
</iframe>
|
||
|
</div>
|
||
|
|
||
|
<div class="header">
|
||
|
<div class="summary">
|
||
|
<a href="#func-members">函数</a> </div>
|
||
|
<div class="headertitle">
|
||
|
<div class="title">Utiliities</div> </div>
|
||
|
</div><!--header-->
|
||
|
<div class="contents">
|
||
|
<table class="memberdecls">
|
||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
|
||
|
函数</h2></td></tr>
|
||
|
<tr class="memitem:gadaaa451b569023317e4d224b44381d41"><td class="memItemLeft" align="right" valign="top">MYNTEYE_API std::shared_ptr< <a class="el" href="classmynteye_1_1_device.html">Device</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="group__utils.html#gadaaa451b569023317e4d224b44381d41">mynteye::device::select</a> ()</td></tr>
|
||
|
<tr class="memdesc:gadaaa451b569023317e4d224b44381d41"><td class="mdescLeft"> </td><td class="mdescRight">Detecting MYNT EYE devices and prompt user to select one. <a href="group__utils.html#gadaaa451b569023317e4d224b44381d41">更多...</a><br /></td></tr>
|
||
|
<tr class="separator:gadaaa451b569023317e4d224b44381d41"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:gafc64aeffd4ae830d5a57b9e503f09254"><td class="memItemLeft" align="right" valign="top">MYNTEYE_API float </td><td class="memItemRight" valign="bottom"><a class="el" href="group__utils.html#gafc64aeffd4ae830d5a57b9e503f09254">mynteye::utils::get_real_exposure_time</a> (std::int32_t frame_rate, std::uint16_t exposure_time)</td></tr>
|
||
|
<tr class="memdesc:gafc64aeffd4ae830d5a57b9e503f09254"><td class="mdescLeft"> </td><td class="mdescRight">Get real exposure time in ms from virtual value, according to its frame rate. <a href="group__utils.html#gafc64aeffd4ae830d5a57b9e503f09254">更多...</a><br /></td></tr>
|
||
|
<tr class="separator:gafc64aeffd4ae830d5a57b9e503f09254"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
</table>
|
||
|
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
|
||
|
<h2 class="groupheader">函数说明</h2>
|
||
|
<a id="gafc64aeffd4ae830d5a57b9e503f09254"></a>
|
||
|
<h2 class="memtitle"><span class="permalink"><a href="#gafc64aeffd4ae830d5a57b9e503f09254">◆ </a></span>get_real_exposure_time()</h2>
|
||
|
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">MYNTEYE_API float mynteye::utils::get_real_exposure_time </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">std::int32_t </td>
|
||
|
<td class="paramname"><em>frame_rate</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">std::uint16_t </td>
|
||
|
<td class="paramname"><em>exposure_time</em> </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td></td>
|
||
|
<td>)</td>
|
||
|
<td></td><td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Get real exposure time in ms from virtual value, according to its frame rate. </p>
|
||
|
<dl class="params"><dt>参数</dt><dd>
|
||
|
<table class="params">
|
||
|
<tr><td class="paramname">frame_rate</td><td>the frame rate of the device. </td></tr>
|
||
|
<tr><td class="paramname">exposure_time</td><td>the virtual exposure time. </td></tr>
|
||
|
</table>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<dl class="section return"><dt>返回</dt><dd>the real exposure time in ms, or the virtual value if frame rate is invalid. </dd></dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a id="gadaaa451b569023317e4d224b44381d41"></a>
|
||
|
<h2 class="memtitle"><span class="permalink"><a href="#gadaaa451b569023317e4d224b44381d41">◆ </a></span>select()</h2>
|
||
|
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">MYNTEYE_API std::shared_ptr<<a class="el" href="classmynteye_1_1_device.html">Device</a>> mynteye::device::select </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramname"></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Detecting MYNT EYE devices and prompt user to select one. </p>
|
||
|
<dl class="section return"><dt>返回</dt><dd>the selected device, or <code>nullptr</code> if none. </dd></dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
</div><!-- contents -->
|
||
|
</div><!-- doc-content -->
|
||
|
<!-- start footer part -->
|
||
|
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||
|
<ul>
|
||
|
<li class="footer">制作者
|
||
|
<a href="http://www.doxygen.org/index.html">
|
||
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.14 </li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|