-
Notifications
You must be signed in to change notification settings - Fork 13
/
bspline__data_8hpp_source.html
614 lines (612 loc) · 111 KB
/
bspline__data_8hpp_source.html
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
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Point Cloud Library (PCL): pcl/surface/3rdparty/poisson4/bspline_data.hpp Source File</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="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></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 id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Point Cloud Library (PCL)
 <span id="projectnumber">1.14.1-dev</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</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 id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_c085629c2ec3cefd048e595d13476517.html">pcl</a></li><li class="navelem"><a class="el" href="dir_b042217bdec4068b97400d7bbc365877.html">surface</a></li><li class="navelem"><a class="el" href="dir_f289cf8a53139bf575d4708d4be18702.html">3rdparty</a></li><li class="navelem"><a class="el" href="dir_cb244bdbdd28d1e4f2f220ed9667ec05.html">poisson4</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">bspline_data.hpp</div> </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/*</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment">Copyright (c) 2006, Michael Kazhdan and Matthew Bolitho</span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment">All rights reserved.</span></div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"></span> </div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment">Redistribution and use in source and binary forms, with or without modification,</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment">are permitted provided that the following conditions are met:</span></div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"></span> </div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment">Redistributions of source code must retain the above copyright notice, this list of</span></div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment">conditions and the following disclaimer. Redistributions in binary form must reproduce</span></div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment">the above copyright notice, this list of conditions and the following disclaimer</span></div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment">in the documentation and/or other materials provided with the distribution. </span></div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"></span> </div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment">Neither the name of the Johns Hopkins University nor the names of its contributors</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment">may be used to endorse or promote products derived from this software without specific</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment">prior written permission. </span></div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment"></span> </div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="comment">THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY</span></div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="comment">EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO THE IMPLIED WARRANTIES </span></div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="comment">OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT</span></div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="comment">SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,</span></div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="comment">INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED</span></div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="comment">TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR</span></div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="comment">BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN</span></div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="comment">CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN</span></div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="comment">ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH</span></div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="comment">DAMAGE.</span></div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="comment">*/</span></div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  </div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="preprocessor">#include "poisson_exceptions.h"</span></div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="preprocessor">#include "binary_node.h"</span></div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  </div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="keyword">namespace </span><a class="code" href="namespacepcl.html">pcl</a></div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span> {</div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  <span class="keyword">namespace </span>poisson</div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  {</div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="comment"></span> </div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="comment"> /////////////////</span></div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span> <span class="comment"></span> <span class="comment">// BSplineData //</span><span class="comment"></span></div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <span class="comment"> /////////////////</span></div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span> <span class="comment"></span> <span class="comment">// Support[i]:</span></div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  <span class="comment">// Odd: i +/- 0.5 * ( 1 + Degree )</span></div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  <span class="comment">// i - 0.5 * ( 1 + Degree ) < 0</span></div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  <span class="comment">// <=> i < 0.5 * ( 1 + Degree )</span></div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  <span class="comment">// i + 0.5 * ( 1 + Degree ) > 0</span></div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  <span class="comment">// <=> i > - 0.5 * ( 1 + Degree )</span></div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  <span class="comment">// i + 0.5 * ( 1 + Degree ) > r</span></div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  <span class="comment">// <=> i > r - 0.5 * ( 1 + Degree )</span></div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  <span class="comment">// i - 0.5 * ( 1 + Degree ) < r</span></div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  <span class="comment">// <=> i < r + 0.5 * ( 1 + Degree )</span></div>
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  <span class="comment">// Even: i + 0.5 +/- 0.5 * ( 1 + Degree )</span></div>
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  <span class="comment">// i - 0.5 * Degree < 0</span></div>
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  <span class="comment">// <=> i < 0.5 * Degree</span></div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  <span class="comment">// i + 1 + 0.5 * Degree > 0</span></div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  <span class="comment">// <=> i > -1 - 0.5 * Degree</span></div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  <span class="comment">// i + 1 + 0.5 * Degree > r</span></div>
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  <span class="comment">// <=> i > r - 1 - 0.5 * Degree</span></div>
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  <span class="comment">// i - 0.5 * Degree < r</span></div>
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  <span class="comment">// <=> i < r + 0.5 * Degree</span></div>
<div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="namespacepcl_1_1poisson.html#a1e024df7ca5304a90eec245ecdde5fd3"> 59</a></span>  <span class="keyword">template</span>< <span class="keywordtype">int</span> Degree > <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="namespacepcl_1_1poisson.html#a1e024df7ca5304a90eec245ecdde5fd3">LeftOverlap</a>( <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span>, <span class="keywordtype">int</span> offset )</div>
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  {</div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  offset <<= 1;</div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  <span class="keywordflow">if</span>( Degree & 1 ) <span class="keywordflow">return</span> (offset < 1+Degree) && (offset > -1-Degree );</div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  <span class="keywordflow">else</span> <span class="keywordflow">return</span> (offset < Degree) && (offset > -2-Degree );</div>
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  }</div>
<div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="namespacepcl_1_1poisson.html#a169191b8dcc139d0110199368a864cb1"> 65</a></span>  <span class="keyword">template</span>< <span class="keywordtype">int</span> Degree > <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="namespacepcl_1_1poisson.html#a169191b8dcc139d0110199368a864cb1">RightOverlap</a>( <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span>, <span class="keywordtype">int</span> offset )</div>
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  {</div>
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  offset <<= 1;</div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  <span class="keywordflow">if</span>( Degree & 1 ) <span class="keywordflow">return</span> (offset > 2-1-Degree) && (offset < 2+1+Degree );</div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  <span class="keywordflow">else</span> <span class="keywordflow">return</span> (offset > 2-2-Degree) && (offset < 2+ Degree );</div>
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  }</div>
<div class="line"><a name="l00071"></a><span class="lineno"><a class="line" href="namespacepcl_1_1poisson.html#aa82b9511550472d24100dc900067e440"> 71</a></span>  <span class="keyword">template</span>< <span class="keywordtype">int</span> Degree > <span class="keyword">inline</span> <span class="keywordtype">int</span> <a class="code" href="namespacepcl_1_1poisson.html#aa82b9511550472d24100dc900067e440">ReflectLeft</a>( <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span>, <span class="keywordtype">int</span> offset )</div>
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  {</div>
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  <span class="keywordflow">if</span>( Degree&1 ) <span class="keywordflow">return</span> -offset;</div>
<div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="classpcl_1_1poisson_1_1_b_spline_data.html#add0e50fcd4607e417fa65636896bfb81"> 74</a></span>  <span class="keywordflow">else</span> <span class="keywordflow">return</span> -1-offset;</div>
<div class="line"><a name="l00075"></a><span class="lineno"><a class="line" href="classpcl_1_1poisson_1_1_b_spline_data.html#a20b8e4d11cdbe39a2d60c65650d6be22"> 75</a></span>  }</div>
<div class="line"><a name="l00076"></a><span class="lineno"><a class="line" href="namespacepcl_1_1poisson.html#aeb71cafe54c82669df6ab946730d1888"> 76</a></span>  <span class="keyword">template</span>< <span class="keywordtype">int</span> Degree > <span class="keyword">inline</span> <span class="keywordtype">int</span> <a class="code" href="namespacepcl_1_1poisson.html#aeb71cafe54c82669df6ab946730d1888">ReflectRight</a>( <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> depth , <span class="keywordtype">int</span> offset )</div>
<div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="classpcl_1_1poisson_1_1_b_spline_data.html#a678effb56fb96c12d6b7300ddf332ba0"> 77</a></span>  {</div>
<div class="line"><a name="l00078"></a><span class="lineno"><a class="line" href="classpcl_1_1poisson_1_1_b_spline_data.html#a522ae2005e2d2be46528ff055703accb"> 78</a></span>  <span class="keywordtype">int</span> r = 1<<(depth+1);</div>
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  <span class="keywordflow">if</span>( Degree&1 ) <span class="keywordflow">return</span> r -offset;</div>
<div class="line"><a name="l00080"></a><span class="lineno"><a class="line" href="classpcl_1_1poisson_1_1_b_spline_data.html#a49bcb849c66f0f9cc8ecb896c4e7329c"> 80</a></span>  <span class="keywordflow">else</span> <span class="keywordflow">return</span> r-1-offset;</div>
<div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="classpcl_1_1poisson_1_1_b_spline_data.html#a34ae053824e4fb0daa732b5f188054fe"> 81</a></span>  }</div>
<div class="line"><a name="l00082"></a><span class="lineno"><a class="line" href="classpcl_1_1poisson_1_1_b_spline_data.html#a593dae9868faea32f36e90ea48c7e672"> 82</a></span>  </div>
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  <span class="keyword">template</span>< <span class="keywordtype">int</span> Degree , <span class="keyword">class</span> Real ></div>
<div class="line"><a name="l00084"></a><span class="lineno"><a class="line" href="classpcl_1_1poisson_1_1_b_spline_data.html#add0e50fcd4607e417fa65636896bfb81"> 84</a></span>  <a class="code" href="classpcl_1_1poisson_1_1_b_spline_data.html#add0e50fcd4607e417fa65636896bfb81">BSplineData<Degree,Real>::BSplineData</a>( )</div>
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  {</div>
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  vvDotTable = dvDotTable = ddDotTable = NULL;</div>
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  valueTables = dValueTables = NULL;</div>
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  baseFunctions = NULL;</div>
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  baseBSplines = NULL;</div>
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  functionCount = sampleCount = 0;</div>
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  }</div>
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  </div>
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  <span class="keyword">template</span>< <span class="keywordtype">int</span> Degree , <span class="keyword">class</span> Real ></div>
<div class="line"><a name="l00094"></a><span class="lineno"><a class="line" href="classpcl_1_1poisson_1_1_b_spline_data.html#a20b8e4d11cdbe39a2d60c65650d6be22"> 94</a></span>  <a class="code" href="classpcl_1_1poisson_1_1_b_spline_data.html#a20b8e4d11cdbe39a2d60c65650d6be22">BSplineData< Degree , Real >::~BSplineData</a>()</div>
<div class="line"><a name="l00095"></a><span class="lineno"><a class="line" href="classpcl_1_1poisson_1_1_b_spline_data.html#a3c2494b34bc3dc4cad3f82d224ca4fa8"> 95</a></span>  {</div>
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  <span class="keywordflow">if</span>( functionCount )</div>
<div class="line"><a name="l00097"></a><span class="lineno"><a class="line" href="classpcl_1_1poisson_1_1_b_spline_data.html#aaa8d6c3cc36dd4b4dd56f3b26e4dcc6c"> 97</a></span>  {</div>
<div class="line"><a name="l00098"></a><span class="lineno"><a class="line" href="classpcl_1_1poisson_1_1_b_spline_data.html#a3cad2f0abbd728e1feac6e27d7d11051"> 98</a></span>  <span class="keyword">delete</span>[] vvDotTable;</div>
<div class="line"><a name="l00099"></a><span class="lineno"><a class="line" href="classpcl_1_1poisson_1_1_b_spline_data.html#ad9a41f320cba0f782d314db8cbc3a6f6"> 99</a></span>  <span class="keyword">delete</span>[] dvDotTable;</div>
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  <span class="keyword">delete</span>[] ddDotTable;</div>
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  </div>
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  <span class="keyword">delete</span>[] valueTables;</div>
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  <span class="keyword">delete</span>[] dValueTables;</div>
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  </div>
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  <span class="keyword">delete</span>[] baseFunctions;</div>
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  <span class="keyword">delete</span>[] baseBSplines;</div>
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  }</div>
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  vvDotTable = dvDotTable = ddDotTable = NULL;</div>
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  valueTables = dValueTables=NULL;</div>
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  baseFunctions = NULL;</div>
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  baseBSplines = NULL;</div>
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  functionCount = 0;</div>
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  }</div>
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  </div>
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  <span class="keyword">template</span><<span class="keywordtype">int</span> Degree,<span class="keyword">class</span> Real></div>
<div class="line"><a name="l00116"></a><span class="lineno"><a class="line" href="classpcl_1_1poisson_1_1_b_spline_data.html#a3c2494b34bc3dc4cad3f82d224ca4fa8"> 116</a></span>  <span class="keywordtype">void</span> <a class="code" href="classpcl_1_1poisson_1_1_b_spline_data.html#a3c2494b34bc3dc4cad3f82d224ca4fa8">BSplineData<Degree,Real>::set</a>( <span class="keywordtype">int</span> maxDepth , <span class="keywordtype">bool</span> useDotRatios , <span class="keywordtype">bool</span> reflectBoundary )</div>
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  {</div>
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  this->useDotRatios = useDotRatios;</div>
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  this->reflectBoundary = reflectBoundary;</div>
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  </div>
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  depth = maxDepth;</div>
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  <span class="comment">// [Warning] This assumes that the functions spacing is dual</span></div>
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  functionCount = <a class="code" href="classpcl_1_1poisson_1_1_binary_node.html#a390e933e9a1496465992e289eaba1e89">BinaryNode< double >::CumulativeCenterCount</a>( depth );</div>
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  sampleCount = <a class="code" href="classpcl_1_1poisson_1_1_binary_node.html#ad84d51e7de6450a4653358ff24af39b7">BinaryNode< double >::CenterCount</a>( depth ) + <a class="code" href="classpcl_1_1poisson_1_1_binary_node.html#a91a2102ca26f8258c8fd53d00ee07e96">BinaryNode< double >::CornerCount</a>( depth );</div>
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  baseFunctions = <span class="keyword">new</span> <a class="code" href="classpcl_1_1poisson_1_1_p_polynomial.html">PPolynomial<Degree></a>[functionCount];</div>
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  baseBSplines = <span class="keyword">new</span> <a class="code" href="structpcl_1_1poisson_1_1_b_spline_data_1_1_b_spline_components.html">BSplineComponents</a>[functionCount];</div>
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>  </div>
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  baseFunction = <a class="code" href="classpcl_1_1poisson_1_1_p_polynomial.html#aa4975cfd97035a9adb1a6b5402854165">PPolynomial< Degree >::BSpline</a>();</div>
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  <span class="keywordflow">for</span>( <span class="keywordtype">int</span> i=0 ; i<=Degree ; i++ ) baseBSpline[i] = Polynomial< Degree >::BSplineComponent( i ).shift( <span class="keyword">static_cast<</span><span class="keywordtype">double</span><span class="keyword">></span>(-(Degree+1)/2) + i - 0.5 );</div>
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span>  dBaseFunction = baseFunction.derivative();</div>
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>  <a class="code" href="classpcl_1_1poisson_1_1_starting_polynomial.html">StartingPolynomial< Degree ></a> sPolys[Degree+3];</div>
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>  </div>
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span>  <span class="keywordflow">for</span>( <span class="keywordtype">int</span> i=0 ; i<Degree+3 ; i++ )</div>
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span>  {</div>
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  sPolys[i].<a class="code" href="classpcl_1_1poisson_1_1_starting_polynomial.html#a4778f87d7acb65aca80a8f74a6161fa3">start</a> = <span class="keyword">static_cast<</span><span class="keywordtype">double</span><span class="keyword">></span>(-(Degree+1)/2) + i - 1.5;</div>
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>  sPolys[i].<a class="code" href="classpcl_1_1poisson_1_1_starting_polynomial.html#a77517229e4f80781cd501c808ef7bac9">p</a> *= 0;</div>
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  <span class="keywordflow">if</span>( i<=Degree ) sPolys[i].<a class="code" href="classpcl_1_1poisson_1_1_starting_polynomial.html#a77517229e4f80781cd501c808ef7bac9">p</a> += baseBSpline[i ].shift( -1 );</div>
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  <span class="keywordflow">if</span>( i>=1 && i<=Degree+1 ) sPolys[i].<a class="code" href="classpcl_1_1poisson_1_1_starting_polynomial.html#a77517229e4f80781cd501c808ef7bac9">p</a> += baseBSpline[i-1];</div>
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  <span class="keywordflow">for</span>( <span class="keywordtype">int</span> j=0 ; j<i ; j++ ) sPolys[i].p -= sPolys[j].p;</div>
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  }</div>
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span>  leftBaseFunction.set( sPolys , Degree+3 );</div>
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span>  <span class="keywordflow">for</span>( <span class="keywordtype">int</span> i=0 ; i<Degree+3 ; i++ )</div>
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span>  {</div>
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span>  sPolys[i].<a class="code" href="classpcl_1_1poisson_1_1_starting_polynomial.html#a4778f87d7acb65aca80a8f74a6161fa3">start</a> = <span class="keyword">static_cast<</span><span class="keywordtype">double</span><span class="keyword">></span>(-(Degree+1)/2) + i - 0.5;</div>
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  sPolys[i].<a class="code" href="classpcl_1_1poisson_1_1_starting_polynomial.html#a77517229e4f80781cd501c808ef7bac9">p</a> *= 0;</div>
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span>  <span class="keywordflow">if</span>( i<=Degree ) sPolys[i].<a class="code" href="classpcl_1_1poisson_1_1_starting_polynomial.html#a77517229e4f80781cd501c808ef7bac9">p</a> += baseBSpline[i ];</div>
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  <span class="keywordflow">if</span>( i>=1 && i<=Degree+1 ) sPolys[i].<a class="code" href="classpcl_1_1poisson_1_1_starting_polynomial.html#a77517229e4f80781cd501c808ef7bac9">p</a> += baseBSpline[i-1].shift( 1 );</div>
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span>  <span class="keywordflow">for</span>( <span class="keywordtype">int</span> j=0 ; j<i ; j++ ) sPolys[i].p -= sPolys[j].p;</div>
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span>  }</div>
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span>  rightBaseFunction.set( sPolys , Degree+3 );</div>
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span>  dLeftBaseFunction = leftBaseFunction.derivative();</div>
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span>  dRightBaseFunction = rightBaseFunction.derivative();</div>
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span>  leftBSpline = rightBSpline = baseBSpline;</div>
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span>  leftBSpline [1] += leftBSpline[2].<a class="code" href="classpcl_1_1poisson_1_1_starting_polynomial.html#a5134ecb92c7c1e98381e093cb1d3b3f1">shift</a>( -1 ) , leftBSpline[0] *= 0;</div>
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span>  rightBSpline[1] += rightBSpline[0].<a class="code" href="classpcl_1_1poisson_1_1_starting_polynomial.html#a5134ecb92c7c1e98381e093cb1d3b3f1">shift</a>( 1 ) , rightBSpline[2] *= 0;</div>
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span>  <span class="keywordtype">double</span> c , w;</div>
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span>  <span class="keywordflow">for</span>( <span class="keywordtype">int</span> i=0 ; i<functionCount ; i++ )</div>
<div class="line"><a name="l00158"></a><span class="lineno"> 158</span>  {</div>
<div class="line"><a name="l00159"></a><span class="lineno"> 159</span>  <a class="code" href="classpcl_1_1poisson_1_1_binary_node.html#a23f38a70574517a8774fad944c2e7ae7">BinaryNode< double >::CenterAndWidth</a>( i , c , w );</div>
<div class="line"><a name="l00160"></a><span class="lineno"> 160</span>  baseFunctions[i] = baseFunction.scale(w).shift(c);</div>
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span>  baseBSplines[i] = baseBSpline.scale(w).shift(c);</div>
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span>  <span class="keywordflow">if</span>( reflectBoundary )</div>
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span>  {</div>
<div class="line"><a name="l00164"></a><span class="lineno"> 164</span>  <span class="keywordtype">int</span> d , off , r;</div>
<div class="line"><a name="l00165"></a><span class="lineno"> 165</span>  <a class="code" href="classpcl_1_1poisson_1_1_binary_node.html#afcc9021344bc52824e87ba2c9a9bd0a9">BinaryNode< double >::DepthAndOffset</a>( i , d , off );</div>
<div class="line"><a name="l00166"></a><span class="lineno"> 166</span>  r = 1<<d;</div>
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span>  <span class="keywordflow">if</span> ( off==0 ) baseFunctions[i] = leftBaseFunction.scale(w).shift(c);</div>
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span>  <span class="keywordflow">else</span> <span class="keywordflow">if</span>( off==r-1 ) baseFunctions[i] = rightBaseFunction.scale(w).shift(c);</div>
<div class="line"><a name="l00169"></a><span class="lineno"> 169</span>  <span class="keywordflow">if</span> ( off==0 ) baseBSplines[i] = leftBSpline.scale(w).shift(c);</div>
<div class="line"><a name="l00170"></a><span class="lineno"> 170</span>  <span class="keywordflow">else</span> <span class="keywordflow">if</span>( off==r-1 ) baseBSplines[i] = rightBSpline.scale(w).shift(c);</div>
<div class="line"><a name="l00171"></a><span class="lineno"> 171</span>  }</div>
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span>  }</div>
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span>  }</div>
<div class="line"><a name="l00174"></a><span class="lineno"> 174</span>  <span class="keyword">template</span><<span class="keywordtype">int</span> Degree,<span class="keyword">class</span> Real></div>
<div class="line"><a name="l00175"></a><span class="lineno"><a class="line" href="classpcl_1_1poisson_1_1_b_spline_data.html#a678effb56fb96c12d6b7300ddf332ba0"> 175</a></span>  <span class="keywordtype">void</span> <a class="code" href="classpcl_1_1poisson_1_1_b_spline_data.html#a678effb56fb96c12d6b7300ddf332ba0">BSplineData<Degree,Real>::setDotTables</a>( <span class="keywordtype">int</span> flags )</div>
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span>  {</div>
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span>  clearDotTables( flags );</div>
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span>  <span class="keywordtype">int</span> size = ( functionCount*functionCount + functionCount )>>1;</div>
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span>  <span class="keywordtype">int</span> fullSize = functionCount*functionCount;</div>
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span>  <span class="keywordflow">if</span>( flags & VV_DOT_FLAG )</div>
<div class="line"><a name="l00181"></a><span class="lineno"> 181</span>  {</div>
<div class="line"><a name="l00182"></a><span class="lineno"> 182</span>  vvDotTable = <span class="keyword">new</span> <a class="code" href="namespacepcl_1_1poisson.html#a7a00b0a7dfe066febcf1407614ebfa9c">Real</a>[size]{};</div>
<div class="line"><a name="l00183"></a><span class="lineno"> 183</span>  }</div>
<div class="line"><a name="l00184"></a><span class="lineno"> 184</span>  <span class="keywordflow">if</span>( flags & DV_DOT_FLAG )</div>
<div class="line"><a name="l00185"></a><span class="lineno"> 185</span>  {</div>
<div class="line"><a name="l00186"></a><span class="lineno"> 186</span>  dvDotTable = <span class="keyword">new</span> <a class="code" href="namespacepcl_1_1poisson.html#a7a00b0a7dfe066febcf1407614ebfa9c">Real</a>[fullSize]{};</div>
<div class="line"><a name="l00187"></a><span class="lineno"> 187</span>  }</div>
<div class="line"><a name="l00188"></a><span class="lineno"> 188</span>  <span class="keywordflow">if</span>( flags & DD_DOT_FLAG )</div>
<div class="line"><a name="l00189"></a><span class="lineno"> 189</span>  {</div>
<div class="line"><a name="l00190"></a><span class="lineno"> 190</span>  ddDotTable = <span class="keyword">new</span> <a class="code" href="namespacepcl_1_1poisson.html#a7a00b0a7dfe066febcf1407614ebfa9c">Real</a>[size]{};</div>
<div class="line"><a name="l00191"></a><span class="lineno"> 191</span>  }</div>
<div class="line"><a name="l00192"></a><span class="lineno"> 192</span>  <span class="keywordtype">double</span> vvIntegrals[Degree+1][Degree+1];</div>
<div class="line"><a name="l00193"></a><span class="lineno"> 193</span>  <span class="keywordtype">double</span> vdIntegrals[Degree+1][Degree ];</div>
<div class="line"><a name="l00194"></a><span class="lineno"> 194</span>  <span class="keywordtype">double</span> dvIntegrals[Degree ][Degree+1];</div>
<div class="line"><a name="l00195"></a><span class="lineno"> 195</span>  <span class="keywordtype">double</span> ddIntegrals[Degree ][Degree ];</div>
<div class="line"><a name="l00196"></a><span class="lineno"> 196</span>  <span class="keywordtype">int</span> vvSums[Degree+1][Degree+1];</div>
<div class="line"><a name="l00197"></a><span class="lineno"> 197</span>  <span class="keywordtype">int</span> vdSums[Degree+1][Degree ];</div>
<div class="line"><a name="l00198"></a><span class="lineno"> 198</span>  <span class="keywordtype">int</span> dvSums[Degree ][Degree+1];</div>
<div class="line"><a name="l00199"></a><span class="lineno"> 199</span>  <span class="keywordtype">int</span> ddSums[Degree ][Degree ];</div>
<div class="line"><a name="l00200"></a><span class="lineno"> 200</span>  SetBSplineElementIntegrals< Degree , Degree >( vvIntegrals );</div>
<div class="line"><a name="l00201"></a><span class="lineno"> 201</span>  <a class="code" href="namespacepcl_1_1poisson.html#ace587f294936d1941bebc9cee723459d">SetBSplineElementIntegrals</a>< Degree , Degree-1 >( vdIntegrals );</div>
<div class="line"><a name="l00202"></a><span class="lineno"> 202</span>  <a class="code" href="namespacepcl_1_1poisson.html#ace587f294936d1941bebc9cee723459d">SetBSplineElementIntegrals</a>< Degree-1 , Degree >( dvIntegrals );</div>
<div class="line"><a name="l00203"></a><span class="lineno"> 203</span>  <a class="code" href="namespacepcl_1_1poisson.html#ace587f294936d1941bebc9cee723459d">SetBSplineElementIntegrals</a>< Degree-1 , Degree-1 >( ddIntegrals );</div>
<div class="line"><a name="l00204"></a><span class="lineno"> 204</span>  </div>
<div class="line"><a name="l00205"></a><span class="lineno"> 205</span>  <span class="keywordflow">for</span>( <span class="keywordtype">int</span> d1=0 ; d1<=depth ; d1++ )</div>
<div class="line"><a name="l00206"></a><span class="lineno"> 206</span>  <span class="keywordflow">for</span>( <span class="keywordtype">int</span> off1=0 ; off1<(1<<d1) ; off1++ )</div>
<div class="line"><a name="l00207"></a><span class="lineno"> 207</span>  {</div>
<div class="line"><a name="l00208"></a><span class="lineno"> 208</span>  <span class="keywordtype">int</span> ii = <a class="code" href="classpcl_1_1poisson_1_1_binary_node.html#a59cb1e5a18f5cab8a939c4f269906a9f">BinaryNode< Real >::CenterIndex</a>( d1 , off1 );</div>
<div class="line"><a name="l00209"></a><span class="lineno"> 209</span>  <a class="code" href="structpcl_1_1poisson_1_1_b_spline_elements.html">BSplineElements< Degree ></a> b1( 1<<d1 , off1 , reflectBoundary ? <a class="code" href="structpcl_1_1poisson_1_1_b_spline_elements.html">BSplineElements<Degree>::NEUMANN</a> : <a class="code" href="structpcl_1_1poisson_1_1_b_spline_elements.html">BSplineElements< Degree>::NONE</a> );</div>
<div class="line"><a name="l00210"></a><span class="lineno"> 210</span>  <a class="code" href="structpcl_1_1poisson_1_1_b_spline_elements.html">BSplineElements</a>< Degree-1 > db1;</div>
<div class="line"><a name="l00211"></a><span class="lineno"> 211</span>  b1.<a class="code" href="structpcl_1_1poisson_1_1_b_spline_elements.html#a523fc37dcf3bed43c7bd89166a71a5e1">differentiate</a>( db1 );</div>
<div class="line"><a name="l00212"></a><span class="lineno"> 212</span>  </div>
<div class="line"><a name="l00213"></a><span class="lineno"> 213</span>  <span class="keywordtype">int</span> start1 , end1;</div>
<div class="line"><a name="l00214"></a><span class="lineno"> 214</span>  </div>
<div class="line"><a name="l00215"></a><span class="lineno"> 215</span>  start1 = -1;</div>
<div class="line"><a name="l00216"></a><span class="lineno"> 216</span>  <span class="keywordflow">for</span>( <span class="keywordtype">int</span> i=0 ; i<int(b1.size()) ; i++ ) <span class="keywordflow">for</span>( <span class="keywordtype">int</span> j=0 ; j<=Degree ; j++ )</div>
<div class="line"><a name="l00217"></a><span class="lineno"> 217</span>  {</div>
<div class="line"><a name="l00218"></a><span class="lineno"> 218</span>  <span class="keywordflow">if</span>( b1[i][j] && start1==-1 ) start1 = i;</div>
<div class="line"><a name="l00219"></a><span class="lineno"> 219</span>  <span class="keywordflow">if</span>( b1[i][j] ) end1 = i+1;</div>
<div class="line"><a name="l00220"></a><span class="lineno"> 220</span>  }</div>
<div class="line"><a name="l00221"></a><span class="lineno"> 221</span>  <span class="keywordflow">for</span>( <span class="keywordtype">int</span> d2=d1 ; d2<=depth ; d2++ )</div>
<div class="line"><a name="l00222"></a><span class="lineno"> 222</span>  {</div>
<div class="line"><a name="l00223"></a><span class="lineno"> 223</span>  <span class="keywordflow">for</span>( <span class="keywordtype">int</span> off2=0 ; off2<(1<<d2) ; off2++ )</div>
<div class="line"><a name="l00224"></a><span class="lineno"> 224</span>  {</div>
<div class="line"><a name="l00225"></a><span class="lineno"> 225</span>  <span class="keywordtype">int</span> start2 = off2-Degree;</div>
<div class="line"><a name="l00226"></a><span class="lineno"> 226</span>  <span class="keywordtype">int</span> end2 = off2+Degree+1;</div>
<div class="line"><a name="l00227"></a><span class="lineno"> 227</span>  <span class="keywordflow">if</span>( start2>=end1 || start1>=end2 ) <span class="keywordflow">continue</span>;</div>
<div class="line"><a name="l00228"></a><span class="lineno"> 228</span>  start2 = std::max< int >( start1 , start2 );</div>
<div class="line"><a name="l00229"></a><span class="lineno"> 229</span>  end2 = std::min< int >( end1 , end2 );</div>
<div class="line"><a name="l00230"></a><span class="lineno"> 230</span>  <span class="keywordflow">if</span>( d1==d2 && off2<off1 ) <span class="keywordflow">continue</span>;</div>
<div class="line"><a name="l00231"></a><span class="lineno"> 231</span>  <span class="keywordtype">int</span> jj = <a class="code" href="classpcl_1_1poisson_1_1_binary_node.html#a59cb1e5a18f5cab8a939c4f269906a9f">BinaryNode< Real >::CenterIndex</a>( d2 , off2 );</div>
<div class="line"><a name="l00232"></a><span class="lineno"> 232</span>  <a class="code" href="structpcl_1_1poisson_1_1_b_spline_elements.html">BSplineElements< Degree ></a> b2( 1<<d2 , off2 , reflectBoundary ? <a class="code" href="structpcl_1_1poisson_1_1_b_spline_elements.html">BSplineElements<Degree>::NEUMANN</a> : <a class="code" href="structpcl_1_1poisson_1_1_b_spline_elements.html">BSplineElements< Degree>::NONE</a> );</div>
<div class="line"><a name="l00233"></a><span class="lineno"> 233</span>  <a class="code" href="structpcl_1_1poisson_1_1_b_spline_elements.html">BSplineElements</a>< Degree-1 > db2;</div>
<div class="line"><a name="l00234"></a><span class="lineno"> 234</span>  b2.<a class="code" href="structpcl_1_1poisson_1_1_b_spline_elements.html#a523fc37dcf3bed43c7bd89166a71a5e1">differentiate</a>( db2 );</div>
<div class="line"><a name="l00235"></a><span class="lineno"> 235</span>  </div>
<div class="line"><a name="l00236"></a><span class="lineno"> 236</span>  <span class="keywordtype">int</span> idx = SymmetricIndex( ii , jj );</div>
<div class="line"><a name="l00237"></a><span class="lineno"> 237</span>  <span class="keywordtype">int</span> idx1 = Index( ii , jj ) , idx2 = Index( jj , ii );</div>
<div class="line"><a name="l00238"></a><span class="lineno"> 238</span>  </div>
<div class="line"><a name="l00239"></a><span class="lineno"> 239</span>  memset( vvSums , 0 , <span class="keyword">sizeof</span>( <span class="keywordtype">int</span> ) * ( Degree+1 ) * ( Degree+1 ) );</div>
<div class="line"><a name="l00240"></a><span class="lineno"> 240</span>  memset( vdSums , 0 , <span class="keyword">sizeof</span>( <span class="keywordtype">int</span> ) * ( Degree+1 ) * ( Degree ) );</div>
<div class="line"><a name="l00241"></a><span class="lineno"> 241</span>  memset( dvSums , 0 , <span class="keyword">sizeof</span>( <span class="keywordtype">int</span> ) * ( Degree ) * ( Degree+1 ) );</div>
<div class="line"><a name="l00242"></a><span class="lineno"> 242</span>  memset( ddSums , 0 , <span class="keyword">sizeof</span>( <span class="keywordtype">int</span> ) * ( Degree ) * ( Degree ) );</div>
<div class="line"><a name="l00243"></a><span class="lineno"> 243</span>  <span class="keywordflow">for</span>( <span class="keywordtype">int</span> i=start2 ; i<end2 ; i++ )</div>
<div class="line"><a name="l00244"></a><span class="lineno"> 244</span>  {</div>
<div class="line"><a name="l00245"></a><span class="lineno"> 245</span>  <span class="keywordflow">for</span>( <span class="keywordtype">int</span> j=0 ; j<=Degree ; j++ ) <span class="keywordflow">for</span>( <span class="keywordtype">int</span> k=0 ; k<=Degree ; k++ ) vvSums[j][k] += b1[i][j] * b2[i][k];</div>
<div class="line"><a name="l00246"></a><span class="lineno"> 246</span>  <span class="keywordflow">for</span>( <span class="keywordtype">int</span> j=0 ; j<=Degree ; j++ ) <span class="keywordflow">for</span>( <span class="keywordtype">int</span> k=0 ; k< Degree ; k++ ) vdSums[j][k] += b1[i][j] * db2[i][k];</div>
<div class="line"><a name="l00247"></a><span class="lineno"> 247</span>  <span class="keywordflow">for</span>( <span class="keywordtype">int</span> j=0 ; j< Degree ; j++ ) <span class="keywordflow">for</span>( <span class="keywordtype">int</span> k=0 ; k<=Degree ; k++ ) dvSums[j][k] += db1[i][j] * b2[i][k];</div>
<div class="line"><a name="l00248"></a><span class="lineno"> 248</span>  <span class="keywordflow">for</span>( <span class="keywordtype">int</span> j=0 ; j< Degree ; j++ ) <span class="keywordflow">for</span>( <span class="keywordtype">int</span> k=0 ; k< Degree ; k++ ) ddSums[j][k] += db1[i][j] * db2[i][k];</div>
<div class="line"><a name="l00249"></a><span class="lineno"> 249</span>  }</div>
<div class="line"><a name="l00250"></a><span class="lineno"> 250</span>  <span class="keywordtype">double</span> vvDot = 0 , dvDot = 0 , vdDot = 0 , ddDot = 0;</div>
<div class="line"><a name="l00251"></a><span class="lineno"> 251</span>  <span class="keywordflow">for</span>( <span class="keywordtype">int</span> j=0 ; j<=Degree ; j++ ) <span class="keywordflow">for</span>( <span class="keywordtype">int</span> k=0 ; k<=Degree ; k++ ) vvDot += vvIntegrals[j][k] * vvSums[j][k];</div>
<div class="line"><a name="l00252"></a><span class="lineno"> 252</span>  <span class="keywordflow">for</span>( <span class="keywordtype">int</span> j=0 ; j<=Degree ; j++ ) <span class="keywordflow">for</span>( <span class="keywordtype">int</span> k=0 ; k< Degree ; k++ ) vdDot += vdIntegrals[j][k] * vdSums[j][k];</div>
<div class="line"><a name="l00253"></a><span class="lineno"> 253</span>  <span class="keywordflow">for</span>( <span class="keywordtype">int</span> j=0 ; j< Degree ; j++ ) <span class="keywordflow">for</span>( <span class="keywordtype">int</span> k=0 ; k<=Degree ; k++ ) dvDot += dvIntegrals[j][k] * dvSums[j][k];</div>
<div class="line"><a name="l00254"></a><span class="lineno"> 254</span>  <span class="keywordflow">for</span>( <span class="keywordtype">int</span> j=0 ; j< Degree ; j++ ) <span class="keywordflow">for</span>( <span class="keywordtype">int</span> k=0 ; k< Degree ; k++ ) ddDot += ddIntegrals[j][k] * ddSums[j][k];</div>
<div class="line"><a name="l00255"></a><span class="lineno"> 255</span>  vvDot /= (1<<d2);</div>
<div class="line"><a name="l00256"></a><span class="lineno"> 256</span>  ddDot *= (1<<d2);</div>
<div class="line"><a name="l00257"></a><span class="lineno"> 257</span>  vvDot /= ( b1.<a class="code" href="structpcl_1_1poisson_1_1_b_spline_elements.html#ab3981020a747bb059c0da8d0c85992e7">denominator</a> * b2.<a class="code" href="structpcl_1_1poisson_1_1_b_spline_elements.html#ab3981020a747bb059c0da8d0c85992e7">denominator</a> );</div>
<div class="line"><a name="l00258"></a><span class="lineno"> 258</span>  dvDot /= ( b1.<a class="code" href="structpcl_1_1poisson_1_1_b_spline_elements.html#ab3981020a747bb059c0da8d0c85992e7">denominator</a> * b2.<a class="code" href="structpcl_1_1poisson_1_1_b_spline_elements.html#ab3981020a747bb059c0da8d0c85992e7">denominator</a> );</div>
<div class="line"><a name="l00259"></a><span class="lineno"> 259</span>  vdDot /= ( b1.<a class="code" href="structpcl_1_1poisson_1_1_b_spline_elements.html#ab3981020a747bb059c0da8d0c85992e7">denominator</a> * b2.<a class="code" href="structpcl_1_1poisson_1_1_b_spline_elements.html#ab3981020a747bb059c0da8d0c85992e7">denominator</a> );</div>
<div class="line"><a name="l00260"></a><span class="lineno"> 260</span>  ddDot /= ( b1.<a class="code" href="structpcl_1_1poisson_1_1_b_spline_elements.html#ab3981020a747bb059c0da8d0c85992e7">denominator</a> * b2.<a class="code" href="structpcl_1_1poisson_1_1_b_spline_elements.html#ab3981020a747bb059c0da8d0c85992e7">denominator</a> );</div>
<div class="line"><a name="l00261"></a><span class="lineno"> 261</span>  <span class="keywordflow">if</span>( fabs(vvDot)<1e-15 ) <span class="keywordflow">continue</span>;</div>
<div class="line"><a name="l00262"></a><span class="lineno"> 262</span>  <span class="keywordflow">if</span>( flags & VV_DOT_FLAG ) vvDotTable [idx] = <a class="code" href="namespacepcl_1_1poisson.html#a7a00b0a7dfe066febcf1407614ebfa9c">Real</a>( vvDot );</div>
<div class="line"><a name="l00263"></a><span class="lineno"> 263</span>  <span class="keywordflow">if</span>( useDotRatios )</div>
<div class="line"><a name="l00264"></a><span class="lineno"> 264</span>  {</div>
<div class="line"><a name="l00265"></a><span class="lineno"> 265</span>  <span class="keywordflow">if</span>( flags & DV_DOT_FLAG ) dvDotTable[idx1] = <a class="code" href="namespacepcl_1_1poisson.html#a7a00b0a7dfe066febcf1407614ebfa9c">Real</a>( dvDot / vvDot );</div>
<div class="line"><a name="l00266"></a><span class="lineno"> 266</span>  <span class="keywordflow">if</span>( flags & DV_DOT_FLAG ) dvDotTable[idx2] = <a class="code" href="namespacepcl_1_1poisson.html#a7a00b0a7dfe066febcf1407614ebfa9c">Real</a>( vdDot / vvDot );</div>
<div class="line"><a name="l00267"></a><span class="lineno"> 267</span>  <span class="keywordflow">if</span>( flags & DD_DOT_FLAG ) ddDotTable[idx ] = <a class="code" href="namespacepcl_1_1poisson.html#a7a00b0a7dfe066febcf1407614ebfa9c">Real</a>( ddDot / vvDot );</div>
<div class="line"><a name="l00268"></a><span class="lineno"> 268</span>  }</div>
<div class="line"><a name="l00269"></a><span class="lineno"> 269</span>  <span class="keywordflow">else</span></div>
<div class="line"><a name="l00270"></a><span class="lineno"> 270</span>  {</div>
<div class="line"><a name="l00271"></a><span class="lineno"> 271</span>  <span class="keywordflow">if</span>( flags & DV_DOT_FLAG ) dvDotTable[idx1] = <a class="code" href="namespacepcl_1_1poisson.html#a7a00b0a7dfe066febcf1407614ebfa9c">Real</a>( dvDot );</div>
<div class="line"><a name="l00272"></a><span class="lineno"> 272</span>  <span class="keywordflow">if</span>( flags & DV_DOT_FLAG ) dvDotTable[idx2] = <a class="code" href="namespacepcl_1_1poisson.html#a7a00b0a7dfe066febcf1407614ebfa9c">Real</a>( dvDot );</div>
<div class="line"><a name="l00273"></a><span class="lineno"> 273</span>  <span class="keywordflow">if</span>( flags & DD_DOT_FLAG ) ddDotTable[idx ] = <a class="code" href="namespacepcl_1_1poisson.html#a7a00b0a7dfe066febcf1407614ebfa9c">Real</a>( ddDot );</div>
<div class="line"><a name="l00274"></a><span class="lineno"> 274</span>  }</div>
<div class="line"><a name="l00275"></a><span class="lineno"> 275</span>  }</div>
<div class="line"><a name="l00276"></a><span class="lineno"> 276</span>  <a class="code" href="structpcl_1_1poisson_1_1_b_spline_elements.html">BSplineElements< Degree ></a> b;</div>
<div class="line"><a name="l00277"></a><span class="lineno"> 277</span>  b = b1;</div>
<div class="line"><a name="l00278"></a><span class="lineno"> 278</span>  b.<a class="code" href="structpcl_1_1poisson_1_1_b_spline_elements.html#ae252bc34129212e1cd71b113f209752f">upSample</a>( b1 );</div>
<div class="line"><a name="l00279"></a><span class="lineno"> 279</span>  b1.<a class="code" href="structpcl_1_1poisson_1_1_b_spline_elements.html#a523fc37dcf3bed43c7bd89166a71a5e1">differentiate</a>( db1 );</div>
<div class="line"><a name="l00280"></a><span class="lineno"> 280</span>  start1 = -1;</div>
<div class="line"><a name="l00281"></a><span class="lineno"> 281</span>  <span class="keywordflow">for</span>( <span class="keywordtype">int</span> i=0 ; i<int(b1.size()) ; i++ ) <span class="keywordflow">for</span>( <span class="keywordtype">int</span> j=0 ; j<=Degree ; j++ )</div>
<div class="line"><a name="l00282"></a><span class="lineno"> 282</span>  {</div>
<div class="line"><a name="l00283"></a><span class="lineno"> 283</span>  <span class="keywordflow">if</span>( b1[i][j] && start1==-1 ) start1 = i;</div>
<div class="line"><a name="l00284"></a><span class="lineno"> 284</span>  <span class="keywordflow">if</span>( b1[i][j] ) end1 = i+1;</div>
<div class="line"><a name="l00285"></a><span class="lineno"> 285</span>  }</div>
<div class="line"><a name="l00286"></a><span class="lineno"> 286</span>  }</div>
<div class="line"><a name="l00287"></a><span class="lineno"> 287</span>  }</div>
<div class="line"><a name="l00288"></a><span class="lineno"> 288</span>  }</div>
<div class="line"><a name="l00289"></a><span class="lineno"> 289</span>  <span class="keyword">template</span><<span class="keywordtype">int</span> Degree,<span class="keyword">class</span> Real></div>
<div class="line"><a name="l00290"></a><span class="lineno"><a class="line" href="classpcl_1_1poisson_1_1_b_spline_data.html#a522ae2005e2d2be46528ff055703accb"> 290</a></span>  <span class="keywordtype">void</span> <a class="code" href="classpcl_1_1poisson_1_1_b_spline_data.html#a522ae2005e2d2be46528ff055703accb">BSplineData<Degree,Real>::clearDotTables</a>( <span class="keywordtype">int</span> flags )</div>
<div class="line"><a name="l00291"></a><span class="lineno"> 291</span>  {</div>
<div class="line"><a name="l00292"></a><span class="lineno"> 292</span>  <span class="keywordflow">if</span> (flags & VV_DOT_FLAG) {</div>
<div class="line"><a name="l00293"></a><span class="lineno"> 293</span>  <span class="keyword">delete</span>[] vvDotTable ; vvDotTable = NULL;</div>
<div class="line"><a name="l00294"></a><span class="lineno"> 294</span>  }</div>
<div class="line"><a name="l00295"></a><span class="lineno"> 295</span>  <span class="keywordflow">if</span> (flags & DV_DOT_FLAG) {</div>
<div class="line"><a name="l00296"></a><span class="lineno"> 296</span>  <span class="keyword">delete</span>[] dvDotTable ; dvDotTable = NULL;</div>
<div class="line"><a name="l00297"></a><span class="lineno"> 297</span>  }</div>
<div class="line"><a name="l00298"></a><span class="lineno"> 298</span>  <span class="keywordflow">if</span> (flags & DD_DOT_FLAG) {</div>
<div class="line"><a name="l00299"></a><span class="lineno"> 299</span>  <span class="keyword">delete</span>[] ddDotTable ; ddDotTable = NULL;</div>
<div class="line"><a name="l00300"></a><span class="lineno"> 300</span>  }</div>
<div class="line"><a name="l00301"></a><span class="lineno"> 301</span>  }</div>
<div class="line"><a name="l00302"></a><span class="lineno"> 302</span>  <span class="keyword">template</span>< <span class="keywordtype">int</span> Degree , <span class="keyword">class</span> Real ></div>
<div class="line"><a name="l00303"></a><span class="lineno"><a class="line" href="classpcl_1_1poisson_1_1_b_spline_data.html#aa91c0a4859a2c70418d49b544984166c"> 303</a></span>  <span class="keywordtype">void</span> <a class="code" href="classpcl_1_1poisson_1_1_b_spline_data.html#aa91c0a4859a2c70418d49b544984166c">BSplineData< Degree , Real >::setSampleSpan</a>( <span class="keywordtype">int</span> idx , <span class="keywordtype">int</span>& start , <span class="keywordtype">int</span>& end , <span class="keywordtype">double</span> smooth )<span class="keyword"> const</span></div>
<div class="line"><a name="l00304"></a><span class="lineno"> 304</span> <span class="keyword"> </span>{</div>
<div class="line"><a name="l00305"></a><span class="lineno"> 305</span>  <span class="keywordtype">int</span> d , off , res;</div>
<div class="line"><a name="l00306"></a><span class="lineno"> 306</span>  <a class="code" href="classpcl_1_1poisson_1_1_binary_node.html#afcc9021344bc52824e87ba2c9a9bd0a9">BinaryNode< double >::DepthAndOffset</a>( idx , d , off );</div>
<div class="line"><a name="l00307"></a><span class="lineno"> 307</span>  res = 1<<d;</div>
<div class="line"><a name="l00308"></a><span class="lineno"> 308</span>  <span class="keywordtype">double</span> _start = ( off + 0.5 - 0.5*(Degree+1) ) / res - smooth;</div>
<div class="line"><a name="l00309"></a><span class="lineno"> 309</span>  <span class="keywordtype">double</span> _end = ( off + 0.5 + 0.5*(Degree+1) ) / res + smooth;</div>
<div class="line"><a name="l00310"></a><span class="lineno"> 310</span>  <span class="comment">// (start)/(sampleCount-1) >_start && (start-1)/(sampleCount-1)<=_start</span></div>
<div class="line"><a name="l00311"></a><span class="lineno"> 311</span>  <span class="comment">// => start > _start * (sampleCount-1 ) && start <= _start*(sampleCount-1) + 1</span></div>
<div class="line"><a name="l00312"></a><span class="lineno"> 312</span>  <span class="comment">// => _start * (sampleCount-1) + 1 >= start > _start * (sampleCount-1)</span></div>
<div class="line"><a name="l00313"></a><span class="lineno"> 313</span>  start = <span class="keyword">static_cast<</span><span class="keywordtype">int</span><span class="keyword">></span>( floor( _start * (sampleCount-1) + 1 ) );</div>
<div class="line"><a name="l00314"></a><span class="lineno"> 314</span>  <span class="keywordflow">if</span>( start<0 ) start = 0;</div>
<div class="line"><a name="l00315"></a><span class="lineno"> 315</span>  <span class="comment">// (end)/(sampleCount-1)<_end && (end+1)/(sampleCount-1)>=_end</span></div>
<div class="line"><a name="l00316"></a><span class="lineno"> 316</span>  <span class="comment">// => end < _end * (sampleCount-1 ) && end >= _end*(sampleCount-1) - 1</span></div>
<div class="line"><a name="l00317"></a><span class="lineno"> 317</span>  <span class="comment">// => _end * (sampleCount-1) > end >= _end * (sampleCount-1) - 1</span></div>
<div class="line"><a name="l00318"></a><span class="lineno"> 318</span>  end = <span class="keyword">static_cast<</span><span class="keywordtype">int</span><span class="keyword">></span>( ceil( _end * (sampleCount-1) - 1 ) );</div>
<div class="line"><a name="l00319"></a><span class="lineno"> 319</span>  <span class="keywordflow">if</span>( end>=sampleCount ) end = sampleCount-1;</div>
<div class="line"><a name="l00320"></a><span class="lineno"> 320</span>  }</div>
<div class="line"><a name="l00321"></a><span class="lineno"> 321</span>  <span class="keyword">template</span><<span class="keywordtype">int</span> Degree,<span class="keyword">class</span> Real></div>
<div class="line"><a name="l00322"></a><span class="lineno"><a class="line" href="classpcl_1_1poisson_1_1_b_spline_data.html#a49bcb849c66f0f9cc8ecb896c4e7329c"> 322</a></span>  <span class="keywordtype">void</span> <a class="code" href="classpcl_1_1poisson_1_1_b_spline_data.html#a49bcb849c66f0f9cc8ecb896c4e7329c">BSplineData<Degree,Real>::setValueTables</a>( <span class="keywordtype">int</span> flags , <span class="keywordtype">double</span> smooth )</div>
<div class="line"><a name="l00323"></a><span class="lineno"> 323</span>  {</div>
<div class="line"><a name="l00324"></a><span class="lineno"> 324</span>  clearValueTables();</div>
<div class="line"><a name="l00325"></a><span class="lineno"> 325</span>  <span class="keywordflow">if</span>( flags & VALUE_FLAG ) valueTables = <span class="keyword">new</span> <a class="code" href="namespacepcl_1_1poisson.html#a7a00b0a7dfe066febcf1407614ebfa9c">Real</a>[functionCount*sampleCount];</div>
<div class="line"><a name="l00326"></a><span class="lineno"> 326</span>  <span class="keywordflow">if</span>( flags & D_VALUE_FLAG ) dValueTables = <span class="keyword">new</span> <a class="code" href="namespacepcl_1_1poisson.html#a7a00b0a7dfe066febcf1407614ebfa9c">Real</a>[functionCount*sampleCount];</div>
<div class="line"><a name="l00327"></a><span class="lineno"> 327</span>  <a class="code" href="classpcl_1_1poisson_1_1_p_polynomial.html">PPolynomial<Degree+1></a> <span class="keyword">function</span>;</div>
<div class="line"><a name="l00328"></a><span class="lineno"> 328</span>  <a class="code" href="classpcl_1_1poisson_1_1_p_polynomial.html">PPolynomial<Degree></a> dFunction;</div>
<div class="line"><a name="l00329"></a><span class="lineno"> 329</span>  <span class="keywordflow">for</span>( <span class="keywordtype">int</span> i=0 ; i<functionCount ; i++ )</div>
<div class="line"><a name="l00330"></a><span class="lineno"> 330</span>  {</div>
<div class="line"><a name="l00331"></a><span class="lineno"> 331</span>  <span class="keywordflow">if</span>(smooth>0)</div>
<div class="line"><a name="l00332"></a><span class="lineno"> 332</span>  {</div>
<div class="line"><a name="l00333"></a><span class="lineno"> 333</span>  <span class="keyword">function</span> = baseFunctions[i].<a class="code" href="classpcl_1_1poisson_1_1_p_polynomial.html#ae568394dc3022552529abf28faa3ebcc">MovingAverage</a>(smooth);</div>
<div class="line"><a name="l00334"></a><span class="lineno"> 334</span>  dFunction = baseFunctions[i].<a class="code" href="classpcl_1_1poisson_1_1_p_polynomial.html#ad5bfe76c675a2531a9907006e3116a6a">derivative</a>().<a class="code" href="classpcl_1_1poisson_1_1_p_polynomial.html#ae568394dc3022552529abf28faa3ebcc">MovingAverage</a>(smooth);</div>
<div class="line"><a name="l00335"></a><span class="lineno"> 335</span>  }</div>
<div class="line"><a name="l00336"></a><span class="lineno"> 336</span>  <span class="keywordflow">else</span></div>
<div class="line"><a name="l00337"></a><span class="lineno"> 337</span>  {</div>
<div class="line"><a name="l00338"></a><span class="lineno"> 338</span>  <span class="keyword">function</span> = baseFunctions[i];</div>
<div class="line"><a name="l00339"></a><span class="lineno"> 339</span>  dFunction = baseFunctions[i].<a class="code" href="classpcl_1_1poisson_1_1_p_polynomial.html#ad5bfe76c675a2531a9907006e3116a6a">derivative</a>();</div>
<div class="line"><a name="l00340"></a><span class="lineno"> 340</span>  }</div>
<div class="line"><a name="l00341"></a><span class="lineno"> 341</span>  <span class="keywordflow">for</span>( <span class="keywordtype">int</span> j=0 ; j<sampleCount ; j++ )</div>
<div class="line"><a name="l00342"></a><span class="lineno"> 342</span>  {</div>
<div class="line"><a name="l00343"></a><span class="lineno"> 343</span>  <span class="keywordtype">double</span> x=<span class="keyword">static_cast<</span><span class="keywordtype">double</span><span class="keyword">></span>(j)/(sampleCount-1);</div>
<div class="line"><a name="l00344"></a><span class="lineno"> 344</span>  <span class="keywordflow">if</span>(flags & VALUE_FLAG){ valueTables[j*functionCount+i]=<a class="code" href="namespacepcl_1_1poisson.html#a7a00b0a7dfe066febcf1407614ebfa9c">Real</a>( <span class="keyword">function</span>(x));}</div>
<div class="line"><a name="l00345"></a><span class="lineno"> 345</span>  <span class="keywordflow">if</span>(flags & D_VALUE_FLAG){dValueTables[j*functionCount+i]=<a class="code" href="namespacepcl_1_1poisson.html#a7a00b0a7dfe066febcf1407614ebfa9c">Real</a>(dFunction(x));}</div>
<div class="line"><a name="l00346"></a><span class="lineno"> 346</span>  }</div>
<div class="line"><a name="l00347"></a><span class="lineno"> 347</span>  }</div>
<div class="line"><a name="l00348"></a><span class="lineno"> 348</span>  }</div>
<div class="line"><a name="l00349"></a><span class="lineno"> 349</span>  <span class="keyword">template</span><<span class="keywordtype">int</span> Degree,<span class="keyword">class</span> Real></div>
<div class="line"><a name="l00350"></a><span class="lineno"><a class="line" href="classpcl_1_1poisson_1_1_b_spline_data.html#a34ae053824e4fb0daa732b5f188054fe"> 350</a></span>  <span class="keywordtype">void</span> <a class="code" href="classpcl_1_1poisson_1_1_b_spline_data.html#a49bcb849c66f0f9cc8ecb896c4e7329c">BSplineData<Degree,Real>::setValueTables</a>(<span class="keywordtype">int</span> flags,<span class="keywordtype">double</span> valueSmooth,<span class="keywordtype">double</span> normalSmooth){</div>
<div class="line"><a name="l00351"></a><span class="lineno"> 351</span>  clearValueTables();</div>
<div class="line"><a name="l00352"></a><span class="lineno"> 352</span>  <span class="keywordflow">if</span>(flags & VALUE_FLAG){ valueTables=<span class="keyword">new</span> <a class="code" href="namespacepcl_1_1poisson.html#a7a00b0a7dfe066febcf1407614ebfa9c">Real</a>[functionCount*sampleCount];}</div>
<div class="line"><a name="l00353"></a><span class="lineno"> 353</span>  <span class="keywordflow">if</span>(flags & D_VALUE_FLAG){dValueTables=<span class="keyword">new</span> <a class="code" href="namespacepcl_1_1poisson.html#a7a00b0a7dfe066febcf1407614ebfa9c">Real</a>[functionCount*sampleCount];}</div>
<div class="line"><a name="l00354"></a><span class="lineno"> 354</span>  <a class="code" href="classpcl_1_1poisson_1_1_p_polynomial.html">PPolynomial<Degree+1></a> <span class="keyword">function</span>;</div>
<div class="line"><a name="l00355"></a><span class="lineno"> 355</span>  <a class="code" href="classpcl_1_1poisson_1_1_p_polynomial.html">PPolynomial<Degree></a> dFunction;</div>
<div class="line"><a name="l00356"></a><span class="lineno"> 356</span>  <span class="keywordflow">for</span>(<span class="keywordtype">int</span> i=0;i<functionCount;i++){</div>
<div class="line"><a name="l00357"></a><span class="lineno"> 357</span>  <span class="keywordflow">if</span>(valueSmooth>0) { <span class="keyword">function</span>=baseFunctions[i].<a class="code" href="classpcl_1_1poisson_1_1_p_polynomial.html#ae568394dc3022552529abf28faa3ebcc">MovingAverage</a>(valueSmooth);}</div>
<div class="line"><a name="l00358"></a><span class="lineno"> 358</span>  <span class="keywordflow">else</span> { <span class="keyword">function</span>=baseFunctions[i];}</div>
<div class="line"><a name="l00359"></a><span class="lineno"> 359</span>  <span class="keywordflow">if</span>(normalSmooth>0) {dFunction=baseFunctions[i].<a class="code" href="classpcl_1_1poisson_1_1_p_polynomial.html#ad5bfe76c675a2531a9907006e3116a6a">derivative</a>().<a class="code" href="classpcl_1_1poisson_1_1_p_polynomial.html#ae568394dc3022552529abf28faa3ebcc">MovingAverage</a>(normalSmooth);}</div>
<div class="line"><a name="l00360"></a><span class="lineno"> 360</span>  <span class="keywordflow">else</span> {dFunction=baseFunctions[i].<a class="code" href="classpcl_1_1poisson_1_1_p_polynomial.html#ad5bfe76c675a2531a9907006e3116a6a">derivative</a>();}</div>
<div class="line"><a name="l00361"></a><span class="lineno"> 361</span>  </div>
<div class="line"><a name="l00362"></a><span class="lineno"> 362</span>  <span class="keywordflow">for</span>(<span class="keywordtype">int</span> j=0;j<sampleCount;j++){</div>
<div class="line"><a name="l00363"></a><span class="lineno"> 363</span>  <span class="keywordtype">double</span> x=<span class="keyword">static_cast<</span><span class="keywordtype">double</span><span class="keyword">></span>(j)/(sampleCount-1);</div>
<div class="line"><a name="l00364"></a><span class="lineno"> 364</span>  <span class="keywordflow">if</span>(flags & VALUE_FLAG){ valueTables[j*functionCount+i]=<a class="code" href="namespacepcl_1_1poisson.html#a7a00b0a7dfe066febcf1407614ebfa9c">Real</a>( <span class="keyword">function</span>(x));}</div>
<div class="line"><a name="l00365"></a><span class="lineno"> 365</span>  <span class="keywordflow">if</span>(flags & D_VALUE_FLAG){dValueTables[j*functionCount+i]=<a class="code" href="namespacepcl_1_1poisson.html#a7a00b0a7dfe066febcf1407614ebfa9c">Real</a>(dFunction(x));}</div>
<div class="line"><a name="l00366"></a><span class="lineno"> 366</span>  }</div>
<div class="line"><a name="l00367"></a><span class="lineno"> 367</span>  }</div>
<div class="line"><a name="l00368"></a><span class="lineno"> 368</span>  }</div>
<div class="line"><a name="l00369"></a><span class="lineno"> 369</span>  </div>
<div class="line"><a name="l00370"></a><span class="lineno"> 370</span>  </div>
<div class="line"><a name="l00371"></a><span class="lineno"> 371</span>  <span class="keyword">template</span><<span class="keywordtype">int</span> Degree,<span class="keyword">class</span> Real></div>
<div class="line"><a name="l00372"></a><span class="lineno"><a class="line" href="classpcl_1_1poisson_1_1_b_spline_data.html#a593dae9868faea32f36e90ea48c7e672"> 372</a></span>  <span class="keywordtype">void</span> <a class="code" href="classpcl_1_1poisson_1_1_b_spline_data.html#a593dae9868faea32f36e90ea48c7e672">BSplineData<Degree,Real>::clearValueTables</a>(){</div>
<div class="line"><a name="l00373"></a><span class="lineno"> 373</span>  <span class="keyword">delete</span>[] valueTables;</div>
<div class="line"><a name="l00374"></a><span class="lineno"> 374</span>  <span class="keyword">delete</span>[] dValueTables;</div>
<div class="line"><a name="l00375"></a><span class="lineno"> 375</span>  valueTables=dValueTables=NULL;</div>
<div class="line"><a name="l00376"></a><span class="lineno"> 376</span>  }</div>
<div class="line"><a name="l00377"></a><span class="lineno"> 377</span>  </div>
<div class="line"><a name="l00378"></a><span class="lineno"> 378</span>  <span class="keyword">template</span><<span class="keywordtype">int</span> Degree,<span class="keyword">class</span> Real></div>
<div class="line"><a name="l00379"></a><span class="lineno"><a class="line" href="classpcl_1_1poisson_1_1_b_spline_data.html#aaa8d6c3cc36dd4b4dd56f3b26e4dcc6c"> 379</a></span>  <span class="keyword">inline</span> <span class="keywordtype">int</span> <a class="code" href="classpcl_1_1poisson_1_1_b_spline_data.html#aaa8d6c3cc36dd4b4dd56f3b26e4dcc6c">BSplineData<Degree,Real>::Index</a>( <span class="keywordtype">int</span> i1 , <span class="keywordtype">int</span> i2 )<span class="keyword"> const </span>{ <span class="keywordflow">return</span> i1*functionCount+i2; }</div>
<div class="line"><a name="l00380"></a><span class="lineno"> 380</span>  <span class="keyword">template</span><<span class="keywordtype">int</span> Degree,<span class="keyword">class</span> Real></div>
<div class="line"><a name="l00381"></a><span class="lineno"><a class="line" href="classpcl_1_1poisson_1_1_b_spline_data.html#a3cad2f0abbd728e1feac6e27d7d11051"> 381</a></span>  <span class="keyword">inline</span> <span class="keywordtype">int</span> <a class="code" href="classpcl_1_1poisson_1_1_b_spline_data.html#a3cad2f0abbd728e1feac6e27d7d11051">BSplineData<Degree,Real>::SymmetricIndex</a>( <span class="keywordtype">int</span> i1 , <span class="keywordtype">int</span> i2 )</div>
<div class="line"><a name="l00382"></a><span class="lineno"> 382</span>  {</div>
<div class="line"><a name="l00383"></a><span class="lineno"> 383</span>  <span class="keywordflow">if</span>( i1>i2 ) <span class="keywordflow">return</span> ((i1*i1+i1)>>1)+i2;</div>
<div class="line"><a name="l00384"></a><span class="lineno"> 384</span>  <span class="keywordflow">else</span> <span class="keywordflow">return</span> ((i2*i2+i2)>>1)+i1;</div>
<div class="line"><a name="l00385"></a><span class="lineno"> 385</span>  }</div>
<div class="line"><a name="l00386"></a><span class="lineno"> 386</span>  <span class="keyword">template</span><<span class="keywordtype">int</span> Degree,<span class="keyword">class</span> Real></div>
<div class="line"><a name="l00387"></a><span class="lineno"><a class="line" href="classpcl_1_1poisson_1_1_b_spline_data.html#ad9a41f320cba0f782d314db8cbc3a6f6"> 387</a></span>  <span class="keyword">inline</span> <span class="keywordtype">int</span> <a class="code" href="classpcl_1_1poisson_1_1_b_spline_data.html#a3cad2f0abbd728e1feac6e27d7d11051">BSplineData<Degree,Real>::SymmetricIndex</a>( <span class="keywordtype">int</span> i1 , <span class="keywordtype">int</span> i2 , <span class="keywordtype">int</span>& index )</div>
<div class="line"><a name="l00388"></a><span class="lineno"> 388</span>  {</div>
<div class="line"><a name="l00389"></a><span class="lineno"> 389</span>  <span class="keywordflow">if</span>( i1<i2 )</div>
<div class="line"><a name="l00390"></a><span class="lineno"> 390</span>  {</div>
<div class="line"><a name="l00391"></a><span class="lineno"> 391</span>  index = ((i2*i2+i2)>>1)+i1;</div>
<div class="line"><a name="l00392"></a><span class="lineno"> 392</span>  <span class="keywordflow">return</span> 1;</div>
<div class="line"><a name="l00393"></a><span class="lineno"> 393</span>  }</div>
<div class="line"><a name="l00394"></a><span class="lineno"> 394</span>  <span class="keywordflow">else</span></div>
<div class="line"><a name="l00395"></a><span class="lineno"> 395</span>  {</div>
<div class="line"><a name="l00396"></a><span class="lineno"> 396</span>  index = ((i1*i1+i1)>>1)+i2;</div>
<div class="line"><a name="l00397"></a><span class="lineno"> 397</span>  <span class="keywordflow">return</span> 0;</div>
<div class="line"><a name="l00398"></a><span class="lineno"> 398</span>  }</div>
<div class="line"><a name="l00399"></a><span class="lineno"> 399</span>  }</div>
<div class="line"><a name="l00400"></a><span class="lineno"> 400</span>  </div>
<div class="line"><a name="l00401"></a><span class="lineno"> 401</span> <span class="comment"></span> </div>
<div class="line"><a name="l00402"></a><span class="lineno"> 402</span> <span class="comment"> ////////////////////////</span></div>
<div class="line"><a name="l00403"></a><span class="lineno"> 403</span> <span class="comment"></span> <span class="comment">// BSplineElementData //</span><span class="comment"></span></div>
<div class="line"><a name="l00404"></a><span class="lineno"> 404</span> <span class="comment"> ////////////////////////</span></div>
<div class="line"><a name="l00405"></a><span class="lineno"> 405</span> <span class="comment"></span> <span class="keyword">template</span>< <span class="keywordtype">int</span> Degree ></div>
<div class="line"><a name="l00406"></a><span class="lineno"><a class="line" href="structpcl_1_1poisson_1_1_b_spline_elements.html#a54e18a6b5d2a4a7e59bdbbbde985bd46"> 406</a></span>  <a class="code" href="structpcl_1_1poisson_1_1_b_spline_elements.html#a6db8e3e37abbcab543b1a73757f86f1a">BSplineElements< Degree >::BSplineElements</a>( <span class="keywordtype">int</span> res , <span class="keywordtype">int</span> offset , <span class="keywordtype">int</span> boundary )</div>
<div class="line"><a name="l00407"></a><span class="lineno"> 407</span>  {</div>
<div class="line"><a name="l00408"></a><span class="lineno"> 408</span>  denominator = 1;</div>
<div class="line"><a name="l00409"></a><span class="lineno"> 409</span>  this->resize( res , <a class="code" href="structpcl_1_1poisson_1_1_b_spline_element_coefficients.html">BSplineElementCoefficients<Degree></a>() );</div>
<div class="line"><a name="l00410"></a><span class="lineno"> 410</span>  </div>
<div class="line"><a name="l00411"></a><span class="lineno"> 411</span>  <span class="keywordflow">for</span>( <span class="keywordtype">int</span> i=0 ; i<=Degree ; i++ )</div>
<div class="line"><a name="l00412"></a><span class="lineno"> 412</span>  {</div>
<div class="line"><a name="l00413"></a><span class="lineno"> 413</span>  <span class="keywordtype">int</span> idx = -_off + offset + i;</div>
<div class="line"><a name="l00414"></a><span class="lineno"> 414</span>  <span class="keywordflow">if</span>( idx>=0 && idx<res ) (*this)[idx][i] = 1;</div>
<div class="line"><a name="l00415"></a><span class="lineno"> 415</span>  }</div>
<div class="line"><a name="l00416"></a><span class="lineno"> 416</span>  <span class="keywordflow">if</span>( boundary!=0 )</div>
<div class="line"><a name="l00417"></a><span class="lineno"> 417</span>  {</div>
<div class="line"><a name="l00418"></a><span class="lineno"> 418</span>  _addLeft( offset-2*res , boundary ) , _addRight( offset+2*res , boundary );</div>
<div class="line"><a name="l00419"></a><span class="lineno"> 419</span>  <span class="keywordflow">if</span>( Degree&1 ) _addLeft( offset-res , boundary ) , _addRight( offset+res , boundary );</div>
<div class="line"><a name="l00420"></a><span class="lineno"> 420</span>  <span class="keywordflow">else</span> _addLeft( -offset-1 , boundary ) , _addRight( -offset-1+2*res , boundary );</div>
<div class="line"><a name="l00421"></a><span class="lineno"> 421</span>  }</div>
<div class="line"><a name="l00422"></a><span class="lineno"> 422</span>  }</div>
<div class="line"><a name="l00423"></a><span class="lineno"> 423</span>  <span class="keyword">template</span>< <span class="keywordtype">int</span> Degree ></div>
<div class="line"><a name="l00424"></a><span class="lineno"><a class="line" href="structpcl_1_1poisson_1_1_b_spline_elements.html#a96c8e2ce22aa98d26f118e9d83e631c5"> 424</a></span>  <span class="keywordtype">void</span> <a class="code" href="structpcl_1_1poisson_1_1_b_spline_elements.html#a96c8e2ce22aa98d26f118e9d83e631c5">BSplineElements< Degree >::_addLeft</a>( <span class="keywordtype">int</span> offset , <span class="keywordtype">int</span> boundary )</div>
<div class="line"><a name="l00425"></a><span class="lineno"> 425</span>  {</div>
<div class="line"><a name="l00426"></a><span class="lineno"> 426</span>  <span class="keywordtype">int</span> res = int( this->size() );</div>
<div class="line"><a name="l00427"></a><span class="lineno"> 427</span>  <span class="keywordtype">bool</span> set = <span class="keyword">false</span>;</div>
<div class="line"><a name="l00428"></a><span class="lineno"> 428</span>  <span class="keywordflow">for</span>( <span class="keywordtype">int</span> i=0 ; i<=Degree ; i++ )</div>
<div class="line"><a name="l00429"></a><span class="lineno"> 429</span>  {</div>
<div class="line"><a name="l00430"></a><span class="lineno"> 430</span>  <span class="keywordtype">int</span> idx = -_off + offset + i;</div>
<div class="line"><a name="l00431"></a><span class="lineno"> 431</span>  <span class="keywordflow">if</span>( idx>=0 && idx<res ) (*this)[idx][i] += boundary , set = <span class="keyword">true</span>;</div>
<div class="line"><a name="l00432"></a><span class="lineno"> 432</span>  }</div>
<div class="line"><a name="l00433"></a><span class="lineno"> 433</span>  <span class="keywordflow">if</span>( set ) _addLeft( offset-2*res , boundary );</div>
<div class="line"><a name="l00434"></a><span class="lineno"> 434</span>  }</div>
<div class="line"><a name="l00435"></a><span class="lineno"> 435</span>  <span class="keyword">template</span>< <span class="keywordtype">int</span> Degree ></div>
<div class="line"><a name="l00436"></a><span class="lineno"><a class="line" href="structpcl_1_1poisson_1_1_b_spline_elements.html#a6e2b4a4462fb2622e4ffc49709f0254d"> 436</a></span>  <span class="keywordtype">void</span> <a class="code" href="structpcl_1_1poisson_1_1_b_spline_elements.html#a6e2b4a4462fb2622e4ffc49709f0254d">BSplineElements< Degree >::_addRight</a>( <span class="keywordtype">int</span> offset , <span class="keywordtype">int</span> boundary )</div>
<div class="line"><a name="l00437"></a><span class="lineno"> 437</span>  {</div>
<div class="line"><a name="l00438"></a><span class="lineno"> 438</span>  <span class="keywordtype">int</span> res = int( this->size() );</div>
<div class="line"><a name="l00439"></a><span class="lineno"> 439</span>  <span class="keywordtype">bool</span> set = <span class="keyword">false</span>;</div>
<div class="line"><a name="l00440"></a><span class="lineno"> 440</span>  <span class="keywordflow">for</span>( <span class="keywordtype">int</span> i=0 ; i<=Degree ; i++ )</div>
<div class="line"><a name="l00441"></a><span class="lineno"> 441</span>  {</div>
<div class="line"><a name="l00442"></a><span class="lineno"> 442</span>  <span class="keywordtype">int</span> idx = -_off + offset + i;</div>
<div class="line"><a name="l00443"></a><span class="lineno"> 443</span>  <span class="keywordflow">if</span>( idx>=0 && idx<res ) (*this)[idx][i] += boundary , set = <span class="keyword">true</span>;</div>
<div class="line"><a name="l00444"></a><span class="lineno"> 444</span>  }</div>
<div class="line"><a name="l00445"></a><span class="lineno"> 445</span>  <span class="keywordflow">if</span>( set ) _addRight( offset+2*res , boundary );</div>
<div class="line"><a name="l00446"></a><span class="lineno"> 446</span>  }</div>
<div class="line"><a name="l00447"></a><span class="lineno"> 447</span>  <span class="keyword">template</span>< <span class="keywordtype">int</span> Degree ></div>
<div class="line"><a name="l00448"></a><span class="lineno"><a class="line" href="structpcl_1_1poisson_1_1_b_spline_elements.html#ae252bc34129212e1cd71b113f209752f"> 448</a></span>  <span class="keywordtype">void</span> <a class="code" href="structpcl_1_1poisson_1_1_b_spline_elements.html#ae252bc34129212e1cd71b113f209752f">BSplineElements< Degree >::upSample</a>( <a class="code" href="structpcl_1_1poisson_1_1_b_spline_elements.html">BSplineElements< Degree ></a>&)<span class="keyword"> const</span></div>
<div class="line"><a name="l00449"></a><span class="lineno"> 449</span> <span class="keyword"> </span>{</div>
<div class="line"><a name="l00450"></a><span class="lineno"> 450</span>  POISSON_THROW_EXCEPTION (<a class="code" href="classpcl_1_1poisson_1_1_poisson_bad_argument_exception.html">pcl::poisson::PoissonBadArgumentException</a>, <span class="stringliteral">"B-spline up-sampling not supported for degree "</span> << Degree);</div>
<div class="line"><a name="l00451"></a><span class="lineno"> 451</span>  }</div>
<div class="line"><a name="l00452"></a><span class="lineno"> 452</span>  <span class="keyword">template</span><></div>
<div class="line"><a name="l00453"></a><span class="lineno"><a class="line" href="structpcl_1_1poisson_1_1_b_spline_elements.html#a5ce12fd846dae77d63d1c6f8de2a062d"> 453</a></span>  <span class="keywordtype">void</span> <a class="code" href="pcl__macros_8h.html#a2b443b7908f11aed38b620b570e5ebce">PCL_EXPORTS</a> <a class="code" href="structpcl_1_1poisson_1_1_b_spline_elements.html#ae252bc34129212e1cd71b113f209752f">BSplineElements< 1 >::upSample</a>( <a class="code" href="structpcl_1_1poisson_1_1_b_spline_elements.html">BSplineElements< 1 ></a>& high ) <span class="keyword">const</span>;</div>
<div class="line"><a name="l00454"></a><span class="lineno"> 454</span>  </div>
<div class="line"><a name="l00455"></a><span class="lineno"> 455</span>  <span class="keyword">template</span><></div>
<div class="line"><a name="l00456"></a><span class="lineno"><a class="line" href="structpcl_1_1poisson_1_1_b_spline_elements.html#acececc835d9836bba971e01751dc07b2"> 456</a></span>  <span class="keywordtype">void</span> <a class="code" href="pcl__macros_8h.html#a2b443b7908f11aed38b620b570e5ebce">PCL_EXPORTS</a> <a class="code" href="structpcl_1_1poisson_1_1_b_spline_elements.html#ae252bc34129212e1cd71b113f209752f">BSplineElements< 2 >::upSample</a>( <a class="code" href="structpcl_1_1poisson_1_1_b_spline_elements.html">BSplineElements< 2 ></a>& high ) <span class="keyword">const</span>;</div>
<div class="line"><a name="l00457"></a><span class="lineno"> 457</span>  </div>
<div class="line"><a name="l00458"></a><span class="lineno"> 458</span>  <span class="keyword">template</span>< <span class="keywordtype">int</span> Degree ></div>
<div class="line"><a name="l00459"></a><span class="lineno"><a class="line" href="structpcl_1_1poisson_1_1_b_spline_elements.html#a523fc37dcf3bed43c7bd89166a71a5e1"> 459</a></span>  <span class="keywordtype">void</span> <a class="code" href="structpcl_1_1poisson_1_1_b_spline_elements.html#a523fc37dcf3bed43c7bd89166a71a5e1">BSplineElements< Degree >::differentiate</a>( <a class="code" href="structpcl_1_1poisson_1_1_b_spline_elements.html">BSplineElements< Degree-1 ></a>& d )<span class="keyword"> const</span></div>
<div class="line"><a name="l00460"></a><span class="lineno"> 460</span> <span class="keyword"> </span>{</div>
<div class="line"><a name="l00461"></a><span class="lineno"> 461</span>  d.resize( this->size() );</div>
<div class="line"><a name="l00462"></a><span class="lineno"> 462</span>  d.assign( d.size() , <a class="code" href="structpcl_1_1poisson_1_1_b_spline_element_coefficients.html">BSplineElementCoefficients< Degree-1 ></a>() );</div>
<div class="line"><a name="l00463"></a><span class="lineno"> 463</span>  <span class="keywordflow">for</span>( <span class="keywordtype">int</span> i=0 ; i<int(this->size()) ; i++ ) <span class="keywordflow">for</span>( <span class="keywordtype">int</span> j=0 ; j<=Degree ; j++ )</div>
<div class="line"><a name="l00464"></a><span class="lineno"> 464</span>  {</div>
<div class="line"><a name="l00465"></a><span class="lineno"> 465</span>  <span class="keywordflow">if</span>( j-1>=0 ) d[i][j-1] -= (*this)[i][j];</div>
<div class="line"><a name="l00466"></a><span class="lineno"> 466</span>  <span class="keywordflow">if</span>( j<Degree ) d[i][j ] += (*this)[i][j];</div>
<div class="line"><a name="l00467"></a><span class="lineno"> 467</span>  }</div>
<div class="line"><a name="l00468"></a><span class="lineno"> 468</span>  d.<a class="code" href="structpcl_1_1poisson_1_1_b_spline_elements.html#ab3981020a747bb059c0da8d0c85992e7">denominator</a> = denominator;</div>
<div class="line"><a name="l00469"></a><span class="lineno"> 469</span>  }</div>
<div class="line"><a name="l00470"></a><span class="lineno"> 470</span>  <span class="comment">// If we were really good, we would implement this integral table to store</span></div>
<div class="line"><a name="l00471"></a><span class="lineno"> 471</span>  <span class="comment">// rational values to improve precision...</span></div>
<div class="line"><a name="l00472"></a><span class="lineno"> 472</span>  <span class="keyword">template</span>< <span class="keywordtype">int</span> Degree1 , <span class="keywordtype">int</span> Degree2 ></div>
<div class="line"><a name="l00473"></a><span class="lineno"><a class="line" href="namespacepcl_1_1poisson.html#ace587f294936d1941bebc9cee723459d"> 473</a></span>  <span class="keywordtype">void</span> <a class="code" href="namespacepcl_1_1poisson.html#ace587f294936d1941bebc9cee723459d">SetBSplineElementIntegrals</a>( <span class="keywordtype">double</span> integrals[Degree1+1][Degree2+1] )</div>
<div class="line"><a name="l00474"></a><span class="lineno"> 474</span>  {</div>
<div class="line"><a name="l00475"></a><span class="lineno"> 475</span>  <span class="keywordflow">for</span>( <span class="keywordtype">int</span> i=0 ; i<=Degree1 ; i++ )</div>
<div class="line"><a name="l00476"></a><span class="lineno"> 476</span>  {</div>
<div class="line"><a name="l00477"></a><span class="lineno"> 477</span>  <a class="code" href="classpcl_1_1poisson_1_1_polynomial.html">Polynomial< Degree1 ></a> p1 = <a class="code" href="classpcl_1_1poisson_1_1_polynomial.html#aba3347f62c72e26aab121c0c76eead23">Polynomial< Degree1 >::BSplineComponent</a>( i );</div>
<div class="line"><a name="l00478"></a><span class="lineno"> 478</span>  <span class="keywordflow">for</span>( <span class="keywordtype">int</span> j=0 ; j<=Degree2 ; j++ )</div>
<div class="line"><a name="l00479"></a><span class="lineno"> 479</span>  {</div>
<div class="line"><a name="l00480"></a><span class="lineno"> 480</span>  <a class="code" href="classpcl_1_1poisson_1_1_polynomial.html">Polynomial< Degree2 ></a> p2 = <a class="code" href="classpcl_1_1poisson_1_1_polynomial.html#aba3347f62c72e26aab121c0c76eead23">Polynomial< Degree2 >::BSplineComponent</a>( j );</div>
<div class="line"><a name="l00481"></a><span class="lineno"> 481</span>  integrals[i][j] = ( p1 * p2 ).integral( 0 , 1 );</div>
<div class="line"><a name="l00482"></a><span class="lineno"> 482</span>  }</div>
<div class="line"><a name="l00483"></a><span class="lineno"> 483</span>  }</div>
<div class="line"><a name="l00484"></a><span class="lineno"> 484</span>  }</div>
<div class="line"><a name="l00485"></a><span class="lineno"> 485</span>  </div>
<div class="line"><a name="l00486"></a><span class="lineno"> 486</span>  </div>
<div class="line"><a name="l00487"></a><span class="lineno"> 487</span>  }</div>
<div class="line"><a name="l00488"></a><span class="lineno"> 488</span> }</div>
<div class="ttc" id="aclasspcl_1_1poisson_1_1_b_spline_data_html_a20b8e4d11cdbe39a2d60c65650d6be22"><div class="ttname"><a href="classpcl_1_1poisson_1_1_b_spline_data.html#a20b8e4d11cdbe39a2d60c65650d6be22">pcl::poisson::BSplineData::~BSplineData</a></div><div class="ttdeci">virtual ~BSplineData()</div><div class="ttdef"><b>Definition:</b> <a href="bspline__data_8hpp_source.html#l00094">bspline_data.hpp:94</a></div></div>
<div class="ttc" id="aclasspcl_1_1poisson_1_1_b_spline_data_html_a3c2494b34bc3dc4cad3f82d224ca4fa8"><div class="ttname"><a href="classpcl_1_1poisson_1_1_b_spline_data.html#a3c2494b34bc3dc4cad3f82d224ca4fa8">pcl::poisson::BSplineData::set</a></div><div class="ttdeci">void set(int maxDepth, bool useDotRatios=true, bool reflectBoundary=false)</div><div class="ttdef"><b>Definition:</b> <a href="bspline__data_8hpp_source.html#l00116">bspline_data.hpp:116</a></div></div>
<div class="ttc" id="aclasspcl_1_1poisson_1_1_b_spline_data_html_a3cad2f0abbd728e1feac6e27d7d11051"><div class="ttname"><a href="classpcl_1_1poisson_1_1_b_spline_data.html#a3cad2f0abbd728e1feac6e27d7d11051">pcl::poisson::BSplineData::SymmetricIndex</a></div><div class="ttdeci">static int SymmetricIndex(int i1, int i2)</div><div class="ttdef"><b>Definition:</b> <a href="bspline__data_8hpp_source.html#l00381">bspline_data.hpp:381</a></div></div>
<div class="ttc" id="aclasspcl_1_1poisson_1_1_b_spline_data_html_a49bcb849c66f0f9cc8ecb896c4e7329c"><div class="ttname"><a href="classpcl_1_1poisson_1_1_b_spline_data.html#a49bcb849c66f0f9cc8ecb896c4e7329c">pcl::poisson::BSplineData::setValueTables</a></div><div class="ttdeci">virtual void setValueTables(int flags, double smooth=0)</div><div class="ttdef"><b>Definition:</b> <a href="bspline__data_8hpp_source.html#l00322">bspline_data.hpp:322</a></div></div>
<div class="ttc" id="aclasspcl_1_1poisson_1_1_b_spline_data_html_a522ae2005e2d2be46528ff055703accb"><div class="ttname"><a href="classpcl_1_1poisson_1_1_b_spline_data.html#a522ae2005e2d2be46528ff055703accb">pcl::poisson::BSplineData::clearDotTables</a></div><div class="ttdeci">virtual void clearDotTables(int flags)</div><div class="ttdef"><b>Definition:</b> <a href="bspline__data_8hpp_source.html#l00290">bspline_data.hpp:290</a></div></div>
<div class="ttc" id="aclasspcl_1_1poisson_1_1_b_spline_data_html_a593dae9868faea32f36e90ea48c7e672"><div class="ttname"><a href="classpcl_1_1poisson_1_1_b_spline_data.html#a593dae9868faea32f36e90ea48c7e672">pcl::poisson::BSplineData::clearValueTables</a></div><div class="ttdeci">virtual void clearValueTables()</div><div class="ttdef"><b>Definition:</b> <a href="bspline__data_8hpp_source.html#l00372">bspline_data.hpp:372</a></div></div>
<div class="ttc" id="aclasspcl_1_1poisson_1_1_b_spline_data_html_a678effb56fb96c12d6b7300ddf332ba0"><div class="ttname"><a href="classpcl_1_1poisson_1_1_b_spline_data.html#a678effb56fb96c12d6b7300ddf332ba0">pcl::poisson::BSplineData::setDotTables</a></div><div class="ttdeci">virtual void setDotTables(int flags)</div><div class="ttdef"><b>Definition:</b> <a href="bspline__data_8hpp_source.html#l00175">bspline_data.hpp:175</a></div></div>
<div class="ttc" id="aclasspcl_1_1poisson_1_1_b_spline_data_html_aa91c0a4859a2c70418d49b544984166c"><div class="ttname"><a href="classpcl_1_1poisson_1_1_b_spline_data.html#aa91c0a4859a2c70418d49b544984166c">pcl::poisson::BSplineData::setSampleSpan</a></div><div class="ttdeci">void setSampleSpan(int idx, int &start, int &end, double smooth=0) const</div><div class="ttdef"><b>Definition:</b> <a href="bspline__data_8hpp_source.html#l00303">bspline_data.hpp:303</a></div></div>
<div class="ttc" id="aclasspcl_1_1poisson_1_1_b_spline_data_html_aaa8d6c3cc36dd4b4dd56f3b26e4dcc6c"><div class="ttname"><a href="classpcl_1_1poisson_1_1_b_spline_data.html#aaa8d6c3cc36dd4b4dd56f3b26e4dcc6c">pcl::poisson::BSplineData::Index</a></div><div class="ttdeci">int Index(int i1, int i2) const</div><div class="ttdef"><b>Definition:</b> <a href="bspline__data_8hpp_source.html#l00379">bspline_data.hpp:379</a></div></div>
<div class="ttc" id="aclasspcl_1_1poisson_1_1_b_spline_data_html_add0e50fcd4607e417fa65636896bfb81"><div class="ttname"><a href="classpcl_1_1poisson_1_1_b_spline_data.html#add0e50fcd4607e417fa65636896bfb81">pcl::poisson::BSplineData::BSplineData</a></div><div class="ttdeci">BSplineData()</div><div class="ttdef"><b>Definition:</b> <a href="bspline__data_8hpp_source.html#l00084">bspline_data.hpp:84</a></div></div>
<div class="ttc" id="aclasspcl_1_1poisson_1_1_binary_node_html_a23f38a70574517a8774fad944c2e7ae7"><div class="ttname"><a href="classpcl_1_1poisson_1_1_binary_node.html#a23f38a70574517a8774fad944c2e7ae7">pcl::poisson::BinaryNode::CenterAndWidth</a></div><div class="ttdeci">static void CenterAndWidth(int depth, int offset, Real &center, Real &width)</div><div class="ttdef"><b>Definition:</b> <a href="binary__node_8h_source.html#l00053">binary_node.h:53</a></div></div>
<div class="ttc" id="aclasspcl_1_1poisson_1_1_binary_node_html_a390e933e9a1496465992e289eaba1e89"><div class="ttname"><a href="classpcl_1_1poisson_1_1_binary_node.html#a390e933e9a1496465992e289eaba1e89">pcl::poisson::BinaryNode::CumulativeCenterCount</a></div><div class="ttdeci">static int CumulativeCenterCount(int maxDepth)</div><div class="ttdef"><b>Definition:</b> <a href="binary__node_8h_source.html#l00044">binary_node.h:44</a></div></div>
<div class="ttc" id="aclasspcl_1_1poisson_1_1_binary_node_html_a59cb1e5a18f5cab8a939c4f269906a9f"><div class="ttname"><a href="classpcl_1_1poisson_1_1_binary_node.html#a59cb1e5a18f5cab8a939c4f269906a9f">pcl::poisson::BinaryNode::CenterIndex</a></div><div class="ttdeci">static int CenterIndex(int depth, int offSet)</div><div class="ttdef"><b>Definition:</b> <a href="binary__node_8h_source.html#l00047">binary_node.h:47</a></div></div>
<div class="ttc" id="aclasspcl_1_1poisson_1_1_binary_node_html_a91a2102ca26f8258c8fd53d00ee07e96"><div class="ttname"><a href="classpcl_1_1poisson_1_1_binary_node.html#a91a2102ca26f8258c8fd53d00ee07e96">pcl::poisson::BinaryNode::CornerCount</a></div><div class="ttdeci">static int CornerCount(int depth)</div><div class="ttdef"><b>Definition:</b> <a href="binary__node_8h_source.html#l00043">binary_node.h:43</a></div></div>
<div class="ttc" id="aclasspcl_1_1poisson_1_1_binary_node_html_ad84d51e7de6450a4653358ff24af39b7"><div class="ttname"><a href="classpcl_1_1poisson_1_1_binary_node.html#ad84d51e7de6450a4653358ff24af39b7">pcl::poisson::BinaryNode::CenterCount</a></div><div class="ttdeci">static int CenterCount(int depth)</div><div class="ttdef"><b>Definition:</b> <a href="binary__node_8h_source.html#l00042">binary_node.h:42</a></div></div>
<div class="ttc" id="aclasspcl_1_1poisson_1_1_binary_node_html_afcc9021344bc52824e87ba2c9a9bd0a9"><div class="ttname"><a href="classpcl_1_1poisson_1_1_binary_node.html#afcc9021344bc52824e87ba2c9a9bd0a9">pcl::poisson::BinaryNode::DepthAndOffset</a></div><div class="ttdeci">static void DepthAndOffset(int idx, int &depth, int &offset)</div><div class="ttdef"><b>Definition:</b> <a href="binary__node_8h_source.html#l00064">binary_node.h:64</a></div></div>
<div class="ttc" id="aclasspcl_1_1poisson_1_1_p_polynomial_html"><div class="ttname"><a href="classpcl_1_1poisson_1_1_p_polynomial.html">pcl::poisson::PPolynomial</a></div><div class="ttdef"><b>Definition:</b> <a href="ppolynomial_8h_source.html#l00058">ppolynomial.h:59</a></div></div>
<div class="ttc" id="aclasspcl_1_1poisson_1_1_p_polynomial_html_aa4975cfd97035a9adb1a6b5402854165"><div class="ttname"><a href="classpcl_1_1poisson_1_1_p_polynomial.html#aa4975cfd97035a9adb1a6b5402854165">pcl::poisson::PPolynomial::BSpline</a></div><div class="ttdeci">static PPolynomial BSpline(double radius=0.5)</div><div class="ttdef"><b>Definition:</b> <a href="ppolynomial_8hpp_source.html#l00391">ppolynomial.hpp:391</a></div></div>
<div class="ttc" id="aclasspcl_1_1poisson_1_1_p_polynomial_html_ad5bfe76c675a2531a9907006e3116a6a"><div class="ttname"><a href="classpcl_1_1poisson_1_1_p_polynomial.html#ad5bfe76c675a2531a9907006e3116a6a">pcl::poisson::PPolynomial::derivative</a></div><div class="ttdeci">PPolynomial< Degree-1 > derivative(void) const</div><div class="ttdef"><b>Definition:</b> <a href="ppolynomial_8hpp_source.html#l00287">ppolynomial.hpp:287</a></div></div>
<div class="ttc" id="aclasspcl_1_1poisson_1_1_p_polynomial_html_ae568394dc3022552529abf28faa3ebcc"><div class="ttname"><a href="classpcl_1_1poisson_1_1_p_polynomial.html#ae568394dc3022552529abf28faa3ebcc">pcl::poisson::PPolynomial::MovingAverage</a></div><div class="ttdeci">PPolynomial< Degree+1 > MovingAverage(double radius)</div><div class="ttdef"><b>Definition:</b> <a href="ppolynomial_8hpp_source.html#l00396">ppolynomial.hpp:396</a></div></div>
<div class="ttc" id="aclasspcl_1_1poisson_1_1_poisson_bad_argument_exception_html"><div class="ttname"><a href="classpcl_1_1poisson_1_1_poisson_bad_argument_exception.html">pcl::poisson::PoissonBadArgumentException</a></div><div class="ttdoc">An exception that is thrown when the arguments number or type is wrong/unhandled.</div><div class="ttdef"><b>Definition:</b> <a href="poisson__exceptions_8h_source.html#l00117">poisson_exceptions.h:118</a></div></div>
<div class="ttc" id="aclasspcl_1_1poisson_1_1_polynomial_html"><div class="ttname"><a href="classpcl_1_1poisson_1_1_polynomial.html">pcl::poisson::Polynomial</a></div><div class="ttdef"><b>Definition:</b> <a href="polynomial_8h_source.html#l00040">polynomial.h:40</a></div></div>
<div class="ttc" id="aclasspcl_1_1poisson_1_1_polynomial_html_aba3347f62c72e26aab121c0c76eead23"><div class="ttname"><a href="classpcl_1_1poisson_1_1_polynomial.html#aba3347f62c72e26aab121c0c76eead23">pcl::poisson::Polynomial::BSplineComponent</a></div><div class="ttdeci">static Polynomial BSplineComponent(int i)</div><div class="ttdef"><b>Definition:</b> <a href="polynomial_8hpp_source.html#l00310">polynomial.hpp:310</a></div></div>
<div class="ttc" id="aclasspcl_1_1poisson_1_1_starting_polynomial_html"><div class="ttname"><a href="classpcl_1_1poisson_1_1_starting_polynomial.html">pcl::poisson::StartingPolynomial</a></div><div class="ttdef"><b>Definition:</b> <a href="ppolynomial_8h_source.html#l00044">ppolynomial.h:44</a></div></div>
<div class="ttc" id="aclasspcl_1_1poisson_1_1_starting_polynomial_html_a4778f87d7acb65aca80a8f74a6161fa3"><div class="ttname"><a href="classpcl_1_1poisson_1_1_starting_polynomial.html#a4778f87d7acb65aca80a8f74a6161fa3">pcl::poisson::StartingPolynomial::start</a></div><div class="ttdeci">double start</div><div class="ttdef"><b>Definition:</b> <a href="ppolynomial_8h_source.html#l00047">ppolynomial.h:47</a></div></div>
<div class="ttc" id="aclasspcl_1_1poisson_1_1_starting_polynomial_html_a5134ecb92c7c1e98381e093cb1d3b3f1"><div class="ttname"><a href="classpcl_1_1poisson_1_1_starting_polynomial.html#a5134ecb92c7c1e98381e093cb1d3b3f1">pcl::poisson::StartingPolynomial::shift</a></div><div class="ttdeci">StartingPolynomial shift(double t) const</div><div class="ttdef"><b>Definition:</b> <a href="ppolynomial_8hpp_source.html#l00062">ppolynomial.hpp:62</a></div></div>
<div class="ttc" id="aclasspcl_1_1poisson_1_1_starting_polynomial_html_a77517229e4f80781cd501c808ef7bac9"><div class="ttname"><a href="classpcl_1_1poisson_1_1_starting_polynomial.html#a77517229e4f80781cd501c808ef7bac9">pcl::poisson::StartingPolynomial::p</a></div><div class="ttdeci">Polynomial< Degree > p</div><div class="ttdef"><b>Definition:</b> <a href="ppolynomial_8h_source.html#l00046">ppolynomial.h:46</a></div></div>
<div class="ttc" id="anamespacepcl_1_1poisson_html_a169191b8dcc139d0110199368a864cb1"><div class="ttname"><a href="namespacepcl_1_1poisson.html#a169191b8dcc139d0110199368a864cb1">pcl::poisson::RightOverlap</a></div><div class="ttdeci">bool RightOverlap(unsigned int, int offset)</div><div class="ttdef"><b>Definition:</b> <a href="bspline__data_8hpp_source.html#l00065">bspline_data.hpp:65</a></div></div>
<div class="ttc" id="anamespacepcl_1_1poisson_html_a1e024df7ca5304a90eec245ecdde5fd3"><div class="ttname"><a href="namespacepcl_1_1poisson.html#a1e024df7ca5304a90eec245ecdde5fd3">pcl::poisson::LeftOverlap</a></div><div class="ttdeci">bool LeftOverlap(unsigned int, int offset)</div><div class="ttdef"><b>Definition:</b> <a href="bspline__data_8hpp_source.html#l00059">bspline_data.hpp:59</a></div></div>
<div class="ttc" id="anamespacepcl_1_1poisson_html_a7a00b0a7dfe066febcf1407614ebfa9c"><div class="ttname"><a href="namespacepcl_1_1poisson.html#a7a00b0a7dfe066febcf1407614ebfa9c">pcl::poisson::Real</a></div><div class="ttdeci">float Real</div><div class="ttdef"><b>Definition:</b> <a href="multi__grid__octree__data_8h_source.html#l00085">multi_grid_octree_data.h:85</a></div></div>
<div class="ttc" id="anamespacepcl_1_1poisson_html_aa82b9511550472d24100dc900067e440"><div class="ttname"><a href="namespacepcl_1_1poisson.html#aa82b9511550472d24100dc900067e440">pcl::poisson::ReflectLeft</a></div><div class="ttdeci">int ReflectLeft(unsigned int, int offset)</div><div class="ttdef"><b>Definition:</b> <a href="bspline__data_8hpp_source.html#l00071">bspline_data.hpp:71</a></div></div>
<div class="ttc" id="anamespacepcl_1_1poisson_html_ace587f294936d1941bebc9cee723459d"><div class="ttname"><a href="namespacepcl_1_1poisson.html#ace587f294936d1941bebc9cee723459d">pcl::poisson::SetBSplineElementIntegrals</a></div><div class="ttdeci">void SetBSplineElementIntegrals(double integrals[Degree1+1][Degree2+1])</div><div class="ttdef"><b>Definition:</b> <a href="bspline__data_8hpp_source.html#l00473">bspline_data.hpp:473</a></div></div>
<div class="ttc" id="anamespacepcl_1_1poisson_html_aeb71cafe54c82669df6ab946730d1888"><div class="ttname"><a href="namespacepcl_1_1poisson.html#aeb71cafe54c82669df6ab946730d1888">pcl::poisson::ReflectRight</a></div><div class="ttdeci">int ReflectRight(unsigned int depth, int offset)</div><div class="ttdef"><b>Definition:</b> <a href="bspline__data_8hpp_source.html#l00076">bspline_data.hpp:76</a></div></div>
<div class="ttc" id="anamespacepcl_html"><div class="ttname"><a href="namespacepcl.html">pcl</a></div><div class="ttdef"><b>Definition:</b> <a href="2d_2include_2pcl_22d_2convolution_8h_source.html#l00046">convolution.h:46</a></div></div>
<div class="ttc" id="apcl__macros_8h_html_a2b443b7908f11aed38b620b570e5ebce"><div class="ttname"><a href="pcl__macros_8h.html#a2b443b7908f11aed38b620b570e5ebce">PCL_EXPORTS</a></div><div class="ttdeci">#define PCL_EXPORTS</div><div class="ttdef"><b>Definition:</b> <a href="pcl__macros_8h_source.html#l00323">pcl_macros.h:323</a></div></div>
<div class="ttc" id="astructpcl_1_1poisson_1_1_b_spline_data_1_1_b_spline_components_html"><div class="ttname"><a href="structpcl_1_1poisson_1_1_b_spline_data_1_1_b_spline_components.html">pcl::poisson::BSplineData::BSplineComponents</a></div><div class="ttdef"><b>Definition:</b> <a href="bspline__data_8h_source.html#l00050">bspline_data.h:51</a></div></div>
<div class="ttc" id="astructpcl_1_1poisson_1_1_b_spline_element_coefficients_html"><div class="ttname"><a href="structpcl_1_1poisson_1_1_b_spline_element_coefficients.html">pcl::poisson::BSplineElementCoefficients</a></div><div class="ttdef"><b>Definition:</b> <a href="bspline__data_8h_source.html#l00103">bspline_data.h:104</a></div></div>
<div class="ttc" id="astructpcl_1_1poisson_1_1_b_spline_elements_html"><div class="ttname"><a href="structpcl_1_1poisson_1_1_b_spline_elements.html">pcl::poisson::BSplineElements</a></div><div class="ttdef"><b>Definition:</b> <a href="bspline__data_8h_source.html#l00111">bspline_data.h:112</a></div></div>
<div class="ttc" id="astructpcl_1_1poisson_1_1_b_spline_elements_html_a523fc37dcf3bed43c7bd89166a71a5e1"><div class="ttname"><a href="structpcl_1_1poisson_1_1_b_spline_elements.html#a523fc37dcf3bed43c7bd89166a71a5e1">pcl::poisson::BSplineElements::differentiate</a></div><div class="ttdeci">void differentiate(BSplineElements< Degree-1 > &d) const</div><div class="ttdef"><b>Definition:</b> <a href="bspline__data_8hpp_source.html#l00459">bspline_data.hpp:459</a></div></div>
<div class="ttc" id="astructpcl_1_1poisson_1_1_b_spline_elements_html_a6db8e3e37abbcab543b1a73757f86f1a"><div class="ttname"><a href="structpcl_1_1poisson_1_1_b_spline_elements.html#a6db8e3e37abbcab543b1a73757f86f1a">pcl::poisson::BSplineElements::BSplineElements</a></div><div class="ttdeci">BSplineElements()</div><div class="ttdef"><b>Definition:</b> <a href="bspline__data_8h_source.html#l00126">bspline_data.h:126</a></div></div>
<div class="ttc" id="astructpcl_1_1poisson_1_1_b_spline_elements_html_a6e2b4a4462fb2622e4ffc49709f0254d"><div class="ttname"><a href="structpcl_1_1poisson_1_1_b_spline_elements.html#a6e2b4a4462fb2622e4ffc49709f0254d">pcl::poisson::BSplineElements::_addRight</a></div><div class="ttdeci">void _addRight(int offset, int boundary)</div><div class="ttdef"><b>Definition:</b> <a href="bspline__data_8hpp_source.html#l00436">bspline_data.hpp:436</a></div></div>
<div class="ttc" id="astructpcl_1_1poisson_1_1_b_spline_elements_html_a96c8e2ce22aa98d26f118e9d83e631c5"><div class="ttname"><a href="structpcl_1_1poisson_1_1_b_spline_elements.html#a96c8e2ce22aa98d26f118e9d83e631c5">pcl::poisson::BSplineElements::_addLeft</a></div><div class="ttdeci">void _addLeft(int offset, int boundary)</div><div class="ttdef"><b>Definition:</b> <a href="bspline__data_8hpp_source.html#l00424">bspline_data.hpp:424</a></div></div>
<div class="ttc" id="astructpcl_1_1poisson_1_1_b_spline_elements_html_ab3981020a747bb059c0da8d0c85992e7"><div class="ttname"><a href="structpcl_1_1poisson_1_1_b_spline_elements.html#ab3981020a747bb059c0da8d0c85992e7">pcl::poisson::BSplineElements::denominator</a></div><div class="ttdeci">int denominator</div><div class="ttdef"><b>Definition:</b> <a href="bspline__data_8h_source.html#l00124">bspline_data.h:124</a></div></div>
<div class="ttc" id="astructpcl_1_1poisson_1_1_b_spline_elements_html_ae252bc34129212e1cd71b113f209752f"><div class="ttname"><a href="structpcl_1_1poisson_1_1_b_spline_elements.html#ae252bc34129212e1cd71b113f209752f">pcl::poisson::BSplineElements::upSample</a></div><div class="ttdeci">void upSample(BSplineElements &high) const</div><div class="ttdef"><b>Definition:</b> <a href="bspline__data_8hpp_source.html#l00448">bspline_data.hpp:448</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<hr>
<div id="footer">
<p>
Except where otherwise noted, the PointClouds.org web pages are licensed under <a href="http://creativecommons.org/licenses/by/3.0/">Creative Commons Attribution 3.0</a>.
</p>
<p>Pages generated on Fri Nov 22 2024 10:56:29</p>
</div> <!-- #footer -->
</body>
</html>