classballobject.html
来自「仿真人工智能是指用人工的方法和技术」· HTML 代码 · 共 117 行
HTML
117 行
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"><title>BallObject class Reference</title><link href="doxygen.css" rel="stylesheet" type="text/css"></head><body bgcolor="#ffffff"><!-- Generated by Doxygen 1.2.12 --><center><a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </center><hr><h1>BallObject Class Reference</h1><code>#include <<a class="el" href="Objects_8h-source.html">Objects.h</a>></code><p>Inheritance diagram for BallObject:<p><center><img src="classBallObject__inherit__graph.gif" border="0" usemap="#BallObject__inherit__map" alt="Inheritance graph"></center><map name="BallObject__inherit__map"><area href="classDynamicObject.html" shape="rect" coords="14,80,110,99" alt=""><area href="classObject.html" shape="rect" coords="38,13,86,32" alt=""></map><center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for BallObject:<p><center><img src="classBallObject__coll__graph.gif" border="0" usemap="#BallObject__coll__map" alt="Collaboration graph"></center><map name="BallObject__coll__map"><area href="classDynamicObject.html" shape="rect" coords="181,227,277,246" alt=""><area href="classObject.html" shape="rect" coords="205,151,253,170" alt=""><area href="classVecPosition.html" shape="rect" coords="30,14,107,33" alt=""><area href="classTime.html" shape="rect" coords="349,14,389,33" alt=""></map><center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classBallObject-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0><tr><td colspan=2><br><h2>Public Methods</h2></td></tr><tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classBallObject.html#a0">BallObject</a> ()</td></tr><tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classBallObject.html#a1">show</a> (ostream &os=cout)</td></tr></table><hr><a name="_details"></a><h2>Detailed Description</h2>Class <a class="el" href="classPlayerObject.html">PlayerObject</a> contains RoboCup information that is available for the ball. No extra variables are added to superclass <a class="el" href="classDynamicObject.html">DynamicObject</a> <p><p>Definition at line <a class="el" href="Objects_8h-source.html#l00233">233</a> of file <a class="el" href="Objects_8h-source.html">Objects.h</a>.<hr><h2>Constructor & Destructor Documentation</h2><a name="a0" doxytag="BallObject::BallObject"></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"> BallObject::BallObject </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>This is the constructor for a BallObject. It does nothing except initializing the class. <p>Definition at line <a class="el" href="Objects_8C-source.html#l00632">632</a> of file <a class="el" href="Objects_8C-source.html">Objects.C</a>. </td> </tr></table><hr><h2>Member Function Documentation</h2><a name="a1" doxytag="BallObject::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 BallObject::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 method prints information about the ball to the specified output stream <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="classObject.html#a1">Object</a>.<p>Definition at line <a class="el" href="Objects_8C-source.html#l00639">639</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>, <a class="el" href="Objects_8h-source.html#l00149">DynamicObject::dRelativeAngleChange</a>, <a class="el" href="Objects_8h-source.html#l00148">DynamicObject::dRelativeDistanceChange</a>, <a class="el" href="Geometry_8C-source.html#l00625">VecPosition::getDirection</a>(), <a class="el" href="Geometry_8C-source.html#l00614">VecPosition::getMagnitude</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_8h-source.html#l00065">Object::posRelative</a>, <a class="el" href="Objects_8h-source.html#l00068">Object::timeGlobalPosDerivedFromSee</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#l00061">Object::timeLastSeen</a>, <a class="el" href="Objects_8h-source.html#l00066">Object::timeRelativePosition</a>, and <a class="el" href="Objects_8h-source.html#l00144">DynamicObject::vecGlobalVelocity</a>.<p>Referenced by <a class="el" href="WorldModel_8C-source.html#l01150">WorldModel::show</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 + -
显示快捷键?