aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/others/irrlicht-1.8.1/doc/html/_i_scene_node_animator_collision_response_8h_source.html
diff options
context:
space:
mode:
Diffstat (limited to 'src/others/irrlicht-1.8.1/doc/html/_i_scene_node_animator_collision_response_8h_source.html')
-rw-r--r--src/others/irrlicht-1.8.1/doc/html/_i_scene_node_animator_collision_response_8h_source.html211
1 files changed, 211 insertions, 0 deletions
diff --git a/src/others/irrlicht-1.8.1/doc/html/_i_scene_node_animator_collision_response_8h_source.html b/src/others/irrlicht-1.8.1/doc/html/_i_scene_node_animator_collision_response_8h_source.html
new file mode 100644
index 0000000..cde3cac
--- /dev/null
+++ b/src/others/irrlicht-1.8.1/doc/html/_i_scene_node_animator_collision_response_8h_source.html
@@ -0,0 +1,211 @@
1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<html xmlns="http://www.w3.org/1999/xhtml">
3<head>
4<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5<title>Irrlicht 3D Engine: ISceneNodeAnimatorCollisionResponse.h Source File</title>
6
7<link href="tabs.css" rel="stylesheet" type="text/css"/>
8<link href="doxygen.css" rel="stylesheet" type="text/css" />
9<link href="navtree.css" rel="stylesheet" type="text/css"/>
10<script type="text/javascript" src="jquery.js"></script>
11<script type="text/javascript" src="resize.js"></script>
12<script type="text/javascript" src="navtree.js"></script>
13<script type="text/javascript">
14 $(document).ready(initResizable);
15</script>
16<link href="search/search.css" rel="stylesheet" type="text/css"/>
17<script type="text/javascript" src="search/search.js"></script>
18<script type="text/javascript">
19 $(document).ready(function() { searchBox.OnSelectItem(0); });
20</script>
21
22</head>
23<body>
24<div id="top"><!-- do not remove this div! -->
25
26
27<div id="titlearea">
28<table cellspacing="0" cellpadding="0">
29 <tbody>
30 <tr style="height: 56px;">
31
32 <td id="projectlogo"><img alt="Logo" src="irrlichtlogo.png"/></td>
33
34
35 <td style="padding-left: 0.5em;">
36 <div id="projectname">Irrlicht 3D Engine
37
38 </div>
39
40 </td>
41
42
43
44
45 <td> <div id="MSearchBox" class="MSearchBoxInactive">
46 <span class="left">
47 <img id="MSearchSelect" src="search/mag_sel.png"
48 onmouseover="return searchBox.OnSearchSelectShow()"
49 onmouseout="return searchBox.OnSearchSelectHide()"
50 alt=""/>
51 <input type="text" id="MSearchField" value="Search" accesskey="S"
52 onfocus="searchBox.OnSearchFieldFocus(true)"
53 onblur="searchBox.OnSearchFieldFocus(false)"
54 onkeyup="searchBox.OnSearchFieldChange(event)"/>
55 </span><span class="right">
56 <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
57 </span>
58 </div>
59</td>
60
61
62 </tr>
63 </tbody>
64</table>
65</div>
66
67<!-- Generated by Doxygen 1.7.5.1 -->
68<script type="text/javascript">
69var searchBox = new SearchBox("searchBox", "search",false,'Search');
70</script>
71<script type="text/javascript" src="dynsections.js"></script>
72</div>
73<div id="side-nav" class="ui-resizable side-nav-resizable">
74 <div id="nav-tree">
75 <div id="nav-tree-contents">
76 </div>
77 </div>
78 <div id="splitbar" style="-moz-user-select:none;"
79 class="ui-resizable-handle">
80 </div>
81</div>
82<script type="text/javascript">
83 initNavTree('_i_scene_node_animator_collision_response_8h.html','');
84</script>
85<div id="doc-content">
86<div class="header">
87 <div class="headertitle">
88<div class="title">ISceneNodeAnimatorCollisionResponse.h</div> </div>
89</div>
90<div class="contents">
91<a href="_i_scene_node_animator_collision_response_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">// Copyright (C) 2002-2012 Nikolaus Gebhardt</span>
92<a name="l00002"></a>00002 <span class="comment">// This file is part of the &quot;Irrlicht Engine&quot;.</span>
93<a name="l00003"></a>00003 <span class="comment">// For conditions of distribution and use, see copyright notice in irrlicht.h</span>
94<a name="l00004"></a>00004
95<a name="l00005"></a>00005 <span class="preprocessor">#ifndef __I_SCENE_NODE_ANIMATOR_COLLISION_RESPONSE_H_INCLUDED__</span>
96<a name="l00006"></a>00006 <span class="preprocessor"></span><span class="preprocessor">#define __I_SCENE_NODE_ANIMATOR_COLLISION_RESPONSE_H_INCLUDED__</span>
97<a name="l00007"></a>00007 <span class="preprocessor"></span>
98<a name="l00008"></a>00008 <span class="preprocessor">#include &quot;<a class="code" href="_i_scene_node_8h.html">ISceneNode.h</a>&quot;</span>
99<a name="l00009"></a>00009
100<a name="l00010"></a>00010 <span class="keyword">namespace </span>irr
101<a name="l00011"></a>00011 {
102<a name="l00012"></a>00012 <span class="keyword">namespace </span>scene
103<a name="l00013"></a>00013 {
104<a name="l00014"></a>00014
105<a name="l00015"></a>00015 <span class="keyword">class </span>ISceneNodeAnimatorCollisionResponse;
106<a name="l00016"></a>00016
107<a name="l00018"></a>00018
108<a name="l00022"></a><a class="code" href="classirr_1_1scene_1_1_i_collision_callback.html">00022</a> <span class="keyword">class </span><a class="code" href="classirr_1_1scene_1_1_i_collision_callback.html" title="Callback interface for catching events of collisions.">ICollisionCallback</a> : <span class="keyword">public</span> <span class="keyword">virtual</span> <a class="code" href="classirr_1_1_i_reference_counted.html" title="Base class of most objects of the Irrlicht Engine.">IReferenceCounted</a>
109<a name="l00023"></a>00023 {
110<a name="l00024"></a>00024 <span class="keyword">public</span>:
111<a name="l00025"></a>00025
112<a name="l00027"></a>00027
113<a name="l00036"></a>00036 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classirr_1_1scene_1_1_i_collision_callback.html#a35791df17defc6fd301dccef1cae596a" title="Will be called when a collision occurrs.">onCollision</a>(<span class="keyword">const</span> <a class="code" href="classirr_1_1scene_1_1_i_scene_node_animator_collision_response.html" title="Special scene node animator for doing automatic collision detection and response.">ISceneNodeAnimatorCollisionResponse</a>&amp; animator) = 0;
114<a name="l00037"></a>00037 };
115<a name="l00038"></a>00038
116<a name="l00040"></a>00040
117<a name="l00053"></a><a class="code" href="classirr_1_1scene_1_1_i_scene_node_animator_collision_response.html">00053</a> <span class="keyword">class </span><a class="code" href="classirr_1_1scene_1_1_i_scene_node_animator_collision_response.html" title="Special scene node animator for doing automatic collision detection and response.">ISceneNodeAnimatorCollisionResponse</a> : <span class="keyword">public</span> <a class="code" href="classirr_1_1scene_1_1_i_scene_node_animator.html" title="Animates a scene node. Can animate position, rotation, material, and so on.">ISceneNodeAnimator</a>
118<a name="l00054"></a>00054 {
119<a name="l00055"></a>00055 <span class="keyword">public</span>:
120<a name="l00056"></a>00056
121<a name="l00058"></a><a class="code" href="classirr_1_1scene_1_1_i_scene_node_animator_collision_response.html#ab6b85fb4f76e2d0c03cf2c6b326bddde">00058</a> <span class="keyword">virtual</span> <a class="code" href="classirr_1_1scene_1_1_i_scene_node_animator_collision_response.html#ab6b85fb4f76e2d0c03cf2c6b326bddde" title="Destructor.">~ISceneNodeAnimatorCollisionResponse</a>() {}
122<a name="l00059"></a>00059
123<a name="l00061"></a>00061
124<a name="l00066"></a>00066 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classirr_1_1scene_1_1_i_scene_node_animator_collision_response.html#a66f5534c1d2ac0e2ea52e7b21a3c91d7" title="Check if the attached scene node is falling.">isFalling</a>() <span class="keyword">const</span> = 0;
125<a name="l00067"></a>00067
126<a name="l00069"></a>00069
127<a name="l00077"></a>00077 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classirr_1_1scene_1_1_i_scene_node_animator_collision_response.html#a71af73590016ba936340a79467690d3f" title="Sets the radius of the ellipsoid for collision detection and response.">setEllipsoidRadius</a>(<span class="keyword">const</span> <a class="code" href="classirr_1_1core_1_1vector3d.html">core::vector3df</a>&amp; radius) = 0;
128<a name="l00078"></a>00078
129<a name="l00080"></a>00080
130<a name="l00081"></a>00081 <span class="keyword">virtual</span> <a class="code" href="classirr_1_1core_1_1vector3d.html">core::vector3df</a> <a class="code" href="classirr_1_1scene_1_1_i_scene_node_animator_collision_response.html#a92965919db3dfbaab2d1f4987a2c52c1" title="Returns the radius of the ellipsoid for collision detection and response.">getEllipsoidRadius</a>() <span class="keyword">const</span> = 0;
131<a name="l00082"></a>00082
132<a name="l00084"></a>00084
133<a name="l00089"></a>00089 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classirr_1_1scene_1_1_i_scene_node_animator_collision_response.html#af366695a82153c144b58c65cb4d092f3" title="Sets the gravity of the environment.">setGravity</a>(<span class="keyword">const</span> <a class="code" href="classirr_1_1core_1_1vector3d.html">core::vector3df</a>&amp; gravity) = 0;
134<a name="l00090"></a>00090
135<a name="l00093"></a>00093 <span class="keyword">virtual</span> <a class="code" href="classirr_1_1core_1_1vector3d.html">core::vector3df</a> <a class="code" href="classirr_1_1scene_1_1_i_scene_node_animator_collision_response.html#ab9fdc94d0c9b32f20bc0b61a14748b09">getGravity</a>() <span class="keyword">const</span> = 0;
136<a name="l00094"></a>00094
137<a name="l00096"></a>00096
138<a name="l00098"></a>00098 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classirr_1_1scene_1_1_i_scene_node_animator_collision_response.html#a409b98d04be89fb06cce3384e0188abf" title="&#39;Jump&#39; the animator, by adding a jump speed opposite to its gravity">jump</a>(<a class="code" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07" title="32 bit floating point variable.">f32</a> jumpSpeed) = 0;
139<a name="l00099"></a>00099
140<a name="l00101"></a>00101 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classirr_1_1scene_1_1_i_scene_node_animator_collision_response.html#a402cbe4934ad10f18762001458c939d9" title="Should the Target react on collision ( default = true )">setAnimateTarget</a> ( <span class="keywordtype">bool</span> enable ) = 0;
141<a name="l00102"></a>00102 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classirr_1_1scene_1_1_i_scene_node_animator_collision_response.html#ad08e1d7fa77326c299f42a325a7edefb">getAnimateTarget</a> () <span class="keyword">const</span> = 0;
142<a name="l00103"></a>00103
143<a name="l00105"></a>00105
144<a name="l00111"></a>00111 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classirr_1_1scene_1_1_i_scene_node_animator_collision_response.html#a234ec747d320d70dd3e2a4143782ffc7" title="Set translation of the collision ellipsoid.">setEllipsoidTranslation</a>(<span class="keyword">const</span> <a class="code" href="classirr_1_1core_1_1vector3d.html">core::vector3df</a> &amp;translation) = 0;
145<a name="l00112"></a>00112
146<a name="l00114"></a>00114
147<a name="l00119"></a>00119 <span class="keyword">virtual</span> <a class="code" href="classirr_1_1core_1_1vector3d.html">core::vector3df</a> <a class="code" href="classirr_1_1scene_1_1_i_scene_node_animator_collision_response.html#aff0a2ad6ff375a85e08a3226e3267286" title="Get the translation of the ellipsoid for collision detection.">getEllipsoidTranslation</a>() <span class="keyword">const</span> = 0;
148<a name="l00120"></a>00120
149<a name="l00122"></a>00122
150<a name="l00124"></a>00124 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classirr_1_1scene_1_1_i_scene_node_animator_collision_response.html#a42aa84d4843a734f8dd1f20b5c92ef06" title="Sets a triangle selector holding all triangles of the world with which the scene node may collide...">setWorld</a>(<a class="code" href="classirr_1_1scene_1_1_i_triangle_selector.html" title="Interface to return triangles with specific properties.">ITriangleSelector</a>* newWorld) = 0;
151<a name="l00125"></a>00125
152<a name="l00127"></a>00127 <span class="keyword">virtual</span> <a class="code" href="classirr_1_1scene_1_1_i_triangle_selector.html" title="Interface to return triangles with specific properties.">ITriangleSelector</a>* <a class="code" href="classirr_1_1scene_1_1_i_scene_node_animator_collision_response.html#a58e106171ca57a4877d7a6f0edd9762f" title="Get the current triangle selector containing all triangles for collision detection.">getWorld</a>() <span class="keyword">const</span> = 0;
153<a name="l00128"></a>00128
154<a name="l00130"></a>00130
155<a name="l00133"></a>00133 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classirr_1_1scene_1_1_i_scene_node_animator_collision_response.html#a5b291ba9249c451779f76ab2154aa3c2" title="Set the single node that this animator will act on.">setTargetNode</a>(<a class="code" href="classirr_1_1scene_1_1_i_scene_node.html" title="Scene node interface.">ISceneNode</a> * node) = 0;
156<a name="l00134"></a>00134
157<a name="l00136"></a>00136
158<a name="l00137"></a>00137 <span class="keyword">virtual</span> <a class="code" href="classirr_1_1scene_1_1_i_scene_node.html" title="Scene node interface.">ISceneNode</a>* <a class="code" href="classirr_1_1scene_1_1_i_scene_node_animator_collision_response.html#a11b1c54ec705f4ba8b0bb3facb0f09cb" title="Gets the single node that this animator is acting on.">getTargetNode</a>(<span class="keywordtype">void</span>) <span class="keyword">const</span> = 0;
159<a name="l00138"></a>00138
160<a name="l00140"></a>00140 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classirr_1_1scene_1_1_i_scene_node_animator_collision_response.html#a8bb04bc4d7de2203879a8392d024f466" title="Returns true if a collision occurred during the last animateNode()">collisionOccurred</a>() <span class="keyword">const</span> = 0;
161<a name="l00141"></a>00141
162<a name="l00143"></a>00143 <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="classirr_1_1core_1_1vector3d.html">core::vector3df</a> &amp; <a class="code" href="classirr_1_1scene_1_1_i_scene_node_animator_collision_response.html#acb39b68d18f721960ac73dc158968479" title="Returns the last point of collision.">getCollisionPoint</a>() <span class="keyword">const</span> = 0;
163<a name="l00144"></a>00144
164<a name="l00146"></a>00146 <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="classirr_1_1core_1_1triangle3d.html" title="3d triangle template class for doing collision detection and other things.">core::triangle3df</a> &amp; <a class="code" href="classirr_1_1scene_1_1_i_scene_node_animator_collision_response.html#abb9d0576446a64e9944ef15a04722591" title="Returns the last triangle that caused a collision.">getCollisionTriangle</a>() <span class="keyword">const</span> = 0;
165<a name="l00147"></a>00147
166<a name="l00149"></a>00149
167<a name="l00153"></a>00153 <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="classirr_1_1core_1_1vector3d.html">core::vector3df</a> &amp; <a class="code" href="classirr_1_1scene_1_1_i_scene_node_animator_collision_response.html#a788542083dda874c63e278891535a9f4" title="Returns the position that the target node will be moved to, unless the collision is consumed in a cal...">getCollisionResultPosition</a>(<span class="keywordtype">void</span>) <span class="keyword">const</span> = 0;
168<a name="l00154"></a>00154
169<a name="l00156"></a>00156 <span class="keyword">virtual</span> <a class="code" href="classirr_1_1scene_1_1_i_scene_node.html" title="Scene node interface.">ISceneNode</a>* <a class="code" href="classirr_1_1scene_1_1_i_scene_node_animator_collision_response.html#a5a975ddf3d776d6bb4c6d44c36cc74fd" title="Returns the node that was collided with.">getCollisionNode</a>(<span class="keywordtype">void</span>) <span class="keyword">const</span> = 0;
170<a name="l00157"></a>00157
171<a name="l00159"></a>00159
172<a name="l00162"></a>00162 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classirr_1_1scene_1_1_i_scene_node_animator_collision_response.html#a2b97f977b446200c5dd22230aec5d275" title="Sets a callback interface which will be called if a collision occurs.">setCollisionCallback</a>(<a class="code" href="classirr_1_1scene_1_1_i_collision_callback.html" title="Callback interface for catching events of collisions.">ICollisionCallback</a>* callback) = 0;
173<a name="l00163"></a>00163
174<a name="l00164"></a>00164 };
175<a name="l00165"></a>00165
176<a name="l00166"></a>00166
177<a name="l00167"></a>00167 } <span class="comment">// end namespace scene</span>
178<a name="l00168"></a>00168 } <span class="comment">// end namespace irr</span>
179<a name="l00169"></a>00169
180<a name="l00170"></a>00170 <span class="preprocessor">#endif</span>
181<a name="l00171"></a>00171 <span class="preprocessor"></span>
182</pre></div></div>
183</div>
184 <div id="nav-path" class="navpath">
185 <ul>
186 <li class="navelem"><a class="el" href="_i_scene_node_animator_collision_response_8h.html">ISceneNodeAnimatorCollisionResponse.h</a> </li>
187<!-- window showing the filter options -->
188<div id="MSearchSelectWindow"
189 onmouseover="return searchBox.OnSearchSelectShow()"
190 onmouseout="return searchBox.OnSearchSelectHide()"
191 onkeydown="return searchBox.OnSearchSelectKey(event)">
192<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Defines</a></div>
193
194<!-- iframe showing the search results (closed by default) -->
195<div id="MSearchResultsWindow">
196<iframe src="javascript:void(0)" frameborder="0"
197 name="MSearchResults" id="MSearchResults">
198</iframe>
199</div>
200
201
202 <li class="footer">
203<a href="http://irrlicht.sourceforge.net" target="_blank">Irrlicht
204Engine</a> Documentation &copy; 2003-2012 by Nikolaus Gebhardt. Generated on Sun Nov 17 2013 20:18:40 for Irrlicht 3D Engine by
205<a href="http://www.doxygen.org/index.html" target="_blank">Doxygen</a> 1.7.5.1 </li>
206 </ul>
207 </div>
208
209
210</body>
211</html>