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
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
|
<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
<HEAD>
<TITLE>nevrax.org : docs</TITLE>
<LINK REL=stylesheet TYPE="text/css" HREF="http://www.nevrax.org/inc/css/nevrax.css">
<link href="doxygen.css" rel="stylesheet" type="text/css">
</HEAD>
<BODY MARGINHEIGHT="0" MARGINWIDTH="0">
<!-- uplinks -->
<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0>
<TR>
<TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD>
<TD WIDTH=140 BGCOLOR=#dddddd><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="16" BORDER=0 ALT=""></TD>
<TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD>
<TD><IMG width=6 height=14 SRC="http://www.nevrax.org/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle> <A CLASS=uplinks HREF=http://www.nevrax.org><b>Home</B></FONT></A> </TD>
<TD><IMG width=6 height=14 SRC="http://www.nevrax.org/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle> <A CLASS=uplinks HREF=http://www.nevrax.com><b>nevrax.com</B></FONT></A> </TD>
</TR>
</TABLE>
<!-- banner Nevrax -->
<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 WIDTH=100%>
<TR><TD BGCOLOR="#000000" BACKGROUND="http://www.nevrax.org/inc/img/black_banner.jpg"><A HREF="http://www.nevrax.org"><IMG SRC="http://www.nevrax.org/inc/img/nevrax.gif" WIDTH="170" HEIGHT="45" BORDER=0 ALT="Nevrax" ></A></TD></TR>
</TABLE>
<!-- main table -->
<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 height=100%>
<TR>
<TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="10" BORDER=0 ALT=""></TD>
<TD WIDTH=140 BGCOLOR=#dddddd VALIGN=TOP ALIGN=middle><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="10" BORDER=0 ALT="">
<!------ Begin Box ------>
<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 BGCOLOR=black><TR><TD><TABLE border=0 cellspacing=2 cellpadding=0 width=120><tr><TD ALIGN=middle bgcolor=black>
<FONT COLOR=white FACE="sans-serif"><B>Nevrax.org</B></FONT></TD></TR><tr><td colspan=2 bgcolor=#FFFFFF>
<TABLE cellspacing=0 cellpadding=1 border=0>
<tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/news/" TITLE="Rubrique news"><img width=13 height=15 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-news.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/news/" TITLE="News">News</a></td></tr>
<tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/mail/" TITLE="Rubrique mail"><img width=15 height=11 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-mail.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/mail/" TITLE="Mailing list archive">Mailing-list</a></td></tr>
<tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/docs/" TITLE="Rubrique docs"><img width=14 height=16 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-docs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/docs/" TITLE="Documentation">Documentation</a></td></tr>
<tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/cvs/" TITLE="Rubrique cvs"><img width=13 height=17 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-cvs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/cvs/" TITLE="CVS Web">CVS</a></td></tr>
<tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/bugs/" TITLE="Rubrique bugs"><img width=20 height=16 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-bugs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/bugs/" TITLE="Bugtracking">Bugs</a></td></tr>
<tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/GPL.php3" TITLE="Rubrique license"><img width=18 height=12 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-gpl.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/GPL.php3" TITLE="License">License</a></td></tr>
</TABLE>
</TD></TR></TABLE></TD></TR></TABLE>
<!------ End Box ------>
</TD>
<TD WIDTH=15><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD>
<TD ALIGN=left valign=top><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="10" BORDER=0 ALT="">
<!-- title -->
<TABLE background="http://www.nevrax.org/inc/img/redline.gif" CELLSPACING=0 CELLPADDING=0 BORDER=0 width=100%><tr><td>
<A HREF="http://www.nevrax.org/docs/"><img src="http://www.nevrax.org/inc/img/t_docs.gif" ALT="Docs" HEIGHT=20 BORDER=0></A>
</td><td><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="1" HEIGHT="1" BORDER=0 ALT="">
</td></tr></table>
<!-- block -->
<TABLE bgcolor="#dddddd" CELLSPACING=0 CELLPADDING=0 BORDER=0 width=100%><tr><td width=1% valign=middle><img width=6 height=14 hspace=2 vspace=2 src="http://www.nevrax.org/inc/img/reddots.gif"></TD>
<TD><B>Documentation</B></TD>
<TD ALIGN=RIGHT> </td>
</tr></table>
<!-- Generated by Doxygen 1.2.14 -->
<center>
<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="namespacemembers.html">Namespace Members</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> <a class="qindex" href="pages.html">Related Pages</a> <a class="qindexRef" doxygen="_cgi:http://www.nevrax.org/cgi-bin/nel-search.cgi" href="http://www.nevrax.org/cgi-bin/nel-search.cgi">Search</a> </center>
<hr><h1>local_retriever.h</h1><a href="local__retriever_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001
00007 <font class="comment">/* Copyright, 2001 Nevrax Ltd.</font>
00008 <font class="comment"> *</font>
00009 <font class="comment"> * This file is part of NEVRAX NEL.</font>
00010 <font class="comment"> * NEVRAX NEL is free software; you can redistribute it and/or modify</font>
00011 <font class="comment"> * it under the terms of the GNU General Public License as published by</font>
00012 <font class="comment"> * the Free Software Foundation; either version 2, or (at your option)</font>
00013 <font class="comment"> * any later version.</font>
00014 <font class="comment"></font>
00015 <font class="comment"> * NEVRAX NEL is distributed in the hope that it will be useful, but</font>
00016 <font class="comment"> * WITHOUT ANY WARRANTY; without even the implied warranty of</font>
00017 <font class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU</font>
00018 <font class="comment"> * General Public License for more details.</font>
00019 <font class="comment"></font>
00020 <font class="comment"> * You should have received a copy of the GNU General Public License</font>
00021 <font class="comment"> * along with NEVRAX NEL; see the file COPYING. If not, write to the</font>
00022 <font class="comment"> * Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,</font>
00023 <font class="comment"> * MA 02111-1307, USA.</font>
00024 <font class="comment"> */</font>
00025
00026 <font class="preprocessor">#ifndef NL_LOCAL_RETRIEVER_H</font>
00027 <font class="preprocessor"></font><font class="preprocessor">#define NL_LOCAL_RETRIEVER_H</font>
00028 <font class="preprocessor"></font>
00029 <font class="preprocessor">#include <vector></font>
00030 <font class="preprocessor">#include <string></font>
00031 <font class="preprocessor">#include <list></font>
00032
00033 <font class="preprocessor">#include "<a class="code" href="types__nl_8h.html">nel/misc/types_nl.h</a>"</font>
00034 <font class="preprocessor">#include "<a class="code" href="vector_8h.html">nel/misc/vector.h</a>"</font>
00035 <font class="preprocessor">#include "<a class="code" href="file_8h.html">nel/misc/file.h</a>"</font>
00036
00037 <font class="preprocessor">#include "<a class="code" href="aabbox_8h.html">nel/misc/aabbox.h</a>"</font>
00038 <font class="preprocessor">#include "<a class="code" href="polygon_8h.html">nel/misc/polygon.h</a>"</font>
00039
00040 <font class="preprocessor">#include "<a class="code" href="vector__2s_8h.html">pacs/vector_2s.h</a>"</font>
00041 <font class="preprocessor">#include "<a class="code" href="surface__quad_8h.html">pacs/surface_quad.h</a>"</font>
00042 <font class="preprocessor">#include "<a class="code" href="chain_8h.html">pacs/chain.h</a>"</font>
00043 <font class="preprocessor">#include "<a class="code" href="retrievable__surface_8h.html">pacs/retrievable_surface.h</a>"</font>
00044 <font class="preprocessor">#include "<a class="code" href="chain__quad_8h.html">pacs/chain_quad.h</a>"</font>
00045 <font class="preprocessor">#include "<a class="code" href="exterior__mesh_8h.html">pacs/exterior_mesh.h</a>"</font>
00046 <font class="preprocessor">#include "<a class="code" href="face__grid_8h.html">pacs/face_grid.h</a>"</font>
00047
00048 <font class="preprocessor">#include "<a class="code" href="u__global__position_8h.html">nel/pacs/u_global_position.h</a>"</font>
00049
00050
00051
00052 <font class="keyword">namespace </font>NLPACS
00053 {
00054
00055 <font class="keyword">class </font>CCollisionSurfaceTemp;
00056
<a name="l00063"></a><a class="code" href="classNLPACS_1_1CLocalRetriever.html">00063</a> <font class="keyword">class </font>CLocalRetriever
00064 {
00065 <font class="keyword">public</font>:
<a name="l00072"></a><a class="code" href="classNLPACS_1_1CLocalRetriever_1_1CTip.html">00072</a> <font class="keyword">class </font>CTip
00073 {
00074 <font class="keyword">public</font>:
<a name="l00081"></a><a class="code" href="structNLPACS_1_1CLocalRetriever_1_1CTip_1_1CChainTip.html">00081</a> <font class="keyword">struct </font>CChainTip
00082 {
<a name="l00084"></a><a class="code" href="structNLPACS_1_1CLocalRetriever_1_1CTip_1_1CChainTip.html#m0">00084</a> sint32 <a class="code" href="structNLPACS_1_1CLocalRetriever_1_1CTip_1_1CChainTip.html#m0">Chain</a>;
00085
<a name="l00087"></a><a class="code" href="structNLPACS_1_1CLocalRetriever_1_1CTip_1_1CChainTip.html#m1">00087</a> <font class="keywordtype">bool</font> <a class="code" href="structNLPACS_1_1CLocalRetriever_1_1CTip_1_1CChainTip.html#m1">Start</a>;
00088
<a name="l00090"></a><a class="code" href="structNLPACS_1_1CLocalRetriever_1_1CTip_1_1CChainTip.html#a0">00090</a> <a class="code" href="structNLPACS_1_1CLocalRetriever_1_1CTip_1_1CChainTip.html#a0">CChainTip</a>(sint32 chainId = 0, <font class="keywordtype">bool</font> start = 0) : <a class="code" href="structNLPACS_1_1CLocalRetriever_1_1CTip_1_1CChainTip.html#m0">Chain</a>(chainId), <a class="code" href="structNLPACS_1_1CLocalRetriever_1_1CTip_1_1CChainTip.html#m1">Start</a>(start) {}
00091
<a name="l00093"></a><a class="code" href="structNLPACS_1_1CLocalRetriever_1_1CTip_1_1CChainTip.html#a1">00093</a> <font class="keywordtype">void</font> <a class="code" href="structNLPACS_1_1CLocalRetriever_1_1CTip_1_1CChainTip.html#a1">serial</a>(<a class="code" href="classNLMISC_1_1IStream.html">NLMISC::IStream</a> &f) { f.<a class="code" href="classNLMISC_1_1IStream.html#a5">serial</a>(<a class="code" href="structNLPACS_1_1CLocalRetriever_1_1CTip_1_1CChainTip.html#m0">Chain</a>, <a class="code" href="structNLPACS_1_1CLocalRetriever_1_1CTip_1_1CChainTip.html#m1">Start</a>); }
00094 };
00095
<a name="l00096"></a><a class="code" href="classNLPACS_1_1CLocalRetriever_1_1CTip.html#a0">00096</a> <a class="code" href="classNLPACS_1_1CLocalRetriever_1_1CTip.html#a0">CTip</a>() : <a class="code" href="classNLPACS_1_1CLocalRetriever_1_1CTip.html#m0">Point</a>(NLMISC::CVector::Null) {}
00097
<a name="l00099"></a><a class="code" href="classNLPACS_1_1CLocalRetriever_1_1CTip.html#m0">00099</a> <a class="code" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> <a class="code" href="classNLPACS_1_1CLocalRetriever_1_1CTip.html#m0">Point</a>;
00100
00101 <font class="comment">// The chains linked to that tip.</font>
<a name="l00102"></a><a class="code" href="classNLPACS_1_1CLocalRetriever_1_1CTip.html#m1">00102</a> std::vector<CChainTip> <a class="code" href="classNLPACS_1_1CLocalRetriever_1_1CTip.html#m1">Chains</a>;
00103
00104 <font class="keyword">public</font>:
<a name="l00106"></a><a class="code" href="classNLPACS_1_1CLocalRetriever_1_1CTip.html#a1">00106</a> <font class="keywordtype">void</font> <a class="code" href="classNLPACS_1_1CLocalRetriever_1_1CTip.html#a1">serial</a>(<a class="code" href="classNLMISC_1_1IStream.html">NLMISC::IStream</a> &f)
00107 {
00108 f.<a class="code" href="classNLMISC_1_1IStream.html#a5">serial</a>(Point);
00109 f.<a class="code" href="classNLMISC_1_1IStream.html#a7">serialCont</a>(<a class="code" href="classNLPACS_1_1CLocalRetriever_1_1CTip.html#m1">Chains</a>);
00110 }
00111
<a name="l00113"></a><a class="code" href="classNLPACS_1_1CLocalRetriever_1_1CTip.html#a2">00113</a> <font class="keywordtype">void</font> <a class="code" href="classNLPACS_1_1CLocalRetriever_1_1CTip.html#a2">translate</a>(<font class="keyword">const</font> <a class="code" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> &translation)
00114 {
00115 Point += translation;
00116 }
00117 };
00118
00119
<a name="l00126"></a><a class="code" href="classNLPACS_1_1CLocalRetriever_1_1CTopology.html">00126</a> <font class="keyword">class </font>CTopology : <font class="keyword">public</font> std::vector<sint32>
00127 {
00128 <font class="keyword">public</font>:
<a name="l00129"></a><a class="code" href="classNLPACS_1_1CLocalRetriever_1_1CTopology.html#a0">00129</a> <font class="keywordtype">void</font> <a class="code" href="classNLPACS_1_1CLocalRetriever_1_1CTopology.html#a0">serial</a>(<a class="code" href="classNLMISC_1_1IStream.html">NLMISC::IStream</a> &f) { f.<a class="code" href="classNLMISC_1_1IStream.html#a7">serialCont</a>(*<font class="keyword">this</font>); }
00130 };
00131
00132
<a name="l00140"></a><a class="code" href="classNLPACS_1_1CLocalRetriever_1_1CLocalPosition.html">00140</a> <font class="keyword">class </font>CLocalPosition : <font class="keyword">public</font> ULocalPosition
00141 {
00142 <font class="keyword">public</font>:
<a name="l00144"></a><a class="code" href="classNLPACS_1_1CLocalRetriever_1_1CLocalPosition.html#a0">00144</a> <a class="code" href="classNLPACS_1_1CLocalRetriever_1_1CLocalPosition.html#a0">CLocalPosition</a>(sint32 surface=-1, <font class="keyword">const</font> <a class="code" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> &estimation=<a class="code" href="classNLMISC_1_1CVector.html#p0">NLMISC::CVector::Null</a>)
00145 {
00146 <a class="code" href="classNLPACS_1_1ULocalPosition.html#m0">Surface</a>=surface;
00147 <a class="code" href="classNLPACS_1_1ULocalPosition.html#m1">Estimation</a>=estimation;
00148 }
00149
00151 <font class="comment">//void serial(NLMISC::IStream &f) { f.serial(Surface, Estimation); }</font>
00152 };
00153
<a name="l00160"></a><a class="code" href="classNLPACS_1_1CLocalRetriever.html#s2">00160</a> <font class="keyword">enum</font> <a class="code" href="classNLPACS_1_1CLocalRetriever.html#s2">EType</a>
00161 {
00162 <a class="code" href="classNLPACS_1_1CLocalRetriever.html#s2s0">Landscape</a> = 0,
00163 <a class="code" href="classNLPACS_1_1CLocalRetriever.html#s2s1">Interior</a>
00164 };
00165
00166
<a name="l00173"></a><a class="code" href="classNLPACS_1_1CLocalRetriever_1_1CInteriorFace.html">00173</a> <font class="keyword">class </font>CInteriorFace
00174 {
00175 <font class="keyword">public</font>:
<a name="l00176"></a><a class="code" href="classNLPACS_1_1CLocalRetriever_1_1CInteriorFace.html#m0">00176</a> uint32 <a class="code" href="classNLPACS_1_1CLocalRetriever_1_1CInteriorFace.html#m0">Verts</a>[3];
<a name="l00177"></a><a class="code" href="classNLPACS_1_1CLocalRetriever_1_1CInteriorFace.html#m1">00177</a> uint32 <a class="code" href="classNLPACS_1_1CLocalRetriever_1_1CInteriorFace.html#m1">Surface</a>;
00178 <font class="keyword">public</font>:
<a name="l00179"></a><a class="code" href="classNLPACS_1_1CLocalRetriever_1_1CInteriorFace.html#a0">00179</a> <font class="keywordtype">void</font> <a class="code" href="classNLPACS_1_1CLocalRetriever_1_1CInteriorFace.html#a0">serial</a>(<a class="code" href="classNLMISC_1_1IStream.html">NLMISC::IStream</a> &f) { f.<a class="code" href="classNLMISC_1_1IStream.html#a5">serial</a>(<a class="code" href="classNLPACS_1_1CLocalRetriever_1_1CInteriorFace.html#m0">Verts</a>[0], <a class="code" href="classNLPACS_1_1CLocalRetriever_1_1CInteriorFace.html#m0">Verts</a>[1], <a class="code" href="classNLPACS_1_1CLocalRetriever_1_1CInteriorFace.html#m0">Verts</a>[2], <a class="code" href="classNLPACS_1_1CLocalRetriever_1_1CInteriorFace.html#m1">Surface</a>); }
00180 };
00181
00182
00183 <font class="keyword">protected</font>:
<a name="l00184"></a><a class="code" href="classNLPACS_1_1CLocalRetriever.html#l0">00184</a> <font class="keyword">friend</font> <font class="keyword">class </font><a class="code" href="classNLPACS_1_1CLocalRetriever.html#l0">CRetrieverInstance</a>;
00185
<a name="l00187"></a><a class="code" href="classNLPACS_1_1CLocalRetriever.html#n0">00187</a> std::vector<COrderedChain> <a class="code" href="classNLPACS_1_1CLocalRetriever.html#n0">_OrderedChains</a>;
<a name="l00188"></a><a class="code" href="classNLPACS_1_1CLocalRetriever.html#n1">00188</a> std::vector<COrderedChain3f> <a class="code" href="classNLPACS_1_1CLocalRetriever.html#n1">_FullOrderedChains</a>;
00189
<a name="l00191"></a><a class="code" href="classNLPACS_1_1CLocalRetriever.html#n2">00191</a> std::vector<CChain> <a class="code" href="classNLPACS_1_1CLocalRetriever.html#n2">_Chains</a>;
00192
<a name="l00194"></a><a class="code" href="classNLPACS_1_1CLocalRetriever.html#n3">00194</a> std::vector<CRetrievableSurface> <a class="code" href="classNLPACS_1_1CLocalRetriever.html#n3">_Surfaces</a>;
00195
<a name="l00197"></a><a class="code" href="classNLPACS_1_1CLocalRetriever.html#n4">00197</a> <a class="code" href="classNLMISC_1_1CAABBox.html">NLMISC::CAABBox</a> <a class="code" href="classNLPACS_1_1CLocalRetriever.html#n4">_BBox</a>;
00198
<a name="l00200"></a><a class="code" href="classNLPACS_1_1CLocalRetriever.html#n5">00200</a> std::vector<CTip> <a class="code" href="classNLPACS_1_1CLocalRetriever.html#n5">_Tips</a>;
00201
<a name="l00203"></a><a class="code" href="classNLPACS_1_1CLocalRetriever.html#n6">00203</a> std::vector<uint16> <a class="code" href="classNLPACS_1_1CLocalRetriever.html#n6">_BorderChains</a>;
00204
<a name="l00206"></a><a class="code" href="classNLPACS_1_1CLocalRetriever.html#n7">00206</a> std::vector<CTopology> <a class="code" href="classNLPACS_1_1CLocalRetriever.html#n7">_Topologies</a>[<a class="code" href="namespaceNLPACS.html#a30a8">NumCreatureModels</a>];
00207
00209 <font class="keyword">static</font> <font class="keyword">const</font> <font class="keywordtype">float</font> <a class="code" href="classNLPACS_1_1CLocalRetriever.html#q0">_TipThreshold</a>;
00210
00212 <font class="keyword">static</font> <font class="keyword">const</font> <font class="keywordtype">float</font> <a class="code" href="classNLPACS_1_1CLocalRetriever.html#q1">_EdgeTipThreshold</a>;
00213
<a name="l00215"></a><a class="code" href="classNLPACS_1_1CLocalRetriever.html#n8">00215</a> CChainQuad <a class="code" href="classNLPACS_1_1CLocalRetriever.html#n8">_ChainQuad</a>;
00216
<a name="l00218"></a><a class="code" href="classNLPACS_1_1CLocalRetriever.html#n9">00218</a> <a class="code" href="classNLPACS_1_1CLocalRetriever.html#s2">EType</a> <a class="code" href="classNLPACS_1_1CLocalRetriever.html#n9">_Type</a>;
00219
00221 <font class="comment">// @{</font>
<a name="l00223"></a><a class="code" href="classNLPACS_1_1CLocalRetriever.html#z942_0">00223</a> <font class="comment"> CExteriorMesh _ExteriorMesh;</font>
00224
<a name="l00226"></a><a class="code" href="classNLPACS_1_1CLocalRetriever.html#z942_1">00226</a> std::vector<NLMISC::CVector> <a class="code" href="classNLPACS_1_1CLocalRetriever.html#z942_1">_InteriorVertices</a>;
00227
<a name="l00229"></a><a class="code" href="classNLPACS_1_1CLocalRetriever.html#z942_2">00229</a> std::vector<CInteriorFace> <a class="code" href="classNLPACS_1_1CLocalRetriever.html#z942_2">_InteriorFaces</a>;
00230
<a name="l00232"></a><a class="code" href="classNLPACS_1_1CLocalRetriever.html#z942_3">00232</a> CFaceGrid <a class="code" href="classNLPACS_1_1CLocalRetriever.html#z942_3">_FaceGrid</a>;
00233
<a name="l00235"></a><a class="code" href="classNLPACS_1_1CLocalRetriever.html#z942_4">00235</a> std::string <a class="code" href="classNLPACS_1_1CLocalRetriever.html#z942_4">_Id</a>;
00236
00237 <font class="comment">// @}</font>
00238
00239
00240
00241 <font class="keyword">private</font>:
<a name="l00243"></a><a class="code" href="structNLPACS_1_1CLocalRetriever_1_1CIntersectionMarker.html">00243</a> <font class="keyword">struct </font>CIntersectionMarker
00244 {
<a name="l00245"></a><a class="code" href="structNLPACS_1_1CLocalRetriever_1_1CIntersectionMarker.html#m0">00245</a> <font class="keywordtype">float</font> <a class="code" href="structNLPACS_1_1CLocalRetriever_1_1CIntersectionMarker.html#m0">Position</a>;
<a name="l00246"></a><a class="code" href="structNLPACS_1_1CLocalRetriever_1_1CIntersectionMarker.html#m1">00246</a> uint16 <a class="code" href="structNLPACS_1_1CLocalRetriever_1_1CIntersectionMarker.html#m1">OChain</a>;
<a name="l00247"></a><a class="code" href="structNLPACS_1_1CLocalRetriever_1_1CIntersectionMarker.html#m2">00247</a> uint16 <a class="code" href="structNLPACS_1_1CLocalRetriever_1_1CIntersectionMarker.html#m2">Edge</a>;
<a name="l00248"></a><a class="code" href="structNLPACS_1_1CLocalRetriever_1_1CIntersectionMarker.html#m3">00248</a> <font class="keywordtype">bool</font> <a class="code" href="structNLPACS_1_1CLocalRetriever_1_1CIntersectionMarker.html#m3">In</a>;
00249
<a name="l00250"></a><a class="code" href="structNLPACS_1_1CLocalRetriever_1_1CIntersectionMarker.html#a0">00250</a> <a class="code" href="structNLPACS_1_1CLocalRetriever_1_1CIntersectionMarker.html#a0">CIntersectionMarker</a>() {}
<a name="l00251"></a><a class="code" href="structNLPACS_1_1CLocalRetriever_1_1CIntersectionMarker.html#a1">00251</a> <a class="code" href="structNLPACS_1_1CLocalRetriever_1_1CIntersectionMarker.html#a0">CIntersectionMarker</a>(<font class="keywordtype">float</font> position, uint16 ochain, uint16 edge, <font class="keywordtype">bool</font> <a class="code" href="driver__opengl__extension__def_8h.html#a404">in</a>) : <a class="code" href="structNLPACS_1_1CLocalRetriever_1_1CIntersectionMarker.html#m0">Position</a>(position), <a class="code" href="structNLPACS_1_1CLocalRetriever_1_1CIntersectionMarker.html#m1">OChain</a>(ochain), <a class="code" href="structNLPACS_1_1CLocalRetriever_1_1CIntersectionMarker.html#m2">Edge</a>(edge), <a class="code" href="structNLPACS_1_1CLocalRetriever_1_1CIntersectionMarker.html#m3">In</a>(<a class="code" href="driver__opengl__extension__def_8h.html#a404">in</a>) {}
00252
<a name="l00253"></a><a class="code" href="structNLPACS_1_1CLocalRetriever_1_1CIntersectionMarker.html#a2">00253</a> <font class="keywordtype">bool</font> <a class="code" href="structNLPACS_1_1CLocalRetriever_1_1CIntersectionMarker.html#a2">operator< </a>(<font class="keyword">const</font> <a class="code" href="structNLPACS_1_1CLocalRetriever_1_1CIntersectionMarker.html#a0">CIntersectionMarker</a> &comp)<font class="keyword"> const </font>{ <font class="keywordflow">return</font> <a class="code" href="structNLPACS_1_1CLocalRetriever_1_1CIntersectionMarker.html#m0">Position</a> < comp.Position; }
00254 };
00255
00256 <font class="keyword">public</font>:
00258 <font class="comment">// @{</font>
00259
00260 <a class="code" href="classNLPACS_1_1CLocalRetriever.html#z943_0">CLocalRetriever</a>();
00261
00262 <font class="comment">// @}</font>
00263
00265 <font class="comment">// @{</font>
00266
<a name="l00268"></a><a class="code" href="classNLPACS_1_1CLocalRetriever.html#z944_0">00268</a> <font class="keyword">const</font> std::vector<CTip> &<a class="code" href="classNLPACS_1_1CLocalRetriever.html#z944_0">getTips</a>()<font class="keyword"> const </font>{ <font class="keywordflow">return</font> <a class="code" href="classNLPACS_1_1CLocalRetriever.html#n5">_Tips</a>; }
<a name="l00270"></a><a class="code" href="classNLPACS_1_1CLocalRetriever.html#z944_1">00270</a> <font class="keyword">const</font> CTip &<a class="code" href="classNLPACS_1_1CLocalRetriever.html#z944_1">getTip</a>(uint n)<font class="keyword"> const </font>{ <font class="keywordflow">return</font> <a class="code" href="classNLPACS_1_1CLocalRetriever.html#n5">_Tips</a>[n]; }
00271
<a name="l00273"></a><a class="code" href="classNLPACS_1_1CLocalRetriever.html#z944_2">00273</a> <font class="keyword">const</font> std::vector<COrderedChain> &<a class="code" href="classNLPACS_1_1CLocalRetriever.html#z944_2">getOrderedChains</a>()<font class="keyword"> const </font>{ <font class="keywordflow">return</font> <a class="code" href="classNLPACS_1_1CLocalRetriever.html#n0">_OrderedChains</a>; }
<a name="l00275"></a><a class="code" href="classNLPACS_1_1CLocalRetriever.html#z944_3">00275</a> <font class="keyword">const</font> COrderedChain &<a class="code" href="classNLPACS_1_1CLocalRetriever.html#z944_3">getOrderedChain</a>(uint n)<font class="keyword"> const </font>{ <font class="keywordflow">return</font> <a class="code" href="classNLPACS_1_1CLocalRetriever.html#n0">_OrderedChains</a>[n]; }
00276
<a name="l00278"></a><a class="code" href="classNLPACS_1_1CLocalRetriever.html#z944_4">00278</a> <font class="keyword">const</font> std::vector<COrderedChain3f> &<a class="code" href="classNLPACS_1_1CLocalRetriever.html#z944_4">getFullOrderedChains</a>()<font class="keyword"> const </font>{ <font class="keywordflow">return</font> <a class="code" href="classNLPACS_1_1CLocalRetriever.html#n1">_FullOrderedChains</a>; }
<a name="l00280"></a><a class="code" href="classNLPACS_1_1CLocalRetriever.html#z944_5">00280</a> <font class="keyword">const</font> COrderedChain3f &<a class="code" href="classNLPACS_1_1CLocalRetriever.html#z944_5">getFullOrderedChain</a>(uint n)<font class="keyword"> const </font>{ <font class="keywordflow">return</font> <a class="code" href="classNLPACS_1_1CLocalRetriever.html#n1">_FullOrderedChains</a>[n]; }
00281
<a name="l00283"></a><a class="code" href="classNLPACS_1_1CLocalRetriever.html#z944_6">00283</a> <font class="keyword">const</font> std::vector<CChain> &<a class="code" href="classNLPACS_1_1CLocalRetriever.html#z944_6">getChains</a>()<font class="keyword"> const </font>{ <font class="keywordflow">return</font> <a class="code" href="classNLPACS_1_1CLocalRetriever.html#n2">_Chains</a>; }
<a name="l00285"></a><a class="code" href="classNLPACS_1_1CLocalRetriever.html#z944_7">00285</a> <font class="keyword">const</font> CChain &<a class="code" href="classNLPACS_1_1CLocalRetriever.html#z944_7">getChain</a>(uint n)<font class="keyword"> const </font>{ <font class="keywordflow">return</font> <a class="code" href="classNLPACS_1_1CLocalRetriever.html#n2">_Chains</a>[n]; }
00286
<a name="l00288"></a><a class="code" href="classNLPACS_1_1CLocalRetriever.html#z944_8">00288</a> <font class="keyword">const</font> std::vector<uint16> &<a class="code" href="classNLPACS_1_1CLocalRetriever.html#z944_8">getBorderChains</a>()<font class="keyword"> const </font>{ <font class="keywordflow">return</font> <a class="code" href="classNLPACS_1_1CLocalRetriever.html#n6">_BorderChains</a>; }
<a name="l00290"></a><a class="code" href="classNLPACS_1_1CLocalRetriever.html#z944_9">00290</a> uint16 <a class="code" href="classNLPACS_1_1CLocalRetriever.html#z944_9">getBorderChain</a>(uint n)<font class="keyword"> const </font>{ <font class="keywordflow">return</font> <a class="code" href="classNLPACS_1_1CLocalRetriever.html#n6">_BorderChains</a>[n]; }
00291
<a name="l00293"></a><a class="code" href="classNLPACS_1_1CLocalRetriever.html#z944_10">00293</a> <font class="keyword">const</font> std::vector<CRetrievableSurface> &<a class="code" href="classNLPACS_1_1CLocalRetriever.html#z944_10">getSurfaces</a>()<font class="keyword"> const </font>{ <font class="keywordflow">return</font> <a class="code" href="classNLPACS_1_1CLocalRetriever.html#n3">_Surfaces</a>; }
<a name="l00295"></a><a class="code" href="classNLPACS_1_1CLocalRetriever.html#z944_11">00295</a> <font class="keyword">const</font> CRetrievableSurface &<a class="code" href="classNLPACS_1_1CLocalRetriever.html#z944_11">getSurface</a>(uint n)<font class="keyword"> const </font>{ <font class="keywordflow">return</font> <a class="code" href="classNLPACS_1_1CLocalRetriever.html#n3">_Surfaces</a>[n]; }
00296
<a name="l00298"></a><a class="code" href="classNLPACS_1_1CLocalRetriever.html#z944_12">00298</a> <a class="code" href="classNLPACS_1_1CLocalRetriever.html#s2">EType</a> <a class="code" href="classNLPACS_1_1CLocalRetriever.html#z944_12">getType</a>()<font class="keyword"> const </font>{ <font class="keywordflow">return</font> <a class="code" href="classNLPACS_1_1CLocalRetriever.html#n9">_Type</a>; }
00299
<a name="l00301"></a><a class="code" href="classNLPACS_1_1CLocalRetriever.html#z944_13">00301</a> <font class="keyword">const</font> <a class="code" href="classNLMISC_1_1CAABBox.html">NLMISC::CAABBox</a> &<a class="code" href="classNLPACS_1_1CLocalRetriever.html#z944_13">getBBox</a>()<font class="keyword"> const </font>{ <font class="keywordflow">return</font> _BBox; }
00302
<a name="l00304"></a><a class="code" href="classNLPACS_1_1CLocalRetriever.html#z944_14">00304</a> <font class="keyword">const</font> CExteriorMesh &<a class="code" href="classNLPACS_1_1CLocalRetriever.html#z944_14">getExteriorMesh</a>()<font class="keyword"> const </font>{ <font class="keywordflow">return</font> <a class="code" href="classNLPACS_1_1CLocalRetriever.html#z942_0">_ExteriorMesh</a>; }
00305
<a name="l00307"></a><a class="code" href="classNLPACS_1_1CLocalRetriever.html#z944_15">00307</a> <font class="keyword">const</font> std::vector<NLMISC::CVector> &<a class="code" href="classNLPACS_1_1CLocalRetriever.html#z944_15">getInteriorVertices</a>()<font class="keyword"> const </font>{ <font class="keywordflow">return</font> <a class="code" href="classNLPACS_1_1CLocalRetriever.html#z942_1">_InteriorVertices</a>; }
00308
<a name="l00310"></a><a class="code" href="classNLPACS_1_1CLocalRetriever.html#z944_16">00310</a> <font class="keyword">const</font> std::vector<CInteriorFace> &<a class="code" href="classNLPACS_1_1CLocalRetriever.html#z944_16">getInteriorFaces</a>()<font class="keyword"> const </font>{ <font class="keywordflow">return</font> <a class="code" href="classNLPACS_1_1CLocalRetriever.html#z942_2">_InteriorFaces</a>; }
00311
<a name="l00313"></a><a class="code" href="classNLPACS_1_1CLocalRetriever.html#z944_17">00313</a> <font class="keyword">const</font> std::string &<a class="code" href="classNLPACS_1_1CLocalRetriever.html#z944_17">getIdentifier</a>()<font class="keyword"> const </font>{ <font class="keywordflow">return</font> <a class="code" href="classNLPACS_1_1CLocalRetriever.html#z942_4">_Id</a>; }
00314
00316 <font class="keywordtype">void</font> <a class="code" href="classNLPACS_1_1CLocalRetriever.html#z944_18">buildInteriorSurfaceBBoxes</a>(std::vector<NLMISC::CAABBox> &surfaceBBoxes) <font class="keyword">const</font>;
00317
00319 <font class="keywordtype">void</font> <a class="code" href="classNLPACS_1_1CLocalRetriever.html#z944_19">buildSurfacePolygons</a>(uint32 surface, <a class="code" href="classstd_1_1list.html">std::list<NLMISC::CPolygon></a> &polygons) <font class="keyword">const</font>;
00320
<a name="l00322"></a><a class="code" href="classNLPACS_1_1CLocalRetriever.html#z944_20">00322</a> <font class="keywordtype">void</font> <a class="code" href="classNLPACS_1_1CLocalRetriever.html#z944_19">buildSurfacePolygons</a>(<a class="code" href="classstd_1_1list.html">std::list</a>< <a class="code" href="classstd_1_1list.html">std::list<NLMISC::CPolygon></a> > &polygons)<font class="keyword"> const</font>
00323 <font class="keyword"> </font>{
00324 uint i;
00325 <font class="keywordflow">for</font> (i=0; i<<a class="code" href="classNLPACS_1_1CLocalRetriever.html#n3">_Surfaces</a>.size(); ++i)
00326 {
00327 polygons.push_back();
00328 <a class="code" href="classNLPACS_1_1CLocalRetriever.html#z944_19">buildSurfacePolygons</a>(i, polygons.back());
00329 }
00330 }
00331
00332 <font class="comment">// @}</font>
00333
00334
00336
00337
00339 sint32 <a class="code" href="classNLPACS_1_1CLocalRetriever.html#z945_0">addSurface</a>(uint8 normalq, uint8 orientationq,
00340 uint8 mat, uint8 charact, uint8 <a class="code" href="driver__opengl__extension__def_8h.html#a387">level</a>,
00341 <font class="keywordtype">bool</font> isUnderWater, <font class="keywordtype">float</font> waterHeight,
00342 <font class="keyword">const</font> <a class="code" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> &center,
00343 <font class="keyword">const</font> CSurfaceQuadTree &quad);
00344
00349 sint32 <a class="code" href="classNLPACS_1_1CLocalRetriever.html#z945_1">addChain</a>(<font class="keyword">const</font> std::vector<NLMISC::CVector> &vertices,
00350 sint32 left, sint32 right);
00351
<a name="l00353"></a><a class="code" href="classNLPACS_1_1CLocalRetriever.html#z945_2">00353</a> <font class="keywordtype">void</font> <a class="code" href="classNLPACS_1_1CLocalRetriever.html#z945_2">setType</a>(<a class="code" href="classNLPACS_1_1CLocalRetriever.html#s2">EType</a> <a class="code" href="driver__opengl__extension__def_8h.html#a373">type</a>) { <a class="code" href="classNLPACS_1_1CLocalRetriever.html#n9">_Type</a> = <a class="code" href="driver__opengl__extension__def_8h.html#a373">type</a>; }
00354
<a name="l00356"></a><a class="code" href="classNLPACS_1_1CLocalRetriever.html#z945_3">00356</a> <font class="keywordtype">void</font> <a class="code" href="classNLPACS_1_1CLocalRetriever.html#z945_3">setExteriorMesh</a>(<font class="keyword">const</font> CExteriorMesh &em) { <a class="code" href="classNLPACS_1_1CLocalRetriever.html#z942_0">_ExteriorMesh</a> = em; }
00357
<a name="l00359"></a><a class="code" href="classNLPACS_1_1CLocalRetriever.html#z945_4">00359</a> <font class="keywordtype">void</font> <a class="code" href="classNLPACS_1_1CLocalRetriever.html#z945_4">setBBox</a>(<font class="keyword">const</font> <a class="code" href="classNLMISC_1_1CAABBox.html">NLMISC::CAABBox</a> &bbox) { _BBox = bbox; }
00360
00361
<a name="l00363"></a><a class="code" href="classNLPACS_1_1CLocalRetriever.html#z945_5">00363</a> std::vector<NLMISC::CVector> &<a class="code" href="classNLPACS_1_1CLocalRetriever.html#z944_15">getInteriorVertices</a>() { <font class="keywordflow">return</font> <a class="code" href="classNLPACS_1_1CLocalRetriever.html#z942_1">_InteriorVertices</a>; }
00364
<a name="l00366"></a><a class="code" href="classNLPACS_1_1CLocalRetriever.html#z945_6">00366</a> std::vector<CInteriorFace> &<a class="code" href="classNLPACS_1_1CLocalRetriever.html#z944_16">getInteriorFaces</a>() { <font class="keywordflow">return</font> <a class="code" href="classNLPACS_1_1CLocalRetriever.html#z942_2">_InteriorFaces</a>; }
00367
<a name="l00369"></a><a class="code" href="classNLPACS_1_1CLocalRetriever.html#z945_7">00369</a> <font class="keywordtype">void</font> <a class="code" href="classNLPACS_1_1CLocalRetriever.html#z945_7">setIdentifier</a>(<font class="keyword">const</font> std::string &<a class="code" href="driver__opengl__extension__def_8h.html#a356">id</a>) { <a class="code" href="classNLPACS_1_1CLocalRetriever.html#z942_4">_Id</a> = <a class="code" href="driver__opengl__extension__def_8h.html#a356">id</a>; }
00370
00371
<a name="l00373"></a><a class="code" href="classNLPACS_1_1CLocalRetriever.html#z945_8">00373</a> CChainQuad &<a class="code" href="classNLPACS_1_1CLocalRetriever.html#z945_8">getChainQuad</a>() { <font class="keywordflow">return</font> <a class="code" href="classNLPACS_1_1CLocalRetriever.html#n8">_ChainQuad</a>; }
00374
00375
00377 <font class="keywordtype">void</font> <a class="code" href="classNLPACS_1_1CLocalRetriever.html#z945_9">initFaceGrid</a>();
00378
00379
00381 <font class="keywordtype">void</font> <a class="code" href="classNLPACS_1_1CLocalRetriever.html#z945_10">computeTopologies</a>();
00382
00384 <font class="keywordtype">void</font> <a class="code" href="classNLPACS_1_1CLocalRetriever.html#z945_11">computeLoopsAndTips</a>();
00385
00387 <font class="keywordtype">void</font> <a class="code" href="classNLPACS_1_1CLocalRetriever.html#z945_12">findBorderChains</a>();
00388
00390 <font class="keywordtype">void</font> <a class="code" href="classNLPACS_1_1CLocalRetriever.html#z945_13">updateChainIds</a>();
00391
00392
00394 <font class="keywordtype">void</font> <a class="code" href="classNLPACS_1_1CLocalRetriever.html#z945_14">sortTips</a>();
00395
00396
00398 <font class="keywordtype">void</font> <a class="code" href="classNLPACS_1_1CLocalRetriever.html#z945_15">translate</a>(<font class="keyword">const</font> <a class="code" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> &translation);
00399
00400
<a name="l00402"></a><a class="code" href="classNLPACS_1_1CLocalRetriever.html#z945_16">00402</a> <font class="keywordtype">void</font> <a class="code" href="classNLPACS_1_1CLocalRetriever.html#z945_16">flushFullOrderedChains</a>() { <a class="code" href="classNLPACS_1_1CLocalRetriever.html#n1">_FullOrderedChains</a>.clear(); }
00403
00404
00406 <font class="keywordtype">void</font> <a class="code" href="classNLPACS_1_1CLocalRetriever.html#z945_17">serial</a>(<a class="code" href="classNLMISC_1_1IStream.html">NLMISC::IStream</a> &f);
00407
00408 <font class="comment">// @}</font>
00409
00411 <font class="comment">// @{</font>
00413 <font class="comment"> void computeCollisionChainQuad();</font>
00419 <font class="comment"></font> <font class="keywordtype">void</font> <a class="code" href="classNLPACS_1_1CLocalRetriever.html#z946_1">testCollision</a>(CCollisionSurfaceTemp &cst, <font class="keyword">const</font> <a class="code" href="classNLMISC_1_1CAABBox.html">NLMISC::CAABBox</a> &bboxMove, <font class="keyword">const</font> <a class="code" href="classNLMISC_1_1CVector2f.html">NLMISC::CVector2f</a> &transBase) <font class="keyword">const</font>;
00420
00421 <font class="comment">// @}</font>
00422
00423 <font class="comment">/*</font>
00424 <font class="comment">protected:</font>
00425 <font class="comment">*/</font>
00426
00428 <font class="keywordtype">bool</font> <a class="code" href="classNLPACS_1_1CLocalRetriever.html#a0">insurePosition</a>(ULocalPosition &local) <font class="keyword">const</font>;
00429
00431 <font class="keywordtype">void</font> <a class="code" href="classNLPACS_1_1CLocalRetriever.html#a1">retrievePosition</a>(<a class="code" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> estimated, <font class="comment">/*std::vector<uint8> &retrieveTable,*/</font> CCollisionSurfaceTemp &cst) <font class="keyword">const</font>;
00432
00434 <font class="keywordtype">void</font> <a class="code" href="classNLPACS_1_1CLocalRetriever.html#a2">snapToInteriorGround</a>(ULocalPosition &position, <font class="keywordtype">bool</font> &snapped) <font class="keyword">const</font>;
00435
00437 <font class="keywordtype">float</font> <a class="code" href="classNLPACS_1_1CLocalRetriever.html#a3">getHeight</a>(<font class="keyword">const</font> ULocalPosition &position) <font class="keyword">const</font>;
00438
00440 <font class="keywordtype">void</font> <a class="code" href="classNLPACS_1_1CLocalRetriever.html#a4">findPath</a>(<font class="keyword">const</font> CLocalPosition &A, <font class="keyword">const</font> CLocalPosition &B, std::vector<CVector2s> &path, <a class="code" href="classNLPACS_1_1CCollisionSurfaceTemp.html">NLPACS::CCollisionSurfaceTemp</a> &cst) <font class="keyword">const</font>;
00441
00442
00444 <font class="keywordtype">void</font> <a class="code" href="classNLPACS_1_1CLocalRetriever.html#a5">unify</a>();
00445
00446 <font class="keyword">public</font>:
00447 <font class="keyword">const</font> <a class="code" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> &<a class="code" href="classNLPACS_1_1CLocalRetriever.html#a6">getStartVector</a>(uint32 chain) <font class="keyword">const</font>;
00448 <font class="keyword">const</font> <a class="code" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> &<a class="code" href="classNLPACS_1_1CLocalRetriever.html#a7">getStopVector</a>(uint32 chain) <font class="keyword">const</font>;
00449
00450 <font class="keyword">const</font> <a class="code" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> &<a class="code" href="classNLPACS_1_1CLocalRetriever.html#a6">getStartVector</a>(uint32 chain, sint32 surface) <font class="keyword">const</font>;
00451 <font class="keyword">const</font> <a class="code" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> &<a class="code" href="classNLPACS_1_1CLocalRetriever.html#a7">getStopVector</a>(uint32 chain, sint32 surface) <font class="keyword">const</font>;
00452
00453 uint16 <a class="code" href="classNLPACS_1_1CLocalRetriever.html#a10">getStartTip</a>(uint32 chain, sint32 surface) <font class="keyword">const</font>;
00454 uint16 <a class="code" href="classNLPACS_1_1CLocalRetriever.html#a11">getStopTip</a>(uint32 chain, sint32 surface) <font class="keyword">const</font>;
00455
00456 <font class="keywordtype">void</font> <a class="code" href="classNLPACS_1_1CLocalRetriever.html#a12">setStartTip</a>(uint32 chain, sint32 surface, uint16 startTip);
00457 <font class="keywordtype">void</font> <a class="code" href="classNLPACS_1_1CLocalRetriever.html#a13">setStopTip</a>(uint32 chain, sint32 surface, uint16 stopTip);
00458
00459 uint32 <a class="code" href="classNLPACS_1_1CLocalRetriever.html#a14">getPreviousChain</a>(uint32 chain, sint32 surface) <font class="keyword">const</font>;
00460 uint32 <a class="code" href="classNLPACS_1_1CLocalRetriever.html#a15">getNextChain</a>(uint32 chain, sint32 surface) <font class="keyword">const</font>;
00461
00462 <font class="keyword">public</font>:
00463 <font class="keywordtype">void</font> <a class="code" href="classNLPACS_1_1CLocalRetriever.html#a16">dumpSurface</a>(uint surf, <font class="keyword">const</font> <a class="code" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> &vect = <a class="code" href="classNLMISC_1_1CVector.html#p0">NLMISC::CVector::Null</a>) <font class="keyword">const</font>;
00464
00465 <font class="keywordtype">float</font> <a class="code" href="classNLPACS_1_1CLocalRetriever.html#a17">distanceToBorder</a>(<font class="keyword">const</font> ULocalPosition &pos) <font class="keyword">const</font>;
00466 };
00467
00468 }; <font class="comment">// NLPACS</font>
00469
00470 <font class="preprocessor">#endif // NL_LOCAL_RETRIEVER_H</font>
00471 <font class="preprocessor"></font>
00472 <font class="comment">/* End of local_retriever.h */</font>
</pre></div>
<!-- footer -->
<BR><FONT Size=+5> </FONT>
</TD>
<TD WIDTH=15><IMG SRC=http://www.nevrax.org/inc/img/pixel.gif WIDTH=15 HEIGHT=15 BORDER=0 ALT=""></TD>
</TR>
</TABLE>
</BODY>
</HTML>
|