1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
|
<!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"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Starshatter_Open: Asteroid Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
$(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
<div id="projectname">Starshatter_Open
</div>
<div id="projectbrief">Open source Starshatter engine</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main Page</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li>
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</span>
</div>
</li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Class List</span></a></li>
<li><a href="classes.html"><span>Class Index</span></a></li>
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class Members</span></a></li>
</ul>
</div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('class_asteroid.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark"> </span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark"> </span>Macros</a></div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> |
<a href="#pub-static-methods">Static Public Member Functions</a> </div>
<div class="headertitle">
<div class="title">Asteroid Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p><code>#include <<a class="el" href="_asteroid_8h_source.html">Asteroid.h</a>></code></p>
<div class="dynheader">
Inheritance diagram for Asteroid:</div>
<div class="dyncontent">
<div class="center">
<img src="class_asteroid.png" usemap="#Asteroid_map" alt=""/>
<map id="Asteroid_map" name="Asteroid_map">
<area href="class_debris.html" alt="Debris" shape="rect" coords="0,112,69,136"/>
<area href="class_sim_object.html" alt="SimObject" shape="rect" coords="0,56,69,80"/>
<area href="class_physical.html" alt="Physical" shape="rect" coords="0,0,69,24"/>
</map>
</div></div>
<p><a href="class_asteroid-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ab2d74e99f6f542e20729741b37fb8693"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_asteroid.html#ab2d74e99f6f542e20729741b37fb8693">Asteroid</a> (int type, const <a class="el" href="struct_vec3.html">Vec3</a> &pos, double <a class="el" href="class_physical.html#a7c68f6e32d5725d6ae0099400f7c0b6e">mass</a>)</td></tr>
<tr class="inherit_header pub_methods_class_debris"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_debris')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="class_debris.html">Debris</a></td></tr>
<tr class="memitem:a40d5499761199516ae73b696f49d91cf inherit pub_methods_class_debris"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_debris.html#a40d5499761199516ae73b696f49d91cf">Debris</a> (<a class="el" href="class_model.html">Model</a> *model, const <a class="el" href="struct_vec3.html">Vec3</a> &pos, const <a class="el" href="struct_vec3.html">Vec3</a> &vel, double <a class="el" href="class_physical.html#a7c68f6e32d5725d6ae0099400f7c0b6e">mass</a>)</td></tr>
<tr class="memitem:aef4a60e81c248b9721bacef51d29565c inherit pub_methods_class_debris"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_debris.html#aef4a60e81c248b9721bacef51d29565c">SetLife</a> (int seconds)</td></tr>
<tr class="memitem:a895946cbf5b3a8af12e95bb5c42ecca8 inherit pub_methods_class_debris"><td class="memItemLeft" align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_debris.html#a895946cbf5b3a8af12e95bb5c42ecca8">HitBy</a> (<a class="el" href="class_shot.html">Shot</a> *shot, <a class="el" href="struct_point.html">Point</a> &impact)</td></tr>
<tr class="memitem:a509596fde89a901af58ffffd3c19dabd inherit pub_methods_class_debris"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_debris.html#a509596fde89a901af58ffffd3c19dabd">ExecFrame</a> (double seconds)</td></tr>
<tr class="memitem:a0ba3acd2078a883d2487dc9bb2f1e582 inherit pub_methods_class_debris"><td class="memItemLeft" align="right" valign="top">virtual double </td><td class="memItemRight" valign="bottom"><a class="el" href="class_debris.html#a0ba3acd2078a883d2487dc9bb2f1e582">AltitudeAGL</a> () const </td></tr>
<tr class="inherit_header pub_methods_class_sim_object"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_sim_object')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="class_sim_object.html">SimObject</a></td></tr>
<tr class="memitem:a6c69da7ea030be24368b4da558ae63c1 inherit pub_methods_class_sim_object"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_sim_object.html#a6c69da7ea030be24368b4da558ae63c1">SimObject</a> ()</td></tr>
<tr class="memitem:a8bdca8f73ae2749e305b6077aecd3c60 inherit pub_methods_class_sim_object"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_sim_object.html#a8bdca8f73ae2749e305b6077aecd3c60">SimObject</a> (const char *n, int t=0)</td></tr>
<tr class="memitem:a5ad9e70d2845434235780f39d95906f2 inherit pub_methods_class_sim_object"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="class_sim_object.html#a5ad9e70d2845434235780f39d95906f2">~SimObject</a> ()</td></tr>
<tr class="memitem:aa15b8215840833436f14f22919cf01f5 inherit pub_methods_class_sim_object"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="class_sim_region.html">SimRegion</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_sim_object.html#aa15b8215840833436f14f22919cf01f5">GetRegion</a> () const </td></tr>
<tr class="memitem:a8058f379a6013c9ed7eab1dbed404d38 inherit pub_methods_class_sim_object"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_sim_object.html#a8058f379a6013c9ed7eab1dbed404d38">SetRegion</a> (<a class="el" href="class_sim_region.html">SimRegion</a> *rgn)</td></tr>
<tr class="memitem:a0c85131bf7bd49549606d0b5aa6d5dd4 inherit pub_methods_class_sim_object"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_sim_object.html#a0c85131bf7bd49549606d0b5aa6d5dd4">Notify</a> ()</td></tr>
<tr class="memitem:a090a75a5b60d9ef25f9fe15443f33793 inherit pub_methods_class_sim_object"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_sim_object.html#a090a75a5b60d9ef25f9fe15443f33793">Register</a> (<a class="el" href="class_sim_observer.html">SimObserver</a> *obs)</td></tr>
<tr class="memitem:a1ea6bea057e5c482e5a2fd04338d9f80 inherit pub_methods_class_sim_object"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_sim_object.html#a1ea6bea057e5c482e5a2fd04338d9f80">Unregister</a> (<a class="el" href="class_sim_observer.html">SimObserver</a> *obs)</td></tr>
<tr class="memitem:a4e9cf8e13cdb901e6e6f09a8b4951c5a inherit pub_methods_class_sim_object"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_sim_object.html#a4e9cf8e13cdb901e6e6f09a8b4951c5a">Activate</a> (<a class="el" href="class_scene.html">Scene</a> &scene)</td></tr>
<tr class="memitem:a1a44d563a6151756b1514fba646c5360 inherit pub_methods_class_sim_object"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_sim_object.html#a1a44d563a6151756b1514fba646c5360">Deactivate</a> (<a class="el" href="class_scene.html">Scene</a> &scene)</td></tr>
<tr class="memitem:adb8e82281f413545f6330530488fac03 inherit pub_methods_class_sim_object"><td class="memItemLeft" align="right" valign="top">virtual DWORD </td><td class="memItemRight" valign="bottom"><a class="el" href="class_sim_object.html#adb8e82281f413545f6330530488fac03">GetObjID</a> () const </td></tr>
<tr class="memitem:a50f7f2a23635713d123d6811b38fc848 inherit pub_methods_class_sim_object"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_sim_object.html#a50f7f2a23635713d123d6811b38fc848">SetObjID</a> (DWORD <a class="el" href="class_physical.html#ada97e68f8c9359d9c934f0e45918c774">id</a>)</td></tr>
<tr class="memitem:abd5607a8db831defd3e1ea309a1cf233 inherit pub_methods_class_sim_object"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_sim_object.html#abd5607a8db831defd3e1ea309a1cf233">IsHostileTo</a> (const <a class="el" href="class_sim_object.html">SimObject</a> *o) const </td></tr>
<tr class="inherit_header pub_methods_class_physical"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_physical')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="class_physical.html">Physical</a></td></tr>
<tr class="memitem:ac11a1bca87389886d9d8291fef41ad8c inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#ac11a1bca87389886d9d8291fef41ad8c">Physical</a> ()</td></tr>
<tr class="memitem:aad0f1cffb043f81488f6f24e9f8ef3fd inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#aad0f1cffb043f81488f6f24e9f8ef3fd">Physical</a> (const char *n, int t=0)</td></tr>
<tr class="memitem:a91cc6325d27fe86bddeab281c0ff068f inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#a91cc6325d27fe86bddeab281c0ff068f">~Physical</a> ()</td></tr>
<tr class="memitem:a05e7ed3478a661bc38517f328256f988 inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#a05e7ed3478a661bc38517f328256f988">operator==</a> (const <a class="el" href="class_physical.html">Physical</a> &p) const </td></tr>
<tr class="memitem:a8e2aba22eb7fae7db322ba0b21b05758 inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#a8e2aba22eb7fae7db322ba0b21b05758">AeroFrame</a> (double seconds)</td></tr>
<tr class="memitem:a88fac6ecccf78d96ccb164d1e9797f58 inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#a88fac6ecccf78d96ccb164d1e9797f58">ArcadeFrame</a> (double seconds)</td></tr>
<tr class="memitem:a06d9391d5c0b3b32783a3b1f60f59e17 inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#a06d9391d5c0b3b32783a3b1f60f59e17">AngularFrame</a> (double seconds)</td></tr>
<tr class="memitem:abf3689db9ce20a6cb3901ce8d5d10762 inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#abf3689db9ce20a6cb3901ce8d5d10762">LinearFrame</a> (double seconds)</td></tr>
<tr class="memitem:abe8b831faa85d7022f641209213e18d7 inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#abe8b831faa85d7022f641209213e18d7">CalcFlightPath</a> ()</td></tr>
<tr class="memitem:aaab110c0381fdc000018c6a65b9ef657 inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#aaab110c0381fdc000018c6a65b9ef657">MoveTo</a> (const <a class="el" href="struct_point.html">Point</a> &new_loc)</td></tr>
<tr class="memitem:a441070b74fe991914da5bc4d3b25124c inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#a441070b74fe991914da5bc4d3b25124c">TranslateBy</a> (const <a class="el" href="struct_point.html">Point</a> &ref)</td></tr>
<tr class="memitem:a2d36b9780cfaa079f7402a4d5c491c91 inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#a2d36b9780cfaa079f7402a4d5c491c91">ApplyForce</a> (const <a class="el" href="struct_point.html">Point</a> &force)</td></tr>
<tr class="memitem:a021f0362ffa486a3b46bd727e83a5839 inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#a021f0362ffa486a3b46bd727e83a5839">ApplyTorque</a> (const <a class="el" href="struct_point.html">Point</a> &torque)</td></tr>
<tr class="memitem:acb6369b0de01a11ae7c4135b777d7a24 inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#acb6369b0de01a11ae7c4135b777d7a24">SetThrust</a> (double t)</td></tr>
<tr class="memitem:af340eb740dfcd3a58abba041255f438b inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#af340eb740dfcd3a58abba041255f438b">SetTransX</a> (double t)</td></tr>
<tr class="memitem:a0d5a6d2cfc223e6ea9661599e331aaa8 inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#a0d5a6d2cfc223e6ea9661599e331aaa8">SetTransY</a> (double t)</td></tr>
<tr class="memitem:a10bef5ec31ba56a8965778a0edaddd64 inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#a10bef5ec31ba56a8965778a0edaddd64">SetTransZ</a> (double t)</td></tr>
<tr class="memitem:af7174818ed105cf84fb3ed46f68a824c inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#af7174818ed105cf84fb3ed46f68a824c">SetHeading</a> (double r, double p, double y)</td></tr>
<tr class="memitem:a7a21ad2f57ef7634de4cfc8403e82f1d inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#a7a21ad2f57ef7634de4cfc8403e82f1d">LookAt</a> (const <a class="el" href="struct_point.html">Point</a> &dst)</td></tr>
<tr class="memitem:adc0005c9ad6bea9c1beb03912ba1a079 inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#adc0005c9ad6bea9c1beb03912ba1a079">ApplyRoll</a> (double roll_acc)</td></tr>
<tr class="memitem:a5137b08d6a56f79c00cc7f8b5d66a146 inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#a5137b08d6a56f79c00cc7f8b5d66a146">ApplyPitch</a> (double pitch_acc)</td></tr>
<tr class="memitem:a4b5a83f5bd906e0c09ff326f5c0168a2 inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#a4b5a83f5bd906e0c09ff326f5c0168a2">ApplyYaw</a> (double yaw_acc)</td></tr>
<tr class="memitem:a07ea38d0c62738583a283dc805ab7948 inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#a07ea38d0c62738583a283dc805ab7948">CollidesWith</a> (<a class="el" href="class_physical.html">Physical</a> &o)</td></tr>
<tr class="memitem:a90321d772170e0ff0745667aad65cf65 inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#a90321d772170e0ff0745667aad65cf65">InflictDamage</a> (double damage, int type=0)</td></tr>
<tr class="memitem:a46304a3da17a2d7704e8cca3b09a798a inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#a46304a3da17a2d7704e8cca3b09a798a">Identity</a> () const </td></tr>
<tr class="memitem:a2ce9ae48d2e4f4fb434bdc4083746068 inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#a2ce9ae48d2e4f4fb434bdc4083746068">Type</a> () const </td></tr>
<tr class="memitem:a805a89f8e93e2e66452b5cb6ab0c5f6b inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#a805a89f8e93e2e66452b5cb6ab0c5f6b">Name</a> () const </td></tr>
<tr class="memitem:a18d7b806f29edde8af178ae9a6d0ad90 inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_point.html">Point</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#a18d7b806f29edde8af178ae9a6d0ad90">Location</a> () const </td></tr>
<tr class="memitem:a2fba0c03cbd4afade7da4fc1e5bb0c0b inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_point.html">Point</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#a2fba0c03cbd4afade7da4fc1e5bb0c0b">Heading</a> () const </td></tr>
<tr class="memitem:aefe4361f213e12c50c1bd40a70daa5a2 inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_point.html">Point</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#aefe4361f213e12c50c1bd40a70daa5a2">LiftLine</a> () const </td></tr>
<tr class="memitem:acfeeb57de6a94b1e3d68a7f24e8a9cff inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_point.html">Point</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#acfeeb57de6a94b1e3d68a7f24e8a9cff">BeamLine</a> () const </td></tr>
<tr class="memitem:a60c5e5f05f780f8accae363e9748131c inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_point.html">Point</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#a60c5e5f05f780f8accae363e9748131c">Velocity</a> () const </td></tr>
<tr class="memitem:a9f82b440b9156266414c98ff15688545 inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_point.html">Point</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#a9f82b440b9156266414c98ff15688545">Acceleration</a> () const </td></tr>
<tr class="memitem:ae2f2fa70cb366f708fe10065186e3ad0 inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#ae2f2fa70cb366f708fe10065186e3ad0">Thrust</a> () const </td></tr>
<tr class="memitem:a4c2142777216044b02549418b13a6280 inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#a4c2142777216044b02549418b13a6280">TransX</a> () const </td></tr>
<tr class="memitem:a006733966b21b0c69c6c2af69d60979d inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#a006733966b21b0c69c6c2af69d60979d">TransY</a> () const </td></tr>
<tr class="memitem:aad0dad42db34cd3e615533af4a85285f inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#aad0dad42db34cd3e615533af4a85285f">TransZ</a> () const </td></tr>
<tr class="memitem:a322750d3a90eeb77c3cac7e6ba2700a0 inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#a322750d3a90eeb77c3cac7e6ba2700a0">Drag</a> () const </td></tr>
<tr class="memitem:af82790fdb4dd82da5248f764416fc9f6 inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#af82790fdb4dd82da5248f764416fc9f6">Roll</a> () const </td></tr>
<tr class="memitem:adedbc5524c3cac44ba2047a6e2bf2bd3 inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#adedbc5524c3cac44ba2047a6e2bf2bd3">Pitch</a> () const </td></tr>
<tr class="memitem:a52e9b61fdca0610b1ad843221a1bd8d1 inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#a52e9b61fdca0610b1ad843221a1bd8d1">Yaw</a> () const </td></tr>
<tr class="memitem:ada01c690d060ad1dca5c7473db1a5faa inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_point.html">Point</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#ada01c690d060ad1dca5c7473db1a5faa">Rotation</a> () const </td></tr>
<tr class="memitem:a241e57056e2ae1c6e4d8dad01c037e70 inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#a241e57056e2ae1c6e4d8dad01c037e70">Alpha</a> () const </td></tr>
<tr class="memitem:a84bdec78881ec165e6092a93a1b93820 inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#a84bdec78881ec165e6092a93a1b93820">FlightPathYawAngle</a> () const </td></tr>
<tr class="memitem:acc20166630ba1960a7569292a6f3c84e inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#acc20166630ba1960a7569292a6f3c84e">FlightPathPitchAngle</a> () const </td></tr>
<tr class="memitem:a31367f0054fd23eeb6458c42bb663fc7 inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#a31367f0054fd23eeb6458c42bb663fc7">Radius</a> () const </td></tr>
<tr class="memitem:ad352c259640eecc358bf7d7e07552bbe inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#ad352c259640eecc358bf7d7e07552bbe">Mass</a> () const </td></tr>
<tr class="memitem:ad665e179e85f6d2f19536cf54b7f03a5 inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#ad665e179e85f6d2f19536cf54b7f03a5">Integrity</a> () const </td></tr>
<tr class="memitem:aec2a93daff24c5b87933914cbcb100fe inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#aec2a93daff24c5b87933914cbcb100fe">Life</a> () const </td></tr>
<tr class="memitem:a8300d2af00872a70a579d0a787755eb2 inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#a8300d2af00872a70a579d0a787755eb2">Shake</a> () const </td></tr>
<tr class="memitem:a807db494059310172bf5d9d5af046ff8 inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="struct_point.html">Point</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#a807db494059310172bf5d9d5af046ff8">Vibration</a> () const </td></tr>
<tr class="memitem:ac6be8bd79bd6622fd67d2d71f8e125af inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="class_camera.html">Camera</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#ac6be8bd79bd6622fd67d2d71f8e125af">Cam</a> () const </td></tr>
<tr class="memitem:a6d29a1d011f1ab48bcea980ded24ce4d inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_graphic.html">Graphic</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#a6d29a1d011f1ab48bcea980ded24ce4d">Rep</a> () const </td></tr>
<tr class="memitem:a7ad335cf65139df6d8b6c1446394ce89 inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_light.html">Light</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#a7ad335cf65139df6d8b6c1446394ce89">LightSrc</a> () const </td></tr>
<tr class="memitem:afb266107493cf3b901d794903d6f1077 inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_director.html">Director</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#afb266107493cf3b901d794903d6f1077">GetDirector</a> () const </td></tr>
<tr class="memitem:a6fe4f81f6b9d31efe9fb2da0f9441842 inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#a6fe4f81f6b9d31efe9fb2da0f9441842">SetAngularRates</a> (double r, double p, double y)</td></tr>
<tr class="memitem:a09066864123e7aef872e6e4dc12bdb3e inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#a09066864123e7aef872e6e4dc12bdb3e">GetAngularRates</a> (double &r, double &p, double &y)</td></tr>
<tr class="memitem:ac280a1b30eb3ce6974ed2e8846ed0436 inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#ac280a1b30eb3ce6974ed2e8846ed0436">SetAngularDrag</a> (double r, double p, double y)</td></tr>
<tr class="memitem:a3d2cd41c96af67bfe07094b54c9b2591 inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#a3d2cd41c96af67bfe07094b54c9b2591">GetAngularDrag</a> (double &r, double &p, double &y)</td></tr>
<tr class="memitem:aebfee03c9e62ec742802649673a0aa20 inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#aebfee03c9e62ec742802649673a0aa20">GetAngularThrust</a> (double &r, double &p, double &y)</td></tr>
<tr class="memitem:a4b41633cf4646992e3ab9b8f5ec6a533 inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#a4b41633cf4646992e3ab9b8f5ec6a533">SetVelocity</a> (const <a class="el" href="struct_point.html">Point</a> &v)</td></tr>
<tr class="memitem:a2cc71395813b8b47968c48ec92ce6698 inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#a2cc71395813b8b47968c48ec92ce6698">SetAbsoluteOrientation</a> (double <a class="el" href="class_physical.html#a1342854ae569c6e053a106df8e97a522">roll</a>, double <a class="el" href="class_physical.html#a760b0be05697d5fbe9a652b8d9fe48d0">pitch</a>, double <a class="el" href="class_physical.html#a9622775c81f1934ee5b3370008aceb15">yaw</a>)</td></tr>
<tr class="memitem:abbe74c30cd25ae97fd2482dbdc7b6437 inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#abbe74c30cd25ae97fd2482dbdc7b6437">CloneCam</a> (const <a class="el" href="class_camera.html">Camera</a> &<a class="el" href="class_physical.html#ae6b6004183efe4ba25cace4fc3f2fd4d">cam</a>)</td></tr>
<tr class="memitem:a38c066fefef072c683edd9939a9ac2e9 inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#a38c066fefef072c683edd9939a9ac2e9">SetDrag</a> (double d)</td></tr>
<tr class="memitem:a2e44e8b8d36e7664301923699854e1d3 inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#a2e44e8b8d36e7664301923699854e1d3">SetPrimary</a> (const <a class="el" href="struct_point.html">Point</a> &loc, double <a class="el" href="class_physical.html#a7c68f6e32d5725d6ae0099400f7c0b6e">mass</a>)</td></tr>
<tr class="memitem:a27342f7cf678159a9c56a1c9c4e8d918 inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#a27342f7cf678159a9c56a1c9c4e8d918">SetGravity</a> (double g)</td></tr>
<tr class="memitem:a21d9cb466d59d3854164f0124290d5e2 inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#a21d9cb466d59d3854164f0124290d5e2">SetBaseDensity</a> (double d)</td></tr>
<tr class="memitem:a7cb3fe422731fe3cc790ecc5aa91a74d inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">virtual double </td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#a7cb3fe422731fe3cc790ecc5aa91a74d">GetBaseDensity</a> () const </td></tr>
<tr class="memitem:ab2128e0932c88467240448f972e23239 inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">virtual double </td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#ab2128e0932c88467240448f972e23239">GetDensity</a> () const </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a4daaaf536b7498c3444e968578499ad5"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_asteroid.html#a4daaaf536b7498c3444e968578499ad5">Initialize</a> ()</td></tr>
<tr class="memitem:a113885d63a74fbe47fde4dd272addd3f"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_asteroid.html#a113885d63a74fbe47fde4dd272addd3f">Close</a> ()</td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock">
<p>Definition at line <a class="el" href="_asteroid_8h_source.html#l00025">25</a> of file <a class="el" href="_asteroid_8h_source.html">Asteroid.h</a>.</p>
</div><hr/><h2>Constructor & Destructor Documentation</h2>
<a class="anchor" id="ab2d74e99f6f542e20729741b37fb8693"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Asteroid::Asteroid </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>type</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="struct_vec3.html">Vec3</a> & </td>
<td class="paramname"><em>pos</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double </td>
<td class="paramname"><em>mass</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="_asteroid_8cpp_source.html#l00033">33</a> of file <a class="el" href="_asteroid_8cpp_source.html">Asteroid.cpp</a>.</p>
</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a113885d63a74fbe47fde4dd272addd3f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void Asteroid::Close </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="_asteroid_8cpp_source.html#l00105">105</a> of file <a class="el" href="_asteroid_8cpp_source.html">Asteroid.cpp</a>.</p>
</div>
</div>
<a class="anchor" id="a4daaaf536b7498c3444e968578499ad5"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void Asteroid::Initialize </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="_asteroid_8cpp_source.html#l00042">42</a> of file <a class="el" href="_asteroid_8cpp_source.html">Asteroid.cpp</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>D:/SRC/StarshatterSVN/Stars45/<a class="el" href="_asteroid_8h_source.html">Asteroid.h</a></li>
<li>D:/SRC/StarshatterSVN/Stars45/<a class="el" href="_asteroid_8cpp_source.html">Asteroid.cpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="class_asteroid.html">Asteroid</a></li>
<li class="footer">Generated on Thu May 31 2012 16:31:44 for Starshatter_Open by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.1 </li>
</ul>
</div>
</body>
</html>
|