/Code/Angel/Libraries/Box2D-2.1.2/Documentation/API/b2_contact_manager_8h_source.html
http://angel-engine.googlecode.com/ · HTML · 82 lines · 81 code · 0 blank · 1 comment · 0 complexity · 24c9e2c831e9b9a33c6fa42fb6761a41 MD5 · raw file
- <!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"/>
- <title>Box2D: Box2D/Box2D/Dynamics/b2ContactManager.h Source File</title>
- <link href="tabs.css" rel="stylesheet" type="text/css"/>
- <link href="doxygen.css" rel="stylesheet" type="text/css"/>
- </head>
- <body>
- <!-- Generated by Doxygen 1.6.3 -->
- <div class="navigation" id="top">
- <div class="tabs">
- <ul>
- <li><a href="index.html"><span>Main Page</span></a></li>
- <li><a href="annotated.html"><span>Classes</span></a></li>
- <li class="current"><a href="files.html"><span>Files</span></a></li>
- </ul>
- </div>
- <div class="tabs">
- <ul>
- <li><a href="files.html"><span>File List</span></a></li>
- <li><a href="globals.html"><span>File Members</span></a></li>
- </ul>
- </div>
- <h1>Box2D/Box2D/Dynamics/b2ContactManager.h</h1><a href="b2_contact_manager_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span>
- <a name="l00002"></a>00002 <span class="comment">* Copyright (c) 2006-2009 Erin Catto http://www.gphysics.com</span>
- <a name="l00003"></a>00003 <span class="comment">*</span>
- <a name="l00004"></a>00004 <span class="comment">* This software is provided 'as-is', without any express or implied</span>
- <a name="l00005"></a>00005 <span class="comment">* warranty. In no event will the authors be held liable for any damages</span>
- <a name="l00006"></a>00006 <span class="comment">* arising from the use of this software.</span>
- <a name="l00007"></a>00007 <span class="comment">* Permission is granted to anyone to use this software for any purpose,</span>
- <a name="l00008"></a>00008 <span class="comment">* including commercial applications, and to alter it and redistribute it</span>
- <a name="l00009"></a>00009 <span class="comment">* freely, subject to the following restrictions:</span>
- <a name="l00010"></a>00010 <span class="comment">* 1. The origin of this software must not be misrepresented; you must not</span>
- <a name="l00011"></a>00011 <span class="comment">* claim that you wrote the original software. If you use this software</span>
- <a name="l00012"></a>00012 <span class="comment">* in a product, an acknowledgment in the product documentation would be</span>
- <a name="l00013"></a>00013 <span class="comment">* appreciated but is not required.</span>
- <a name="l00014"></a>00014 <span class="comment">* 2. Altered source versions must be plainly marked as such, and must not be</span>
- <a name="l00015"></a>00015 <span class="comment">* misrepresented as being the original software.</span>
- <a name="l00016"></a>00016 <span class="comment">* 3. This notice may not be removed or altered from any source distribution.</span>
- <a name="l00017"></a>00017 <span class="comment">*/</span>
- <a name="l00018"></a>00018
- <a name="l00019"></a>00019 <span class="preprocessor">#ifndef B2_CONTACT_MANAGER_H</span>
- <a name="l00020"></a>00020 <span class="preprocessor"></span><span class="preprocessor">#define B2_CONTACT_MANAGER_H</span>
- <a name="l00021"></a>00021 <span class="preprocessor"></span>
- <a name="l00022"></a>00022 <span class="preprocessor">#include <<a class="code" href="b2_broad_phase_8h.html">Box2D/Collision/b2BroadPhase.h</a>></span>
- <a name="l00023"></a>00023
- <a name="l00024"></a>00024 <span class="keyword">class </span><a class="code" href="classb2_contact.html">b2Contact</a>;
- <a name="l00025"></a>00025 <span class="keyword">class </span><a class="code" href="classb2_contact_filter.html">b2ContactFilter</a>;
- <a name="l00026"></a>00026 <span class="keyword">class </span><a class="code" href="classb2_contact_listener.html">b2ContactListener</a>;
- <a name="l00027"></a>00027 <span class="keyword">class </span><a class="code" href="classb2_block_allocator.html">b2BlockAllocator</a>;
- <a name="l00028"></a>00028
- <a name="l00029"></a>00029 <span class="comment">// Delegate of b2World.</span>
- <a name="l00030"></a><a class="code" href="classb2_contact_manager.html">00030</a> <span class="keyword">class </span><a class="code" href="classb2_contact_manager.html">b2ContactManager</a>
- <a name="l00031"></a>00031 {
- <a name="l00032"></a>00032 <span class="keyword">public</span>:
- <a name="l00033"></a>00033 <a class="code" href="classb2_contact_manager.html#aec0a437c9d144fd976247a7acabb666d">b2ContactManager</a>();
- <a name="l00034"></a>00034
- <a name="l00035"></a>00035 <span class="comment">// Broad-phase callback.</span>
- <a name="l00036"></a>00036 <span class="keywordtype">void</span> <a class="code" href="classb2_contact_manager.html#ae67a458b64b02bea19955c19cb1fd6f4">AddPair</a>(<span class="keywordtype">void</span>* proxyUserDataA, <span class="keywordtype">void</span>* proxyUserDataB);
- <a name="l00037"></a>00037
- <a name="l00038"></a>00038 <span class="keywordtype">void</span> <a class="code" href="classb2_contact_manager.html#af72699f83d5a449251c9f93459e0cc40">FindNewContacts</a>();
- <a name="l00039"></a>00039
- <a name="l00040"></a>00040 <span class="keywordtype">void</span> <a class="code" href="classb2_contact_manager.html#a0c331884df23a930837933fc77c9a99b">Destroy</a>(<a class="code" href="classb2_contact.html">b2Contact</a>* c);
- <a name="l00041"></a>00041
- <a name="l00042"></a>00042 <span class="keywordtype">void</span> <a class="code" href="classb2_contact_manager.html#a3380f85adf40f542a7ad6f2e63a76ac6">Collide</a>();
- <a name="l00043"></a>00043
- <a name="l00044"></a><a class="code" href="classb2_contact_manager.html#af85a9c7b0fb138b9fb635dbcf3b0b482">00044</a> <a class="code" href="classb2_broad_phase.html">b2BroadPhase</a> <a class="code" href="classb2_contact_manager.html#af85a9c7b0fb138b9fb635dbcf3b0b482">m_broadPhase</a>;
- <a name="l00045"></a><a class="code" href="classb2_contact_manager.html#aaca5f490daffabd29f7ad809921224b3">00045</a> <a class="code" href="classb2_contact.html">b2Contact</a>* <a class="code" href="classb2_contact_manager.html#aaca5f490daffabd29f7ad809921224b3">m_contactList</a>;
- <a name="l00046"></a><a class="code" href="classb2_contact_manager.html#a115b2f9bf38ffd045b26ae91ea696288">00046</a> <a class="code" href="b2_settings_8h.html#a43d43196463bde49cb067f5c20ab8481">int32</a> <a class="code" href="classb2_contact_manager.html#a115b2f9bf38ffd045b26ae91ea696288">m_contactCount</a>;
- <a name="l00047"></a><a class="code" href="classb2_contact_manager.html#accf0e9232b9eeff002220ecb8d37a17f">00047</a> <a class="code" href="classb2_contact_filter.html">b2ContactFilter</a>* <a class="code" href="classb2_contact_manager.html#accf0e9232b9eeff002220ecb8d37a17f">m_contactFilter</a>;
- <a name="l00048"></a><a class="code" href="classb2_contact_manager.html#ac3565501f5ab42323050712b244bfe9a">00048</a> <a class="code" href="classb2_contact_listener.html">b2ContactListener</a>* <a class="code" href="classb2_contact_manager.html#ac3565501f5ab42323050712b244bfe9a">m_contactListener</a>;
- <a name="l00049"></a><a class="code" href="classb2_contact_manager.html#a20c57f602aa349239df715de5294821d">00049</a> <a class="code" href="classb2_block_allocator.html">b2BlockAllocator</a>* <a class="code" href="classb2_contact_manager.html#a20c57f602aa349239df715de5294821d">m_allocator</a>;
- <a name="l00050"></a>00050 };
- <a name="l00051"></a>00051
- <a name="l00052"></a>00052 <span class="preprocessor">#endif</span>
- </pre></div></div>
- <hr class="footer"/><address style="text-align: right;"><small>Generated on Sat Apr 3 18:18:08 2010 for Box2D by
- <a href="http://www.doxygen.org/index.html">
- <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address>
- </body>
- </html>