classagentobject.html
来自「仿真人工智能是指用人工的方法和技术」· HTML 代码 · 共 874 行 · 第 1/3 页
HTML
874 行
</td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Set the view quality of this AgentObject. <dl compact><dt><b>Parameters: </b><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>v</em> </td><td>new view quality (VQ_LOW, VQ_HIGH, VQ_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#l00755">755</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>.<p>Referenced by <a class="el" href="WorldModelUpdate_8C-source.html#l00102">WorldModel::processNewAgentInfo</a>(). </td> </tr></table><a name="a2" doxytag="AgentObject::show"></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"> void AgentObject::show </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const char * </td> <td class="mdname" nowrap> <em>strTeamName</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>ostream & </td> <td class="mdname" nowrap> <em>os</em> = cout</td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>This methods prints the information about this AgentObject to the specified output stream. The specified team name is used as the name <dl compact><dt><b>Parameters: </b><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>strTeamName</em> </td><td>team name for this agent. </td></tr><tr><td valign=top><em>os</em> </td><td>output stream to which information is written. </td></tr></table></dl><p>Reimplemented from <a class="el" href="classPlayerObject.html#a2">PlayerObject</a>.<p>Definition at line <a class="el" href="Objects_8C-source.html#l00692">692</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>, <a class="el" href="Objects_8h-source.html#l00186">PlayerObject::angGlobalNeckAngle</a>, <a class="el" href="SoccerTypes_8C-source.html#l00859">SoccerTypes::getObjectStr</a>(), <a class="el" href="SoccerTypes_8h-source.html#l00070">MAX_TEAM_NAME_LENGTH</a>, <a class="el" href="Objects_8h-source.html#l00060">Object::objectType</a>, <a class="el" href="Objects_8h-source.html#l00063">Object::posGlobal</a>, <a class="el" href="Objects_8C-source.html#l00845">Stamina::show</a>(), <a class="el" href="Objects_8h-source.html#l00283">stamina</a>, <a class="el" href="Objects_8h-source.html#l00064">Object::timeGlobalPosition</a>, <a class="el" href="Objects_8h-source.html#l00145">DynamicObject::timeGlobalVelocity</a>, <a class="el" href="Objects_8h-source.html#l00144">DynamicObject::vecGlobalVelocity</a>, and <a class="el" href="SoccerTypes_8h-source.html#l00271">ViewAngleT</a>. </td> </tr></table><a name="a1" doxytag="AgentObject::show"></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"> void AgentObject::show </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">ostream & </td> <td class="mdname1" valign="top" nowrap> <em>os</em> = cout </td> <td class="md" valign="top">) </td> <td class="md" nowrap><code> [virtual]</code></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>This methods prints the information about this AgentObject to the specified output stream. The default team name is used as the name. <dl compact><dt><b>Parameters: </b><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>os</em> </td><td>output stream to which information is written. </td></tr></table></dl><p>Reimplemented from <a class="el" href="classPlayerObject.html#a1">PlayerObject</a>.<p>Definition at line <a class="el" href="Objects_8C-source.html#l00683">683</a> of file <a class="el" href="Objects_8C-source.html">Objects.C</a>.<p>References <a class="el" href="SoccerTypes_8h-source.html#l00073">DEFAULT_TEAM_NAME</a>.<p>Referenced by <a class="el" href="WorldModel_8C-source.html#l01150">WorldModel::show</a>(). </td> </tr></table><hr><h2>Member Data Documentation</h2><a name="o4" doxytag="AgentObject::angBodyAngleRelToNeck"></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"> <a class="el" href="Geometry_8h.html#a2">AngDeg</a> AgentObject::angBodyAngleRelToNeck<code> [private]</code> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Relative angle of body with neck <p>Definition at line <a class="el" href="Objects_8h-source.html#l00285">285</a> of file <a class="el" href="Objects_8h-source.html">Objects.h</a>.<p>Referenced by <a class="el" href="Objects_8C-source.html#l00666">AgentObject</a>(), <a class="el" href="Objects_8C-source.html#l00811">getBodyAngleRelToNeck</a>(), <a class="el" href="Objects_8C-source.html#l00819">setBodyAngleRelToNeck</a>(), and <a class="el" href="Objects_8C-source.html#l00692">show</a>(). </td> </tr></table><a name="o5" doxytag="AgentObject::posPositionDifference"></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"> <a class="el" href="classVecPosition.html">VecPosition</a> AgentObject::posPositionDifference<code> [private]</code> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Global pos difference with last see <p>Definition at line <a class="el" href="Objects_8h-source.html#l00287">287</a> of file <a class="el" href="Objects_8h-source.html">Objects.h</a>.<p>Referenced by <a class="el" href="Objects_8C-source.html#l00719">getPositionDifference</a>(), and <a class="el" href="Objects_8C-source.html#l00729">setPositionDifference</a>(). </td> </tr></table><a name="o2" doxytag="AgentObject::stamina"></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"> <a class="el" href="classStamina.html">Stamina</a> AgentObject::stamina<code> [private]</code> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p><a class="el" href="classStamina.html">Stamina</a> (stamina, effort, recovery <p>Definition at line <a class="el" href="Objects_8h-source.html#l00283">283</a> of file <a class="el" href="Objects_8h-source.html">Objects.h</a>.<p>Referenced by <a class="el" href="Objects_8C-source.html#l00666">AgentObject</a>(), <a class="el" href="Objects_8C-source.html#l00763">getStamina</a>(), <a class="el" href="Objects_8C-source.html#l00771">setStamina</a>(), and <a class="el" href="Objects_8C-source.html#l00692">show</a>(). </td> </tr></table><a name="o3" doxytag="AgentObject::velSpeedRelToNeck"></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"> <a class="el" href="classVecPosition.html">VecPosition</a> AgentObject::velSpeedRelToNeck<code> [private]</code> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Velocity vector relative to neck <p>Definition at line <a class="el" href="Objects_8h-source.html#l00284">284</a> of file <a class="el" href="Objects_8h-source.html">Objects.h</a>.<p>Referenced by <a class="el" href="Objects_8C-source.html#l00666">AgentObject</a>(), <a class="el" href="Objects_8C-source.html#l00781">getSpeedRelToNeck</a>(), and <a class="el" href="Objects_8C-source.html#l00790">setSpeedRelToNeck</a>(). </td> </tr></table><a name="o0" doxytag="AgentObject::viewAngle"></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"> <a class="el" href="SoccerTypes_8h.html#a244">ViewAngleT</a> AgentObject::viewAngle<code> [private]</code> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>View angle of this agent <p>Definition at line <a class="el" href="Objects_8h-source.html#l00280">280</a> of file <a class="el" href="Objects_8h-source.html">Objects.h</a>.<p>Referenced by <a class="el" href="Objects_8C-source.html#l00666">AgentObject</a>(), <a class="el" href="Objects_8C-source.html#l00709">getViewAngle</a>(), and <a class="el" href="Objects_8C-source.html#l00738">setViewAngle</a>(). </td> </tr></table><a name="o1" doxytag="AgentObject::viewQuality"></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"> <a class="el" href="SoccerTypes_8h.html#a245">ViewQualityT</a> AgentObject::viewQuality<code> [private]</code> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>View quality of this agent <p>Definition at line <a class="el" href="Objects_8h-source.html#l00281">281</a> of file <a class="el" href="Objects_8h-source.html">Objects.h</a>.<p>Referenced by <a class="el" href="Objects_8C-source.html#l00666">AgentObject</a>(), <a class="el" href="Objects_8C-source.html#l00747">getViewQuality</a>(), and <a class="el" href="Objects_8C-source.html#l00755">setViewQuality</a>(). </td> </tr></table><hr>The documentation for this class was generated from the following files:<ul><li><a class="el" href="Objects_8h-source.html">Objects.h</a><li><a class="el" href="Objects_8C-source.html">Objects.C</a></ul><hr><address><small>Generated on Thu Mar 7 00:37:52 2002 for UvA Trilearn 2001 by<a href="http://www.doxygen.org/index.html"><img src="doxygen.gif" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.2.12 written by <a href="mailto:dimitri@stack.nl">Dimitri van Heesch</a>, © 1997-2001</small></address></body></html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?