classagentobject.html

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

HTML
874
字号
<table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>This method returns the view quality of this AgentObject. The view angle equals VQ_LOW, VQ_HIGH, or VQ_ILLEGAL. <dl compact><dt><b>Returns: </b><dd>view quality of this AgentObject </dl><p>Definition at line <a class="el" href="Objects_8C-source.html#l00747">747</a> of file <a class="el" href="Objects_8C-source.html">Objects.C</a>.<p>References <a class="el" href="Objects_8h-source.html#l00281">viewQuality</a>, and <a class="el" href="SoccerTypes_8h-source.html#l00280">ViewQualityT</a>.<p>Referenced by <a class="el" href="WorldModel_8C-source.html#l00582">WorldModel::getAgentViewQuality</a>().    </td>  </tr></table><a name="a15" doxytag="AgentObject::setBodyAngleRelToNeck"></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 AgentObject::setBodyAngleRelToNeck </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="Geometry_8h.html#a2">AngDeg</a>&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp; <em>ang</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 relative body angle to the neck for this AgentObject. <dl compact><dt><b>Parameters: </b><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>ang</em>&nbsp;</td><td>relative body angle to the neck </td></tr></table></dl><dl compact><dt><b>Returns: </b><dd>bool indicating whether value was set </dl><p>Definition at line <a class="el" href="Objects_8C-source.html#l00819">819</a> of file <a class="el" href="Objects_8C-source.html">Objects.C</a>.<p>References <a class="el" href="Objects_8h-source.html#l00285">angBodyAngleRelToNeck</a>.<p>Referenced by <a class="el" href="WorldModelUpdate_8C-source.html#l00102">WorldModel::processNewAgentInfo</a>().    </td>  </tr></table><a name="a13" doxytag="AgentObject::setGlobalNeckAngle"></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 AgentObject::setGlobalNeckAngle </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="Geometry_8h.html#a2">AngDeg</a>&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp; <em>ang</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 global neck angle for this AgentObject. <dl compact><dt><b>Parameters: </b><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>ang</em>&nbsp;</td><td>value for the global neck angle. </td></tr></table></dl><dl compact><dt><b>Returns: </b><dd>bool indicating whether value was set </dl><p>Definition at line <a class="el" href="Objects_8C-source.html#l00799">799</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#l00185">PlayerObject::angGlobalBodyAngle</a>, <a class="el" href="Objects_8h-source.html#l00186">PlayerObject::angGlobalNeckAngle</a>, <a class="el" href="Objects_8C-source.html#l00811">getBodyAngleRelToNeck</a>(), and <a class="el" href="Geometry_8C-source.html#l00875">VecPosition::normalizeAngle</a>().<p>Referenced by <a class="el" href="WorldModelUpdate_8C-source.html#l00659">WorldModel::updateAgentAndBallAfterSense</a>(), and <a class="el" href="WorldModelUpdate_8C-source.html#l00552">WorldModel::updateAgentObjectAfterSee</a>().    </td>  </tr></table><a name="a4" doxytag="AgentObject::setPositionDifference"></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 AgentObject::setPositionDifference </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="mdname1" valign="top" nowrap>&nbsp; <em>p</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 position difference between the derived global position from the previous cycle information and the global position from the latest see message. <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 position difference </td></tr></table></dl><dl compact><dt><b>Returns: </b><dd>bool indicating whether the update was succesfull. </dl><p>Definition at line <a class="el" href="Objects_8C-source.html#l00729">729</a> of file <a class="el" href="Objects_8C-source.html">Objects.C</a>.<p>References <a class="el" href="Objects_8h-source.html#l00287">posPositionDifference</a>, and <a class="el" href="SoccerTypes_8h-source.html#l00271">ViewAngleT</a>.<p>Referenced by <a class="el" href="WorldModelUpdate_8C-source.html#l00552">WorldModel::updateAgentObjectAfterSee</a>().    </td>  </tr></table><a name="a12" doxytag="AgentObject::setSpeedRelToNeck"></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 AgentObject::setSpeedRelToNeck </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="mdname1" valign="top" nowrap>&nbsp; <em>v</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 velocity (speed and direction) of this AgentObject. This information comes directly from the sense message. <dl compact><dt><b>Parameters: </b><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>v</em>&nbsp;</td><td>new velocity for this agentobject </td></tr></table></dl><dl compact><dt><b>Returns: </b><dd>bool indicating whether value was set </dl><p>Definition at line <a class="el" href="Objects_8C-source.html#l00790">790</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>, and <a class="el" href="Objects_8h-source.html#l00284">velSpeedRelToNeck</a>.<p>Referenced by <a class="el" href="WorldModelUpdate_8C-source.html#l00102">WorldModel::processNewAgentInfo</a>().    </td>  </tr></table><a name="a10" doxytag="AgentObject::setStamina"></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 AgentObject::setStamina </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="classStamina.html">Stamina</a>&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp; <em>sta</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 stamina of this AgentObject. <dl compact><dt><b>Parameters: </b><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>sta</em>&nbsp;</td><td>new stamina for this AgentObject </td></tr></table></dl><dl compact><dt><b>Returns: </b><dd>bool indicating whether value was set </dl><p>Definition at line <a class="el" href="Objects_8C-source.html#l00771">771</a> of file <a class="el" href="Objects_8C-source.html">Objects.C</a>.<p>References <a class="el" href="Objects_8h-source.html#l00283">stamina</a>.<p>Referenced by <a class="el" href="WorldModelUpdate_8C-source.html#l00102">WorldModel::processNewAgentInfo</a>(), <a class="el" href="Objects_8C-source.html#l00835">Stamina::Stamina</a>(), and <a class="el" href="WorldModel_8C-source.html#l00059">WorldModel::WorldModel</a>().    </td>  </tr></table><a name="a6" doxytag="AgentObject::setViewAngle"></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 AgentObject::setViewAngle </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="SoccerTypes_8h.html#a244">ViewAngleT</a>&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp; <em>v</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 view angle of this AgentObject. <dl compact><dt><b>Parameters: </b><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>v</em>&nbsp;</td><td>new view angle (VA_NARROW, VA_NORMAL, VA_WIDE or VA_ILLEGAL) </td></tr></table></dl><dl compact><dt><b>Returns: </b><dd>bool indicating whether value was set </dl><p>Definition at line <a class="el" href="Objects_8C-source.html#l00738">738</a> of file <a class="el" href="Objects_8C-source.html">Objects.C</a>.<p>References <a class="el" href="Objects_8h-source.html#l00280">viewAngle</a>, and <a class="el" href="SoccerTypes_8h-source.html#l00280">ViewQualityT</a>.<p>Referenced by <a class="el" href="WorldModelUpdate_8C-source.html#l00102">WorldModel::processNewAgentInfo</a>().    </td>  </tr></table><a name="a8" doxytag="AgentObject::setViewQuality"></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 AgentObject::setViewQuality </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="SoccerTypes_8h.html#a245">ViewQualityT</a>&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp; <em>v</em>          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap></td>        </tr>      </table>

⌨️ 快捷键说明

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