-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path3dKSSurfaceExtraction_8cpp.html
278 lines (272 loc) · 30.5 KB
/
3dKSSurfaceExtraction_8cpp.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
<!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>DGtal: 3dKSSurfaceExtraction.cpp File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.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>
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
extensions: ["tex2jax.js", "TeX/AMSmath.js", "TeX/AMSsymbols.js"],
jax: ["input/TeX","output/HTML-CSS"],
});
</script>
<script type="text/javascript" async="async" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.3/MathJax.js?config=TeX-MML-AM_CHTML/MathJax.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="doxygen-awesome.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">DGtal
 <span id="projectnumber">1.4.2</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>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('3dKSSurfaceExtraction_8cpp.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div class="header">
<div class="summary">
<a href="#func-members">Functions</a> </div>
<div class="headertitle">
<div class="title">3dKSSurfaceExtraction.cpp File Reference<div class="ingroups"><a class="el" href="group__Examples.html">DGtal Examples</a></div></div> </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include <iostream></code><br />
<code>#include "DGtal/base/Common.h"</code><br />
<code>#include "DGtal/io/readers/VolReader.h"</code><br />
<code>#include "DGtal/io/DrawWithDisplay3DModifier.h"</code><br />
<code>#include "DGtal/io/viewers/Viewer3D.h"</code><br />
<code>#include "DGtal/io/Color.h"</code><br />
<code>#include "DGtal/images/ImageSelector.h"</code><br />
<code>#include "DGtal/helpers/StdDefs.h"</code><br />
<code>#include "ConfigExamples.h"</code><br />
<code>#include "DGtal/io/colormaps/GradientColorMap.h"</code><br />
<code>#include "DGtal/topology/KhalimskySpaceND.h"</code><br />
<code>#include "DGtal/topology/helpers/Surfaces.h"</code><br />
</div><div class="textblock"><div class="dynheader">
Include dependency graph for 3dKSSurfaceExtraction.cpp:</div>
<div class="dyncontent">
<div class="center"><div class="zoom"><iframe scrolling="no" frameborder="0" src="3dKSSurfaceExtraction_8cpp__incl.svg" width="100%" height="600"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
</div>
</div>
</div>
<p><a href="3dKSSurfaceExtraction_8cpp_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a3c04138a5bfe5d72780bb7e82a18e627"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="3dKSSurfaceExtraction_8cpp.html#a3c04138a5bfe5d72780bb7e82a18e627">main</a> (int argc, char **argv)</td></tr>
<tr class="separator:a3c04138a5bfe5d72780bb7e82a18e627"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.</p>
<p>This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.</p>
<p>You should have received a copy of the GNU General Public License along with this program. If not, see <a href="http://www.gnu.org/licenses/">http://www.gnu.org/licenses/</a>.</p>
<dl class="section author"><dt>Author</dt><dd>Bertrand Kerautret (<code><a href="#" onclick="location.href='mai'+'lto:'+'ker'+'au'+'tre'+'@l'+'ori'+'a.'+'fr'; return false;">kerau<span style="display: none;">.nosp@m.</span>tre@<span style="display: none;">.nosp@m.</span>loria<span style="display: none;">.nosp@m.</span>.fr</a></code> ) LORIA (CNRS, UMR 7503), University of Nancy, France</dd></dl>
<dl class="section date"><dt>Date</dt><dd>2011/06/27</dd></dl>
<p>An example file named 3dKSSurfaceExtraction.</p>
<p>This file is part of the <a class="el" href="namespaceDGtal.html" title="DGtal is the top-level namespace which contains all DGtal functions and types.">DGtal</a> library. </p>
<p class="definition">Definition in file <a class="el" href="3dKSSurfaceExtraction_8cpp_source.html">3dKSSurfaceExtraction.cpp</a>.</p>
</div><h2 class="groupheader">Function Documentation</h2>
<a id="a3c04138a5bfe5d72780bb7e82a18e627"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3c04138a5bfe5d72780bb7e82a18e627">◆ </a></span>main()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int main </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>argc</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">char ** </td>
<td class="paramname"><em>argv</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="3dKSSurfaceExtraction_8cpp_source.html#l00068">68</a> of file <a class="el" href="3dKSSurfaceExtraction_8cpp_source.html">3dKSSurfaceExtraction.cpp</a>.</p>
<div class="fragment"><div class="line"><a name="l00069"></a><span class="lineno"> 69</span> {</div>
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  </div>
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  <a class="code" href="classDGtal_1_1PointVector.html">Point</a> p1( 0, 0, 0 );</div>
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  <a class="code" href="classDGtal_1_1PointVector.html">Point</a> p2( 20, 20, 20 );</div>
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  <a class="code" href="classDGtal_1_1PointVector.html">Point</a> c( 10, 10, 10 );</div>
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  <a class="code" href="classDGtal_1_1HyperRectDomain.html">Domain</a> <a class="code" href="testProjection_8cpp.html#a1f1a69f8d8b037b72c2160ed12b3ef51">domain</a>( p1, p2);</div>
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  </div>
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  <span class="comment">// Generate the digital set from randam seeds and distance threshold.</span></div>
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  <a class="code" href="classDGtal_1_1DigitalSetByAssociativeContainer.html">DigitalSet</a> diamond_set( <a class="code" href="testProjection_8cpp.html#a1f1a69f8d8b037b72c2160ed12b3ef51">domain</a> );</div>
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  <span class="comment">//srand ( time(NULL) );</span></div>
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> nbSeeds = 35;</div>
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  vector<Point> vCenters;</div>
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  vector<uint> vRad;</div>
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  <span class="keywordflow">for</span>(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i=0;i<nbSeeds; i++){</div>
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  vCenters.push_back(<a class="code" href="testClone2_8cpp.html#a15e9592ccc512dc691b46185e6814758">Point</a>(rand()%p2[0], rand()%p2[1],</div>
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  rand()%p2[2]));</div>
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  vRad.push_back(rand()%7);</div>
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  }</div>
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  <span class="keywordflow">for</span> ( <a class="code" href="classDGtal_1_1HyperRectDomain__Iterator.html">Domain::ConstIterator</a> it = <a class="code" href="testProjection_8cpp.html#a1f1a69f8d8b037b72c2160ed12b3ef51">domain</a>.<a class="code" href="classDGtal_1_1HyperRectDomain.html#a49ca258f671ae5c5a5b1f6f9401f4741">begin</a>(); it != <a class="code" href="testProjection_8cpp.html#a1f1a69f8d8b037b72c2160ed12b3ef51">domain</a>.<a class="code" href="classDGtal_1_1HyperRectDomain.html#a490421480f7261aa360e7a67c6a00eae">end</a>(); ++it ){</div>
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  <span class="keywordflow">for</span>(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i=0;i<nbSeeds; i++){</div>
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  <span class="keywordflow">if</span> ( (*it - vCenters.at(i) ).norm1() <= vRad.at(i) && <a class="code" href="testProjection_8cpp.html#a1f1a69f8d8b037b72c2160ed12b3ef51">domain</a>.<a class="code" href="classDGtal_1_1HyperRectDomain.html#a3bea82f197b8b6ff235206724b5c8c2e">isInside</a>(*it) &&</div>
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  <a class="code" href="testProjection_8cpp.html#a1f1a69f8d8b037b72c2160ed12b3ef51">domain</a>.<a class="code" href="classDGtal_1_1HyperRectDomain.html#a3bea82f197b8b6ff235206724b5c8c2e">isInside</a>(*it+<a class="code" href="classDGtal_1_1PointVector.html">Point</a>(1,1,1)) && <a class="code" href="testProjection_8cpp.html#a1f1a69f8d8b037b72c2160ed12b3ef51">domain</a>.<a class="code" href="classDGtal_1_1HyperRectDomain.html#a3bea82f197b8b6ff235206724b5c8c2e">isInside</a>(*it-<a class="code" href="classDGtal_1_1PointVector.html">Point</a>(1,1,1)) ){</div>
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  diamond_set.insertNew( *it );</div>
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  }</div>
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  }</div>
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  }</div>
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  </div>
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  </div>
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  <span class="comment">//A KhalimskySpace is constructed from the domain boundary points.</span></div>
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  <a class="code" href="classDGtal_1_1KhalimskySpaceND.html">KSpace</a> <a class="code" href="testCubicalComplex_8cpp.html#a2b87ed989d2519d025bd5d4fbcbac062">K</a>;</div>
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  <a class="code" href="testCubicalComplex_8cpp.html#a2b87ed989d2519d025bd5d4fbcbac062">K</a>.<a class="code" href="classDGtal_1_1KhalimskySpaceND.html#a15dcbcaae831dd1c36090e6336c177d4">init</a>(p1, p2, <span class="keyword">true</span>);</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>  <a class="code" href="classDGtal_1_1SurfelAdjacency.html">SurfelAdjacency<3></a> SAdj( <span class="keyword">true</span> );</div>
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  vector<vector<SCell> > vectConnectedSCell;</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>  </div>
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  <span class="comment">//Here since the last argument is set to true, the resulting</span></div>
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  <span class="comment">//SignedKhalimskySpaceND are signed in order to indicate the direction</span></div>
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  <span class="comment">//of exterior. You can also get the SignefKhalimskySpaceND with default</span></div>
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  <span class="comment">//sign:</span></div>
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  </div>
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  <a class="code" href="classDGtal_1_1Surfaces.html">Surfaces<KSpace>::extractAllConnectedSCell</a>(vectConnectedSCell,<a class="code" href="testCubicalComplex_8cpp.html#a2b87ed989d2519d025bd5d4fbcbac062">K</a>, SAdj, diamond_set, <span class="keyword">false</span>);</div>
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  </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>  QApplication application(argc,argv);</div>
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  <a class="code" href="classDGtal_1_1Viewer3D.html">Viewer3D<></a> viewer (<a class="code" href="testCubicalComplex_8cpp.html#a2b87ed989d2519d025bd5d4fbcbac062">K</a>);</div>
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  viewer.show();</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>  </div>
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  <span class="comment">// Each connected compoments are simply displayed with a specific color.</span></div>
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  <a class="code" href="classDGtal_1_1GradientColorMap.html">GradientColorMap<long></a> gradient(0, (<span class="keyword">const</span> <span class="keywordtype">long</span>)vectConnectedSCell.size());</div>
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  gradient.addColor(Color::Red);</div>
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  gradient.addColor(Color::Yellow);</div>
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  gradient.addColor(Color::Green);</div>
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  gradient.addColor(Color::Cyan);</div>
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  gradient.addColor(Color::Blue);</div>
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  gradient.addColor(Color::Magenta);</div>
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>  gradient.addColor(Color::Red);</div>
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  </div>
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  </div>
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span>  <span class="keywordflow">for</span>(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i=0; i< vectConnectedSCell.size();i++){</div>
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>  <a class="code" href="classDGtal_1_1Color.html">DGtal::Color</a> col= gradient(i);</div>
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>  viewer << <a class="code" href="structDGtal_1_1CustomColors3D.html">CustomColors3D</a>(<a class="code" href="classDGtal_1_1Color.html">Color</a>(250, 0,0), <a class="code" href="classDGtal_1_1Color.html">Color</a>(col.<a class="code" href="classDGtal_1_1Color.html#aa487b3d008dc44964b10971ce8a26432">red</a>(),</div>
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span>  col.<a class="code" href="classDGtal_1_1Color.html#a5917f9d174eb75eae2ce49e7f40edbb7">green</a>(),</div>
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span>  col.<a class="code" href="classDGtal_1_1Color.html#af51469f44cfc0603c66efe150b1b0c33">blue</a>()));</div>
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  </div>
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>  <span class="keywordflow">for</span>(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> j=0; j< vectConnectedSCell.at(i).size();j++){</div>
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  viewer << vectConnectedSCell.at(i).at(j);</div>
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  }</div>
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  }</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>  </div>
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span>  viewer << <a class="code" href="structDGtal_1_1CustomColors3D.html">CustomColors3D</a>(<a class="code" href="classDGtal_1_1Color.html">Color</a>(250, 0,0),<a class="code" href="classDGtal_1_1Color.html">Color</a>(250, 200,200, 200));</div>
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span>  viewer << diamond_set;</div>
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span>  <span class="comment">//viewer << ClippingPlane(0,1,0.0,-2);</span></div>
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  viewer << Viewer3D<>::updateDisplay;</div>
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span>  <span class="keywordflow">return</span> application.exec();</div>
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span> }</div>
<div class="ttc" id="aclassDGtal_1_1Color_html"><div class="ttname"><a href="classDGtal_1_1Color.html">DGtal::Color</a></div><div class="ttdoc">Structure representing an RGB triple with alpha component.</div><div class="ttdef"><b>Definition:</b> <a href="Color_8h_source.html#l00067">Color.h:68</a></div></div>
<div class="ttc" id="aclassDGtal_1_1Color_html_a5917f9d174eb75eae2ce49e7f40edbb7"><div class="ttname"><a href="classDGtal_1_1Color.html#a5917f9d174eb75eae2ce49e7f40edbb7">DGtal::Color::green</a></div><div class="ttdeci">void green(const unsigned char aGreenValue)</div></div>
<div class="ttc" id="aclassDGtal_1_1Color_html_aa487b3d008dc44964b10971ce8a26432"><div class="ttname"><a href="classDGtal_1_1Color.html#aa487b3d008dc44964b10971ce8a26432">DGtal::Color::red</a></div><div class="ttdeci">void red(const unsigned char aRedValue)</div></div>
<div class="ttc" id="aclassDGtal_1_1Color_html_af51469f44cfc0603c66efe150b1b0c33"><div class="ttname"><a href="classDGtal_1_1Color.html#af51469f44cfc0603c66efe150b1b0c33">DGtal::Color::blue</a></div><div class="ttdeci">void blue(const unsigned char aBlueValue)</div></div>
<div class="ttc" id="aclassDGtal_1_1DigitalSetByAssociativeContainer_html"><div class="ttname"><a href="classDGtal_1_1DigitalSetByAssociativeContainer.html">DGtal::DigitalSetByAssociativeContainer</a></div><div class="ttdoc">Aim: A wrapper class around a STL associative container for storing sets of digital points within som...</div><div class="ttdef"><b>Definition:</b> <a href="DigitalSetByAssociativeContainer_8h_source.html#l00089">DigitalSetByAssociativeContainer.h:90</a></div></div>
<div class="ttc" id="aclassDGtal_1_1GradientColorMap_html"><div class="ttname"><a href="classDGtal_1_1GradientColorMap.html">DGtal::GradientColorMap</a></div><div class="ttdoc">Aim: This class template may be used to (linearly) convert scalar values in a given range into a colo...</div><div class="ttdef"><b>Definition:</b> <a href="GradientColorMap_8h_source.html#l00119">GradientColorMap.h:120</a></div></div>
<div class="ttc" id="aclassDGtal_1_1HyperRectDomain__Iterator_html"><div class="ttname"><a href="classDGtal_1_1HyperRectDomain__Iterator.html">DGtal::HyperRectDomain_Iterator</a></div><div class="ttdoc">Iterator for HyperRectDomain.</div><div class="ttdef"><b>Definition:</b> <a href="HyperRectDomain__Iterator_8h_source.html#l00142">HyperRectDomain_Iterator.h:154</a></div></div>
<div class="ttc" id="aclassDGtal_1_1HyperRectDomain_html"><div class="ttname"><a href="classDGtal_1_1HyperRectDomain.html">DGtal::HyperRectDomain< Space ></a></div></div>
<div class="ttc" id="aclassDGtal_1_1HyperRectDomain_html_a3bea82f197b8b6ff235206724b5c8c2e"><div class="ttname"><a href="classDGtal_1_1HyperRectDomain.html#a3bea82f197b8b6ff235206724b5c8c2e">DGtal::HyperRectDomain::isInside</a></div><div class="ttdeci">bool isInside(const Point &p) const</div></div>
<div class="ttc" id="aclassDGtal_1_1HyperRectDomain_html_a490421480f7261aa360e7a67c6a00eae"><div class="ttname"><a href="classDGtal_1_1HyperRectDomain.html#a490421480f7261aa360e7a67c6a00eae">DGtal::HyperRectDomain::end</a></div><div class="ttdeci">const ConstIterator & end() const</div><div class="ttdef"><b>Definition:</b> <a href="HyperRectDomain_8h_source.html#l00201">HyperRectDomain.h:201</a></div></div>
<div class="ttc" id="aclassDGtal_1_1HyperRectDomain_html_a49ca258f671ae5c5a5b1f6f9401f4741"><div class="ttname"><a href="classDGtal_1_1HyperRectDomain.html#a49ca258f671ae5c5a5b1f6f9401f4741">DGtal::HyperRectDomain::begin</a></div><div class="ttdeci">const ConstIterator & begin() const</div><div class="ttdef"><b>Definition:</b> <a href="HyperRectDomain_8h_source.html#l00176">HyperRectDomain.h:176</a></div></div>
<div class="ttc" id="aclassDGtal_1_1KhalimskySpaceND_html"><div class="ttname"><a href="classDGtal_1_1KhalimskySpaceND.html">DGtal::KhalimskySpaceND</a></div><div class="ttdoc">Aim: This class is a model of CCellularGridSpaceND. It represents the cubical grid as a cell complex,...</div><div class="ttdef"><b>Definition:</b> <a href="KhalimskySpaceND_8h_source.html#l00392">KhalimskySpaceND.h:394</a></div></div>
<div class="ttc" id="aclassDGtal_1_1KhalimskySpaceND_html_a15dcbcaae831dd1c36090e6336c177d4"><div class="ttname"><a href="classDGtal_1_1KhalimskySpaceND.html#a15dcbcaae831dd1c36090e6336c177d4">DGtal::KhalimskySpaceND::init</a></div><div class="ttdeci">bool init(const Point &lower, const Point &upper, bool isClosed)</div><div class="ttdoc">Specifies the upper and lower bounds for the maximal cells in this space.</div></div>
<div class="ttc" id="aclassDGtal_1_1PointVector_html"><div class="ttname"><a href="classDGtal_1_1PointVector.html">DGtal::PointVector< dim, Integer ></a></div></div>
<div class="ttc" id="aclassDGtal_1_1Surfaces_html"><div class="ttname"><a href="classDGtal_1_1Surfaces.html">DGtal::Surfaces</a></div><div class="ttdoc">Aim: A utility class for constructing surfaces (i.e. set of (n-1)-cells).</div><div class="ttdef"><b>Definition:</b> <a href="Surfaces_8h_source.html#l00078">Surfaces.h:79</a></div></div>
<div class="ttc" id="aclassDGtal_1_1SurfelAdjacency_html"><div class="ttname"><a href="classDGtal_1_1SurfelAdjacency.html">DGtal::SurfelAdjacency</a></div><div class="ttdoc">Aim: Represent adjacencies between surfel elements, telling if it follows an interior to exterior ord...</div><div class="ttdef"><b>Definition:</b> <a href="SurfelAdjacency_8h_source.html#l00065">SurfelAdjacency.h:66</a></div></div>
<div class="ttc" id="aclassDGtal_1_1Viewer3D_html"><div class="ttname"><a href="classDGtal_1_1Viewer3D.html">DGtal::Viewer3D</a></div><div class="ttdef"><b>Definition:</b> <a href="Viewer3D_8h_source.html#l00131">Viewer3D.h:132</a></div></div>
<div class="ttc" id="astructDGtal_1_1CustomColors3D_html"><div class="ttname"><a href="structDGtal_1_1CustomColors3D.html">DGtal::CustomColors3D</a></div><div class="ttdef"><b>Definition:</b> <a href="DrawWithDisplay3DModifier_8h_source.html#l00129">DrawWithDisplay3DModifier.h:130</a></div></div>
<div class="ttc" id="atestClone2_8cpp_html_a15e9592ccc512dc691b46185e6814758"><div class="ttname"><a href="testClone2_8cpp.html#a15e9592ccc512dc691b46185e6814758">Point</a></div><div class="ttdeci">MyPointD Point</div><div class="ttdef"><b>Definition:</b> <a href="testClone2_8cpp_source.html#l00383">testClone2.cpp:383</a></div></div>
<div class="ttc" id="atestCubicalComplex_8cpp_html_a2b87ed989d2519d025bd5d4fbcbac062"><div class="ttname"><a href="testCubicalComplex_8cpp.html#a2b87ed989d2519d025bd5d4fbcbac062">K</a></div><div class="ttdeci">KSpace K</div><div class="ttdef"><b>Definition:</b> <a href="testCubicalComplex_8cpp_source.html#l00062">testCubicalComplex.cpp:62</a></div></div>
<div class="ttc" id="atestProjection_8cpp_html_a1f1a69f8d8b037b72c2160ed12b3ef51"><div class="ttname"><a href="testProjection_8cpp.html#a1f1a69f8d8b037b72c2160ed12b3ef51">domain</a></div><div class="ttdeci">Domain domain</div><div class="ttdef"><b>Definition:</b> <a href="testProjection_8cpp_source.html#l00088">testProjection.cpp:88</a></div></div>
</div><!-- fragment -->
<p class="reference">References <a class="el" href="classDGtal_1_1GradientColorMap.html#a0d40c7b3643e533b2357ce908ae1f08c">DGtal::GradientColorMap< PValue, PDefaultPreset, PDefaultFirstColor, PDefaultLastColor >::addColor()</a>, <a class="el" href="HyperRectDomain_8h_source.html#l00176">DGtal::HyperRectDomain< TSpace >::begin()</a>, <a class="el" href="classDGtal_1_1Color.html#af51469f44cfc0603c66efe150b1b0c33">DGtal::Color::blue()</a>, <a class="el" href="testProjection_8cpp_source.html#l00088">domain</a>, <a class="el" href="HyperRectDomain_8h_source.html#l00201">DGtal::HyperRectDomain< TSpace >::end()</a>, <a class="el" href="classDGtal_1_1Color.html#a5917f9d174eb75eae2ce49e7f40edbb7">DGtal::Color::green()</a>, <a class="el" href="classDGtal_1_1KhalimskySpaceND.html#a15dcbcaae831dd1c36090e6336c177d4">DGtal::KhalimskySpaceND< dim, TInteger >::init()</a>, <a class="el" href="classDGtal_1_1DigitalSetByAssociativeContainer.html#a1ce05672d379d3105b28dda1a8c14df0">DGtal::DigitalSetByAssociativeContainer< TDomain, TContainer >::insertNew()</a>, <a class="el" href="classDGtal_1_1HyperRectDomain.html#a3bea82f197b8b6ff235206724b5c8c2e">DGtal::HyperRectDomain< TSpace >::isInside()</a>, <a class="el" href="testCubicalComplex_8cpp_source.html#l00062">K</a>, <a class="el" href="classDGtal_1_1Color.html#aa487b3d008dc44964b10971ce8a26432">DGtal::Color::red()</a>, and <a class="el" href="classDGtal_1_1Viewer3D.html#a1ea1c9cf781ce6940db02c352cf24e6f">DGtal::Viewer3D< TSpace, TKSpace >::show()</a>.</p>
</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="dir_d28a4824dc47e487b107a5db32ef43c4.html">examples</a></li><li class="navelem"><a class="el" href="dir_e2a1212e307b93bd4c291c0c273a42c5.html">topology</a></li><li class="navelem"><a class="el" href="3dKSSurfaceExtraction_8cpp.html">3dKSSurfaceExtraction.cpp</a></li>
<li class="footer">Generated on Mon Dec 23 2024 13:18:54 for DGtal by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
</ul>
</div>
</body>
</html>