classobject.html

来自「仿真人工智能是指用人工的方法和技术」· HTML 代码 · 共 1,188 行 · 第 1/4 页

HTML
1,188
字号
time global position was received </td></tr></table></dl><dl compact><dt><b>Returns: </b><dd>bool indicating whether the values were set </dl><p>Definition at line <a class="el" href="Objects_8C-source.html#l00206">206</a> of file <a class="el" href="Objects_8C-source.html">Objects.C</a>.<p>References <a class="el" href="Objects_8h-source.html#l00067">posGlobalLastSee</a>, and <a class="el" href="Objects_8C-source.html#l00226">setTimeGlobalPosDerivedFromSee</a>().<p>Referenced by <a class="el" href="WorldModelUpdate_8C-source.html#l00552">WorldModel::updateAgentObjectAfterSee</a>(), and <a class="el" href="WorldModelUpdate_8C-source.html#l00579">WorldModel::updateDynamicObjectAfterSee</a>().    </td>  </tr></table><a name="a8" doxytag="Object::setRelativePosition"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> bool Object::setRelativePosition </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="classVecPosition.html">VecPosition</a>&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>v</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap><a class="el" href="classTime.html">Time</a>&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>time</em></td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>This method sets the relative position and the time this information was received using a vecPosition. <dl compact><dt><b>Parameters: </b><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>p</em>&nbsp;</td><td>new relative position </td></tr><tr><td valign=top><em>time</em>&nbsp;</td><td>time relative position was received </td></tr></table></dl><dl compact><dt><b>Returns: </b><dd>bool indicating whether the values were set </dl><p>Definition at line <a class="el" href="Objects_8C-source.html#l00126">126</a> of file <a class="el" href="Objects_8C-source.html">Objects.C</a>.<p>References <a class="el" href="Objects_8h-source.html#l00065">posRelative</a>, and <a class="el" href="Objects_8C-source.html#l00146">setTimeRelativePosition</a>().    </td>  </tr></table><a name="a7" doxytag="Object::setRelativePosition"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> bool Object::setRelativePosition </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">double&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>dDist</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap><a class="el" href="Geometry_8h.html#a2">AngDeg</a>&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>ang</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap><a class="el" href="classTime.html">Time</a>&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>time</em></td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>This method sets the relative position and the time this information was received. The relative position is calculated using the given distance and the given (relative) angle. <dl compact><dt><b>Parameters: </b><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>dDist</em>&nbsp;</td><td>relative distance to object </td></tr><tr><td valign=top><em>ang</em>&nbsp;</td><td>relative angle to object </td></tr><tr><td valign=top><em>time</em>&nbsp;</td><td>time relative position was received </td></tr></table></dl><dl compact><dt><b>Returns: </b><dd>bool indicating whether the values were set </dl><p>Definition at line <a class="el" href="Objects_8C-source.html#l00114">114</a> of file <a class="el" href="Objects_8C-source.html">Objects.C</a>.<p>References <a class="el" href="Geometry_8h-source.html#l00052">AngDeg</a>, <a class="el" href="Objects_8h-source.html#l00065">posRelative</a>, <a class="el" href="Objects_8C-source.html#l00146">setTimeRelativePosition</a>(), and <a class="el" href="Geometry_8C-source.html#l00572">VecPosition::setVecPosition</a>().<p>Referenced by <a class="el" href="WorldModelUpdate_8C-source.html#l00138">WorldModel::processNewObjectInfo</a>(), and <a class="el" href="WorldModelUpdate_8C-source.html#l00896">WorldModel::updateObjectRelativeFromGlobal</a>().    </td>  </tr></table><a name="a18" doxytag="Object::setTimeGlobalPosDerivedFromSee"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> bool Object::setTimeGlobalPosDerivedFromSee </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="classTime.html">Time</a>&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp; <em>time</em>          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>This method sets the time the global position was calculated using a see message. <dl compact><dt><b>Parameters: </b><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>time</em>&nbsp;</td><td>time global position was calculated with see message </td></tr></table></dl><dl compact><dt><b>Returns: </b><dd>bool indicating whether the value was set </dl><p>Definition at line <a class="el" href="Objects_8C-source.html#l00226">226</a> of file <a class="el" href="Objects_8C-source.html">Objects.C</a>.<p>References <a class="el" href="Objects_8h-source.html#l00068">timeGlobalPosDerivedFromSee</a>.<p>Referenced by <a class="el" href="Objects_8C-source.html#l00206">setGlobalPositionLastSee</a>().    </td>  </tr></table><a name="a14" doxytag="Object::setTimeGlobalPosition"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> bool Object::setTimeGlobalPosition </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="classTime.html">Time</a>&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp; <em>time</em>          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>This method sets the time the global position was calculated <dl compact><dt><b>Parameters: </b><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>time</em>&nbsp;</td><td>time global position was calculated </td></tr></table></dl><dl compact><dt><b>Returns: </b><dd>bool indicating whether the value was set </dl><p>Definition at line <a class="el" href="Objects_8C-source.html#l00185">185</a> of file <a class="el" href="Objects_8C-source.html">Objects.C</a>.<p>References <a class="el" href="Objects_8h-source.html#l00064">timeGlobalPosition</a>.<p>Referenced by <a class="el" href="Objects_8C-source.html#l00165">setGlobalPosition</a>().    </td>  </tr></table><a name="a20" doxytag="Object::setTimeLastSeen"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> bool Object::setTimeLastSeen </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="classTime.html">Time</a>&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp; <em>time</em>          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>This method sets the time of the last see message in which this object was seen. <dl compact><dt><b>Parameters: </b><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>time</em>&nbsp;</td><td>time this object was last seen </td></tr></table></dl><dl compact><dt><b>Returns: </b><dd>bool indicating whether the value was set </dl><p>Definition at line <a class="el" href="Objects_8C-source.html#l00244">244</a> of file <a class="el" href="Objects_8C-source.html">Objects.C</a>.<p>References <a class="el" href="Objects_8h-source.html#l00061">timeLastSeen</a>.<p>Referenced by <a class="el" href="WorldModelUpdate_8C-source.html#l00138">WorldModel::processNewObjectInfo</a>(), <a class="el" href="WorldModelUpdate_8C-source.html#l00232">WorldModel::processPerfectHearInfo</a>(), <a class="el" href="WorldModelUpdate_8C-source.html#l00063">WorldModel::processSeeGlobalInfo</a>(), <a class="el" href="WorldModelUpdate_8C-source.html#l01850">WorldModel::removeGhosts</a>(), <a class="el" href="WorldModelUpdate_8C-source.html#l01832">WorldModel::resetTimeObjects</a>(), and <a class="el" href="WorldModelUpdate_8C-source.html#l00552">WorldModel::updateAgentObjectAfterSee</a>().    </td>  </tr></table><a name="a10" doxytag="Object::setTimeRelativePosition"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> bool Object::setTimeRelativePosition </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="classTime.html">Time</a>&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp; <em>time</em>          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>This method sets the time the relative position was received. <dl compact><dt><b>Parameters: </b><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>time</em>&nbsp;</td><td>time relative position was received </td></tr></table></dl><dl compact><dt><b>Returns: </b><dd>bool indicating whether the value was set </dl><p>Definition at line <a class="el" href="Objects_8C-source.html#l00146">146</a> of file <a class="el" href="Objects_8C-source.html">Objects.C</a>.<p>References <a class="el" href="Objects_8h-source.html#l00066">timeRelativePosition</a>.<p>Referenced by <a class="el" href="Objects_8C-source.html#l00114">setRelativePosition</a>().    </td>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?