520 lines
43 KiB
HTML
520 lines
43 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: mynteye::API Class Reference</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.1-rc2</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="Search" 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 -->
|
|
<!-- Generated by 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,'Search');
|
|
/* @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('classmynteye_1_1_a_p_i.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="#pub-types">Public Types</a> |
|
|
<a href="#pub-methods">Public Member Functions</a> |
|
|
<a href="#pub-static-methods">Static Public Member Functions</a> |
|
|
<a href="classmynteye_1_1_a_p_i-members.html">List of all members</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">mynteye::API Class Reference</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
|
|
<p>The <a class="el" href="classmynteye_1_1_a_p_i.html" title="The API class to communicate with MYNT® EYE device. ">API</a> class to communicate with MYNT® EYE device.
|
|
<a href="classmynteye_1_1_a_p_i.html#details">More...</a></p>
|
|
<table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
|
|
Public Types</h2></td></tr>
|
|
<tr class="memitem:a9f6e4b9cb96f00aa0bdc98522c4ad8db"><td class="memItemLeft" align="right" valign="top">using </td><td class="memItemRight" valign="bottom"><a class="el" href="classmynteye_1_1_a_p_i.html#a9f6e4b9cb96f00aa0bdc98522c4ad8db">stream_callback_t</a> = std::function< void(const <a class="el" href="structmynteye_1_1api_1_1_stream_data.html">api::StreamData</a> &data)></td></tr>
|
|
<tr class="memdesc:a9f6e4b9cb96f00aa0bdc98522c4ad8db"><td class="mdescLeft"> </td><td class="mdescRight">The <a class="el" href="structmynteye_1_1api_1_1_stream_data.html" title="API stream data. ">api::StreamData</a> callback. <a href="#a9f6e4b9cb96f00aa0bdc98522c4ad8db">More...</a><br /></td></tr>
|
|
<tr class="separator:a9f6e4b9cb96f00aa0bdc98522c4ad8db"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ac8f9a40e30e6b01662d1170eb5bd4735"><td class="memItemLeft" align="right" valign="top">using </td><td class="memItemRight" valign="bottom"><a class="el" href="classmynteye_1_1_a_p_i.html#ac8f9a40e30e6b01662d1170eb5bd4735">motion_callback_t</a> = std::function< void(const <a class="el" href="structmynteye_1_1api_1_1_motion_data.html">api::MotionData</a> &data)></td></tr>
|
|
<tr class="memdesc:ac8f9a40e30e6b01662d1170eb5bd4735"><td class="mdescLeft"> </td><td class="mdescRight">The <a class="el" href="structmynteye_1_1api_1_1_motion_data.html" title="API motion data. ">api::MotionData</a> callback. <a href="#ac8f9a40e30e6b01662d1170eb5bd4735">More...</a><br /></td></tr>
|
|
<tr class="separator:ac8f9a40e30e6b01662d1170eb5bd4735"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
|
|
Public Member Functions</h2></td></tr>
|
|
<tr class="memitem:a148afe3445e90a9aa8ac2ec85aa3aadd"><td class="memItemLeft" align="right" valign="top"><a id="a148afe3445e90a9aa8ac2ec85aa3aadd"></a>
|
|
<a class="el" href="group__enumerations.html#ga3d88e0528ad84eed0e7915c7ed632087">Model</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmynteye_1_1_a_p_i.html#a148afe3445e90a9aa8ac2ec85aa3aadd">GetModel</a> () const</td></tr>
|
|
<tr class="memdesc:a148afe3445e90a9aa8ac2ec85aa3aadd"><td class="mdescLeft"> </td><td class="mdescRight">Get the model. <br /></td></tr>
|
|
<tr class="separator:a148afe3445e90a9aa8ac2ec85aa3aadd"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a4b8b169d41fec0d464d004abcb8d5833"><td class="memItemLeft" align="right" valign="top"><a id="a4b8b169d41fec0d464d004abcb8d5833"></a>
|
|
bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classmynteye_1_1_a_p_i.html#a4b8b169d41fec0d464d004abcb8d5833">Supports</a> (const <a class="el" href="group__enumerations.html#ga8fb1bf5d859ee1a5b321cbae0b422280">Stream</a> &stream) const</td></tr>
|
|
<tr class="memdesc:a4b8b169d41fec0d464d004abcb8d5833"><td class="mdescLeft"> </td><td class="mdescRight">Supports the stream or not. <br /></td></tr>
|
|
<tr class="separator:a4b8b169d41fec0d464d004abcb8d5833"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a3c7b424a762c80de97eb389cb510602a"><td class="memItemLeft" align="right" valign="top"><a id="a3c7b424a762c80de97eb389cb510602a"></a>
|
|
bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classmynteye_1_1_a_p_i.html#a3c7b424a762c80de97eb389cb510602a">Supports</a> (const <a class="el" href="group__enumerations.html#ga924c6892a17872477999697dfb5269c6">Capabilities</a> &capability) const</td></tr>
|
|
<tr class="memdesc:a3c7b424a762c80de97eb389cb510602a"><td class="mdescLeft"> </td><td class="mdescRight">Supports the capability or not. <br /></td></tr>
|
|
<tr class="separator:a3c7b424a762c80de97eb389cb510602a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a6ab0fa4d84bc9db2488fb176b8868132"><td class="memItemLeft" align="right" valign="top"><a id="a6ab0fa4d84bc9db2488fb176b8868132"></a>
|
|
bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classmynteye_1_1_a_p_i.html#a6ab0fa4d84bc9db2488fb176b8868132">Supports</a> (const <a class="el" href="group__enumerations.html#ga31bb3da30332d5af00c1851cf0020fb6">Option</a> &option) const</td></tr>
|
|
<tr class="memdesc:a6ab0fa4d84bc9db2488fb176b8868132"><td class="mdescLeft"> </td><td class="mdescRight">Supports the option or not. <br /></td></tr>
|
|
<tr class="separator:a6ab0fa4d84bc9db2488fb176b8868132"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a72b09033247db5b4d6442124c0f41f68"><td class="memItemLeft" align="right" valign="top"><a id="a72b09033247db5b4d6442124c0f41f68"></a>
|
|
bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classmynteye_1_1_a_p_i.html#a72b09033247db5b4d6442124c0f41f68">Supports</a> (const <a class="el" href="group__enumerations.html#gac5354b730c4500e6371a8b7048185a71">AddOns</a> &addon) const</td></tr>
|
|
<tr class="memdesc:a72b09033247db5b4d6442124c0f41f68"><td class="mdescLeft"> </td><td class="mdescRight">Supports the addon or not. <br /></td></tr>
|
|
<tr class="separator:a72b09033247db5b4d6442124c0f41f68"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a7b45104aa50cf10819993ccb875620ae"><td class="memItemLeft" align="right" valign="top"><a id="a7b45104aa50cf10819993ccb875620ae"></a>
|
|
const std::vector< <a class="el" href="structmynteye_1_1_stream_request.html">StreamRequest</a> > & </td><td class="memItemRight" valign="bottom"><a class="el" href="classmynteye_1_1_a_p_i.html#a7b45104aa50cf10819993ccb875620ae">GetStreamRequests</a> (const <a class="el" href="group__enumerations.html#ga924c6892a17872477999697dfb5269c6">Capabilities</a> &capability) const</td></tr>
|
|
<tr class="memdesc:a7b45104aa50cf10819993ccb875620ae"><td class="mdescLeft"> </td><td class="mdescRight">Get all stream requests of the capability. <br /></td></tr>
|
|
<tr class="separator:a7b45104aa50cf10819993ccb875620ae"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ae5dfc550818235e9add90b19d484bdde"><td class="memItemLeft" align="right" valign="top"><a id="ae5dfc550818235e9add90b19d484bdde"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><a class="el" href="classmynteye_1_1_a_p_i.html#ae5dfc550818235e9add90b19d484bdde">ConfigStreamRequest</a> (const <a class="el" href="group__enumerations.html#ga924c6892a17872477999697dfb5269c6">Capabilities</a> &capability, const <a class="el" href="structmynteye_1_1_stream_request.html">StreamRequest</a> &request)</td></tr>
|
|
<tr class="memdesc:ae5dfc550818235e9add90b19d484bdde"><td class="mdescLeft"> </td><td class="mdescRight">Config the stream request to the capability. <br /></td></tr>
|
|
<tr class="separator:ae5dfc550818235e9add90b19d484bdde"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a766028e7cc0cb10f161be38fad94b25f"><td class="memItemLeft" align="right" valign="top"><a id="a766028e7cc0cb10f161be38fad94b25f"></a>
|
|
std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classmynteye_1_1_a_p_i.html#a766028e7cc0cb10f161be38fad94b25f">GetInfo</a> (const <a class="el" href="group__enumerations.html#ga1176072d2ba347a194801362de7fc0eb">Info</a> &info) const</td></tr>
|
|
<tr class="memdesc:a766028e7cc0cb10f161be38fad94b25f"><td class="mdescLeft"> </td><td class="mdescRight">Get the device info. <br /></td></tr>
|
|
<tr class="separator:a766028e7cc0cb10f161be38fad94b25f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:acd281829efb0fcf58eb9fc819eda3cb1"><td class="memItemLeft" align="right" valign="top"><a id="acd281829efb0fcf58eb9fc819eda3cb1"></a>
|
|
<a class="el" href="structmynteye_1_1_intrinsics.html">Intrinsics</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmynteye_1_1_a_p_i.html#acd281829efb0fcf58eb9fc819eda3cb1">GetIntrinsics</a> (const <a class="el" href="group__enumerations.html#ga8fb1bf5d859ee1a5b321cbae0b422280">Stream</a> &stream) const</td></tr>
|
|
<tr class="memdesc:acd281829efb0fcf58eb9fc819eda3cb1"><td class="mdescLeft"> </td><td class="mdescRight">Get the intrinsics of stream. <br /></td></tr>
|
|
<tr class="separator:acd281829efb0fcf58eb9fc819eda3cb1"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aba7b6ea229e944c9528be2a88d7db873"><td class="memItemLeft" align="right" valign="top"><a id="aba7b6ea229e944c9528be2a88d7db873"></a>
|
|
<a class="el" href="structmynteye_1_1_extrinsics.html">Extrinsics</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmynteye_1_1_a_p_i.html#aba7b6ea229e944c9528be2a88d7db873">GetExtrinsics</a> (const <a class="el" href="group__enumerations.html#ga8fb1bf5d859ee1a5b321cbae0b422280">Stream</a> &from, const <a class="el" href="group__enumerations.html#ga8fb1bf5d859ee1a5b321cbae0b422280">Stream</a> &to) const</td></tr>
|
|
<tr class="memdesc:aba7b6ea229e944c9528be2a88d7db873"><td class="mdescLeft"> </td><td class="mdescRight">Get the extrinsics from one stream to another. <br /></td></tr>
|
|
<tr class="separator:aba7b6ea229e944c9528be2a88d7db873"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a7903ccd0fb6c67b2caa7a62de61f6247"><td class="memItemLeft" align="right" valign="top"><a id="a7903ccd0fb6c67b2caa7a62de61f6247"></a>
|
|
<a class="el" href="structmynteye_1_1_motion_intrinsics.html">MotionIntrinsics</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmynteye_1_1_a_p_i.html#a7903ccd0fb6c67b2caa7a62de61f6247">GetMotionIntrinsics</a> () const</td></tr>
|
|
<tr class="memdesc:a7903ccd0fb6c67b2caa7a62de61f6247"><td class="mdescLeft"> </td><td class="mdescRight">Get the intrinsics of motion. <br /></td></tr>
|
|
<tr class="separator:a7903ccd0fb6c67b2caa7a62de61f6247"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ae7d219e882375be3982f3e1cc7f94ef3"><td class="memItemLeft" align="right" valign="top"><a id="ae7d219e882375be3982f3e1cc7f94ef3"></a>
|
|
<a class="el" href="structmynteye_1_1_extrinsics.html">Extrinsics</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmynteye_1_1_a_p_i.html#ae7d219e882375be3982f3e1cc7f94ef3">GetMotionExtrinsics</a> (const <a class="el" href="group__enumerations.html#ga8fb1bf5d859ee1a5b321cbae0b422280">Stream</a> &from) const</td></tr>
|
|
<tr class="memdesc:ae7d219e882375be3982f3e1cc7f94ef3"><td class="mdescLeft"> </td><td class="mdescRight">Get the extrinsics from one stream to motion. <br /></td></tr>
|
|
<tr class="separator:ae7d219e882375be3982f3e1cc7f94ef3"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ae1ed2327d8fd644acb7f87dc6500962e"><td class="memItemLeft" align="right" valign="top"><a id="ae1ed2327d8fd644acb7f87dc6500962e"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><a class="el" href="classmynteye_1_1_a_p_i.html#ae1ed2327d8fd644acb7f87dc6500962e">LogOptionInfos</a> () const</td></tr>
|
|
<tr class="memdesc:ae1ed2327d8fd644acb7f87dc6500962e"><td class="mdescLeft"> </td><td class="mdescRight">Log all option infos. <br /></td></tr>
|
|
<tr class="separator:ae1ed2327d8fd644acb7f87dc6500962e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a1b9dfda42d4364bcba6a17b9c9082536"><td class="memItemLeft" align="right" valign="top"><a id="a1b9dfda42d4364bcba6a17b9c9082536"></a>
|
|
<a class="el" href="structmynteye_1_1_option_info.html">OptionInfo</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmynteye_1_1_a_p_i.html#a1b9dfda42d4364bcba6a17b9c9082536">GetOptionInfo</a> (const <a class="el" href="group__enumerations.html#ga31bb3da30332d5af00c1851cf0020fb6">Option</a> &option) const</td></tr>
|
|
<tr class="memdesc:a1b9dfda42d4364bcba6a17b9c9082536"><td class="mdescLeft"> </td><td class="mdescRight">Get the option info. <br /></td></tr>
|
|
<tr class="separator:a1b9dfda42d4364bcba6a17b9c9082536"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ab00fddbd0a46c5f4f8106a376d5f5502"><td class="memItemLeft" align="right" valign="top"><a id="ab00fddbd0a46c5f4f8106a376d5f5502"></a>
|
|
std::int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classmynteye_1_1_a_p_i.html#ab00fddbd0a46c5f4f8106a376d5f5502">GetOptionValue</a> (const <a class="el" href="group__enumerations.html#ga31bb3da30332d5af00c1851cf0020fb6">Option</a> &option) const</td></tr>
|
|
<tr class="memdesc:ab00fddbd0a46c5f4f8106a376d5f5502"><td class="mdescLeft"> </td><td class="mdescRight">Get the option value. <br /></td></tr>
|
|
<tr class="separator:ab00fddbd0a46c5f4f8106a376d5f5502"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:af568aef55ebab6ba1a9e481b977620ab"><td class="memItemLeft" align="right" valign="top"><a id="af568aef55ebab6ba1a9e481b977620ab"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><a class="el" href="classmynteye_1_1_a_p_i.html#af568aef55ebab6ba1a9e481b977620ab">SetOptionValue</a> (const <a class="el" href="group__enumerations.html#ga31bb3da30332d5af00c1851cf0020fb6">Option</a> &option, std::int32_t value)</td></tr>
|
|
<tr class="memdesc:af568aef55ebab6ba1a9e481b977620ab"><td class="mdescLeft"> </td><td class="mdescRight">Set the option value. <br /></td></tr>
|
|
<tr class="separator:af568aef55ebab6ba1a9e481b977620ab"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a8528285b9cbe0b0d44a8e2a31b6534a0"><td class="memItemLeft" align="right" valign="top"><a id="a8528285b9cbe0b0d44a8e2a31b6534a0"></a>
|
|
bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classmynteye_1_1_a_p_i.html#a8528285b9cbe0b0d44a8e2a31b6534a0">RunOptionAction</a> (const <a class="el" href="group__enumerations.html#ga31bb3da30332d5af00c1851cf0020fb6">Option</a> &option) const</td></tr>
|
|
<tr class="memdesc:a8528285b9cbe0b0d44a8e2a31b6534a0"><td class="mdescLeft"> </td><td class="mdescRight">Run the option action. <br /></td></tr>
|
|
<tr class="separator:a8528285b9cbe0b0d44a8e2a31b6534a0"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a36c6d91ec30dbad5a825d154f21345f1"><td class="memItemLeft" align="right" valign="top"><a id="a36c6d91ec30dbad5a825d154f21345f1"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><a class="el" href="classmynteye_1_1_a_p_i.html#a36c6d91ec30dbad5a825d154f21345f1">SetStreamCallback</a> (const <a class="el" href="group__enumerations.html#ga8fb1bf5d859ee1a5b321cbae0b422280">Stream</a> &stream, <a class="el" href="classmynteye_1_1_a_p_i.html#a9f6e4b9cb96f00aa0bdc98522c4ad8db">stream_callback_t</a> callback)</td></tr>
|
|
<tr class="memdesc:a36c6d91ec30dbad5a825d154f21345f1"><td class="mdescLeft"> </td><td class="mdescRight">Set the callback of stream. <br /></td></tr>
|
|
<tr class="separator:a36c6d91ec30dbad5a825d154f21345f1"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:af20017e9e1e0dd1008c0571dae43bf27"><td class="memItemLeft" align="right" valign="top"><a id="af20017e9e1e0dd1008c0571dae43bf27"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><a class="el" href="classmynteye_1_1_a_p_i.html#af20017e9e1e0dd1008c0571dae43bf27">SetMotionCallback</a> (<a class="el" href="classmynteye_1_1_a_p_i.html#ac8f9a40e30e6b01662d1170eb5bd4735">motion_callback_t</a> callback)</td></tr>
|
|
<tr class="memdesc:af20017e9e1e0dd1008c0571dae43bf27"><td class="mdescLeft"> </td><td class="mdescRight">Set the callback of motion. <br /></td></tr>
|
|
<tr class="separator:af20017e9e1e0dd1008c0571dae43bf27"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a5c872a25090bfe00659b7ae0b5391aae"><td class="memItemLeft" align="right" valign="top"><a id="a5c872a25090bfe00659b7ae0b5391aae"></a>
|
|
bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classmynteye_1_1_a_p_i.html#a5c872a25090bfe00659b7ae0b5391aae">HasStreamCallback</a> (const <a class="el" href="group__enumerations.html#ga8fb1bf5d859ee1a5b321cbae0b422280">Stream</a> &stream) const</td></tr>
|
|
<tr class="memdesc:a5c872a25090bfe00659b7ae0b5391aae"><td class="mdescLeft"> </td><td class="mdescRight">Has the callback of stream. <br /></td></tr>
|
|
<tr class="separator:a5c872a25090bfe00659b7ae0b5391aae"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a11f5f015eb6e80f89d0c51ed6cc25dc8"><td class="memItemLeft" align="right" valign="top"><a id="a11f5f015eb6e80f89d0c51ed6cc25dc8"></a>
|
|
bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classmynteye_1_1_a_p_i.html#a11f5f015eb6e80f89d0c51ed6cc25dc8">HasMotionCallback</a> () const</td></tr>
|
|
<tr class="memdesc:a11f5f015eb6e80f89d0c51ed6cc25dc8"><td class="mdescLeft"> </td><td class="mdescRight">Has the callback of motion. <br /></td></tr>
|
|
<tr class="separator:a11f5f015eb6e80f89d0c51ed6cc25dc8"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a222fa24a6f6c3a926526728434569d31"><td class="memItemLeft" align="right" valign="top"><a id="a222fa24a6f6c3a926526728434569d31"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><a class="el" href="classmynteye_1_1_a_p_i.html#a222fa24a6f6c3a926526728434569d31">Start</a> (const <a class="el" href="group__enumerations.html#ga2d9ba6438b1f9ed91cff3587b491d0b3">Source</a> &source)</td></tr>
|
|
<tr class="memdesc:a222fa24a6f6c3a926526728434569d31"><td class="mdescLeft"> </td><td class="mdescRight">Start capturing the source. <br /></td></tr>
|
|
<tr class="separator:a222fa24a6f6c3a926526728434569d31"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a0e2ab2c1af19216c49b0d69b33cce41f"><td class="memItemLeft" align="right" valign="top"><a id="a0e2ab2c1af19216c49b0d69b33cce41f"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><a class="el" href="classmynteye_1_1_a_p_i.html#a0e2ab2c1af19216c49b0d69b33cce41f">Stop</a> (const <a class="el" href="group__enumerations.html#ga2d9ba6438b1f9ed91cff3587b491d0b3">Source</a> &source)</td></tr>
|
|
<tr class="memdesc:a0e2ab2c1af19216c49b0d69b33cce41f"><td class="mdescLeft"> </td><td class="mdescRight">Stop capturing the source. <br /></td></tr>
|
|
<tr class="separator:a0e2ab2c1af19216c49b0d69b33cce41f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ad79528fe6e559fdaeb6d8dcccb50abaf"><td class="memItemLeft" align="right" valign="top"><a id="ad79528fe6e559fdaeb6d8dcccb50abaf"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><a class="el" href="classmynteye_1_1_a_p_i.html#ad79528fe6e559fdaeb6d8dcccb50abaf">WaitForStreams</a> ()</td></tr>
|
|
<tr class="memdesc:ad79528fe6e559fdaeb6d8dcccb50abaf"><td class="mdescLeft"> </td><td class="mdescRight">Wait the streams are ready. <br /></td></tr>
|
|
<tr class="separator:ad79528fe6e559fdaeb6d8dcccb50abaf"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a46f714ee5c92c18fff5ca20d98ad3392"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classmynteye_1_1_a_p_i.html#a46f714ee5c92c18fff5ca20d98ad3392">EnableStreamData</a> (const <a class="el" href="group__enumerations.html#ga8fb1bf5d859ee1a5b321cbae0b422280">Stream</a> &stream)</td></tr>
|
|
<tr class="memdesc:a46f714ee5c92c18fff5ca20d98ad3392"><td class="mdescLeft"> </td><td class="mdescRight">Enable the data of stream. <a href="#a46f714ee5c92c18fff5ca20d98ad3392">More...</a><br /></td></tr>
|
|
<tr class="separator:a46f714ee5c92c18fff5ca20d98ad3392"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:af384a098983e9cf2c72d53637d5cd45e"><td class="memItemLeft" align="right" valign="top"><a id="af384a098983e9cf2c72d53637d5cd45e"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><a class="el" href="classmynteye_1_1_a_p_i.html#af384a098983e9cf2c72d53637d5cd45e">DisableStreamData</a> (const <a class="el" href="group__enumerations.html#ga8fb1bf5d859ee1a5b321cbae0b422280">Stream</a> &stream)</td></tr>
|
|
<tr class="memdesc:af384a098983e9cf2c72d53637d5cd45e"><td class="mdescLeft"> </td><td class="mdescRight">Disable the data of stream. <br /></td></tr>
|
|
<tr class="separator:af384a098983e9cf2c72d53637d5cd45e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a49a4447f9dbcb85f3aef0a013174f362"><td class="memItemLeft" align="right" valign="top"><a id="a49a4447f9dbcb85f3aef0a013174f362"></a>
|
|
<a class="el" href="structmynteye_1_1api_1_1_stream_data.html">api::StreamData</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmynteye_1_1_a_p_i.html#a49a4447f9dbcb85f3aef0a013174f362">GetStreamData</a> (const <a class="el" href="group__enumerations.html#ga8fb1bf5d859ee1a5b321cbae0b422280">Stream</a> &stream)</td></tr>
|
|
<tr class="memdesc:a49a4447f9dbcb85f3aef0a013174f362"><td class="mdescLeft"> </td><td class="mdescRight">Get the latest data of stream. <br /></td></tr>
|
|
<tr class="separator:a49a4447f9dbcb85f3aef0a013174f362"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a81f6b26a1f3e136247b6088ce0d61b90"><td class="memItemLeft" align="right" valign="top">std::vector< <a class="el" href="structmynteye_1_1api_1_1_stream_data.html">api::StreamData</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classmynteye_1_1_a_p_i.html#a81f6b26a1f3e136247b6088ce0d61b90">GetStreamDatas</a> (const <a class="el" href="group__enumerations.html#ga8fb1bf5d859ee1a5b321cbae0b422280">Stream</a> &stream)</td></tr>
|
|
<tr class="memdesc:a81f6b26a1f3e136247b6088ce0d61b90"><td class="mdescLeft"> </td><td class="mdescRight">Get the datas of stream. <a href="#a81f6b26a1f3e136247b6088ce0d61b90">More...</a><br /></td></tr>
|
|
<tr class="separator:a81f6b26a1f3e136247b6088ce0d61b90"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ab7b79e7de29c24686881dee8a4e88e99"><td class="memItemLeft" align="right" valign="top"><a id="ab7b79e7de29c24686881dee8a4e88e99"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><a class="el" href="classmynteye_1_1_a_p_i.html#ab7b79e7de29c24686881dee8a4e88e99">EnableMotionDatas</a> (std::size_t max_size=std::numeric_limits< std::size_t >::max())</td></tr>
|
|
<tr class="memdesc:ab7b79e7de29c24686881dee8a4e88e99"><td class="mdescLeft"> </td><td class="mdescRight">Enable cache motion datas. <br /></td></tr>
|
|
<tr class="separator:ab7b79e7de29c24686881dee8a4e88e99"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a1f658caec8679193b7cb7ce957f1113a"><td class="memItemLeft" align="right" valign="top"><a id="a1f658caec8679193b7cb7ce957f1113a"></a>
|
|
std::vector< <a class="el" href="structmynteye_1_1api_1_1_motion_data.html">api::MotionData</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classmynteye_1_1_a_p_i.html#a1f658caec8679193b7cb7ce957f1113a">GetMotionDatas</a> ()</td></tr>
|
|
<tr class="memdesc:a1f658caec8679193b7cb7ce957f1113a"><td class="mdescLeft"> </td><td class="mdescRight">Get the motion datas. <br /></td></tr>
|
|
<tr class="separator:a1f658caec8679193b7cb7ce957f1113a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a719925512f3acbdb7ca6bac29fa76fcf"><td class="memItemLeft" align="right" valign="top"><a id="a719925512f3acbdb7ca6bac29fa76fcf"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><a class="el" href="classmynteye_1_1_a_p_i.html#a719925512f3acbdb7ca6bac29fa76fcf">EnablePlugin</a> (const std::string &path)</td></tr>
|
|
<tr class="memdesc:a719925512f3acbdb7ca6bac29fa76fcf"><td class="mdescLeft"> </td><td class="mdescRight">Enable the plugin. <br /></td></tr>
|
|
<tr class="separator:a719925512f3acbdb7ca6bac29fa76fcf"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
|
|
Static Public Member Functions</h2></td></tr>
|
|
<tr class="memitem:abcebda97943377b33851af3216ea4a41"><td class="memItemLeft" align="right" valign="top">static std::shared_ptr< <a class="el" href="classmynteye_1_1_a_p_i.html">API</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classmynteye_1_1_a_p_i.html#abcebda97943377b33851af3216ea4a41">Create</a> ()</td></tr>
|
|
<tr class="memdesc:abcebda97943377b33851af3216ea4a41"><td class="mdescLeft"> </td><td class="mdescRight">Create the <a class="el" href="classmynteye_1_1_a_p_i.html" title="The API class to communicate with MYNT® EYE device. ">API</a> instance. <a href="#abcebda97943377b33851af3216ea4a41">More...</a><br /></td></tr>
|
|
<tr class="separator:abcebda97943377b33851af3216ea4a41"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a0a64d0ef79706d2e7978ae0a0ff7c64c"><td class="memItemLeft" align="right" valign="top">static std::shared_ptr< <a class="el" href="classmynteye_1_1_a_p_i.html">API</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classmynteye_1_1_a_p_i.html#a0a64d0ef79706d2e7978ae0a0ff7c64c">Create</a> (std::shared_ptr< <a class="el" href="classmynteye_1_1_device.html">Device</a> > device)</td></tr>
|
|
<tr class="memdesc:a0a64d0ef79706d2e7978ae0a0ff7c64c"><td class="mdescLeft"> </td><td class="mdescRight">Create the <a class="el" href="classmynteye_1_1_a_p_i.html" title="The API class to communicate with MYNT® EYE device. ">API</a> instance. <a href="#a0a64d0ef79706d2e7978ae0a0ff7c64c">More...</a><br /></td></tr>
|
|
<tr class="separator:a0a64d0ef79706d2e7978ae0a0ff7c64c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a7e70df58b46483307f9ab45cfc5f7c01"><td class="memItemLeft" align="right" valign="top">static std::shared_ptr< <a class="el" href="classmynteye_1_1_a_p_i.html">API</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classmynteye_1_1_a_p_i.html#a7e70df58b46483307f9ab45cfc5f7c01">Create</a> (int argc, char *argv[])</td></tr>
|
|
<tr class="memdesc:a7e70df58b46483307f9ab45cfc5f7c01"><td class="mdescLeft"> </td><td class="mdescRight">Create the <a class="el" href="classmynteye_1_1_a_p_i.html" title="The API class to communicate with MYNT® EYE device. ">API</a> instance. <a href="#a7e70df58b46483307f9ab45cfc5f7c01">More...</a><br /></td></tr>
|
|
<tr class="separator:a7e70df58b46483307f9ab45cfc5f7c01"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:adc4e3bb87487025fdcae5ed558f22c1f"><td class="memItemLeft" align="right" valign="top">static std::shared_ptr< <a class="el" href="classmynteye_1_1_a_p_i.html">API</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classmynteye_1_1_a_p_i.html#adc4e3bb87487025fdcae5ed558f22c1f">Create</a> (int argc, char *argv[], std::shared_ptr< <a class="el" href="classmynteye_1_1_device.html">Device</a> > device)</td></tr>
|
|
<tr class="memdesc:adc4e3bb87487025fdcae5ed558f22c1f"><td class="mdescLeft"> </td><td class="mdescRight">Create the <a class="el" href="classmynteye_1_1_a_p_i.html" title="The API class to communicate with MYNT® EYE device. ">API</a> instance. <a href="#adc4e3bb87487025fdcae5ed558f22c1f">More...</a><br /></td></tr>
|
|
<tr class="separator:adc4e3bb87487025fdcae5ed558f22c1f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
|
<div class="textblock"><p>The <a class="el" href="classmynteye_1_1_a_p_i.html" title="The API class to communicate with MYNT® EYE device. ">API</a> class to communicate with MYNT® EYE device. </p>
|
|
</div><h2 class="groupheader">Member Typedef Documentation</h2>
|
|
<a id="ac8f9a40e30e6b01662d1170eb5bd4735"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ac8f9a40e30e6b01662d1170eb5bd4735">◆ </a></span>motion_callback_t</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">using <a class="el" href="classmynteye_1_1_a_p_i.html#ac8f9a40e30e6b01662d1170eb5bd4735">mynteye::API::motion_callback_t</a> = std::function<void(const <a class="el" href="structmynteye_1_1api_1_1_motion_data.html">api::MotionData</a> &data)></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>The <a class="el" href="structmynteye_1_1api_1_1_motion_data.html" title="API motion data. ">api::MotionData</a> callback. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a9f6e4b9cb96f00aa0bdc98522c4ad8db"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a9f6e4b9cb96f00aa0bdc98522c4ad8db">◆ </a></span>stream_callback_t</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">using <a class="el" href="classmynteye_1_1_a_p_i.html#a9f6e4b9cb96f00aa0bdc98522c4ad8db">mynteye::API::stream_callback_t</a> = std::function<void(const <a class="el" href="structmynteye_1_1api_1_1_stream_data.html">api::StreamData</a> &data)></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>The <a class="el" href="structmynteye_1_1api_1_1_stream_data.html" title="API stream data. ">api::StreamData</a> callback. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Member Function Documentation</h2>
|
|
<a id="abcebda97943377b33851af3216ea4a41"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#abcebda97943377b33851af3216ea4a41">◆ </a></span>Create() <span class="overload">[1/4]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">static std::shared_ptr<<a class="el" href="classmynteye_1_1_a_p_i.html">API</a>> mynteye::API::Create </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">static</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Create the <a class="el" href="classmynteye_1_1_a_p_i.html" title="The API class to communicate with MYNT® EYE device. ">API</a> instance. </p>
|
|
<dl class="section return"><dt>Returns</dt><dd>the <a class="el" href="classmynteye_1_1_a_p_i.html" title="The API class to communicate with MYNT® EYE device. ">API</a> instance. </dd></dl>
|
|
<dl class="section note"><dt>Note</dt><dd>This will call <a class="el" href="group__utils.html#gadaaa451b569023317e4d224b44381d41" title="Detecting MYNT EYE devices and prompt user to select one. ">device::select()</a> to select a device. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a0a64d0ef79706d2e7978ae0a0ff7c64c"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a0a64d0ef79706d2e7978ae0a0ff7c64c">◆ </a></span>Create() <span class="overload">[2/4]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">static std::shared_ptr<<a class="el" href="classmynteye_1_1_a_p_i.html">API</a>> mynteye::API::Create </td>
|
|
<td>(</td>
|
|
<td class="paramtype">std::shared_ptr< <a class="el" href="classmynteye_1_1_device.html">Device</a> > </td>
|
|
<td class="paramname"><em>device</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">static</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Create the <a class="el" href="classmynteye_1_1_a_p_i.html" title="The API class to communicate with MYNT® EYE device. ">API</a> instance. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">device</td><td>the selected device. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>the <a class="el" href="classmynteye_1_1_a_p_i.html" title="The API class to communicate with MYNT® EYE device. ">API</a> instance. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a7e70df58b46483307f9ab45cfc5f7c01"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a7e70df58b46483307f9ab45cfc5f7c01">◆ </a></span>Create() <span class="overload">[3/4]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">static std::shared_ptr<<a class="el" href="classmynteye_1_1_a_p_i.html">API</a>> mynteye::API::Create </td>
|
|
<td>(</td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>argc</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">char * </td>
|
|
<td class="paramname"><em>argv</em>[] </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">static</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Create the <a class="el" href="classmynteye_1_1_a_p_i.html" title="The API class to communicate with MYNT® EYE device. ">API</a> instance. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">argc</td><td>the arg count. </td></tr>
|
|
<tr><td class="paramname">argv</td><td>the arg values. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>the <a class="el" href="classmynteye_1_1_a_p_i.html" title="The API class to communicate with MYNT® EYE device. ">API</a> instance. </dd></dl>
|
|
<dl class="section note"><dt>Note</dt><dd>This will init glog with args and call <a class="el" href="group__utils.html#gadaaa451b569023317e4d224b44381d41" title="Detecting MYNT EYE devices and prompt user to select one. ">device::select()</a> to select a device. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="adc4e3bb87487025fdcae5ed558f22c1f"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#adc4e3bb87487025fdcae5ed558f22c1f">◆ </a></span>Create() <span class="overload">[4/4]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">static std::shared_ptr<<a class="el" href="classmynteye_1_1_a_p_i.html">API</a>> mynteye::API::Create </td>
|
|
<td>(</td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>argc</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">char * </td>
|
|
<td class="paramname"><em>argv</em>[], </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">std::shared_ptr< <a class="el" href="classmynteye_1_1_device.html">Device</a> > </td>
|
|
<td class="paramname"><em>device</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">static</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Create the <a class="el" href="classmynteye_1_1_a_p_i.html" title="The API class to communicate with MYNT® EYE device. ">API</a> instance. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">argc</td><td>the arg count. </td></tr>
|
|
<tr><td class="paramname">argv</td><td>the arg values. </td></tr>
|
|
<tr><td class="paramname">device</td><td>the selected device. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>the <a class="el" href="classmynteye_1_1_a_p_i.html" title="The API class to communicate with MYNT® EYE device. ">API</a> instance. </dd></dl>
|
|
<dl class="section note"><dt>Note</dt><dd>This will init glog with args. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a46f714ee5c92c18fff5ca20d98ad3392"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a46f714ee5c92c18fff5ca20d98ad3392">◆ </a></span>EnableStreamData()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void mynteye::API::EnableStreamData </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="group__enumerations.html#ga8fb1bf5d859ee1a5b321cbae0b422280">Stream</a> & </td>
|
|
<td class="paramname"><em>stream</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Enable the data of stream. </p>
|
|
<dl class="section note"><dt>Note</dt><dd>must enable the stream if it's a synthetic one. This means the stream in not native, the device has the capability to provide this stream, but still support this stream. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a81f6b26a1f3e136247b6088ce0d61b90"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a81f6b26a1f3e136247b6088ce0d61b90">◆ </a></span>GetStreamDatas()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">std::vector<<a class="el" href="structmynteye_1_1api_1_1_stream_data.html">api::StreamData</a>> mynteye::API::GetStreamDatas </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="group__enumerations.html#ga8fb1bf5d859ee1a5b321cbae0b422280">Stream</a> & </td>
|
|
<td class="paramname"><em>stream</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Get the datas of stream. </p>
|
|
<dl class="section note"><dt>Note</dt><dd>default cache 4 datas at most. </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="navelem"><b>mynteye</b></li><li class="navelem"><a class="el" href="classmynteye_1_1_a_p_i.html">API</a></li>
|
|
<li class="footer">Generated by
|
|
<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>
|