-
Notifications
You must be signed in to change notification settings - Fork 0
/
Mapping_8h_source.html
264 lines (264 loc) · 52.4 KB
/
Mapping_8h_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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.8"/>
<title>MapMap: Mapping.h 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="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
<div id="projectname">MapMap
 <span id="projectnumber">0.3.2</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.8 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="files.html"><span>File List</span></a></li>
<li><a href="globals.html"><span>File Members</span></a></li>
</ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">Mapping.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="Mapping_8h.html">Go to the documentation of this file.</a><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"> * Mapping.h</span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * (c) 2013 Sofian Audry -- info(@)sofianaudry(.)com</span></div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> * (c) 2013 Alexandre Quessy -- alexandre(@)quessy(.)net</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> * This program is free software: you can redistribute it and/or modify</span></div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> * it under the terms of the GNU General Public License as published by</span></div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"> * the Free Software Foundation, either version 3 of the License, or</span></div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> * (at your option) any later version.</span></div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"> * This program is distributed in the hope that it will be useful,</span></div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment"> * GNU General Public License for more details.</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"> * You should have received a copy of the GNU General Public License</span></div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="comment"> * along with this program. If not, see <http://www.gnu.org/licenses/>.</span></div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> </div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor">#ifndef MAPPING_H_</span></div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#define MAPPING_H_</span></div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> </div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#include <QtGlobal></span></div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> </div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#include "<a class="code" href="Shape_8h.html">Shape.h</a>"</span></div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="preprocessor">#include "<a class="code" href="Paint_8h.html">Paint.h</a>"</span></div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="preprocessor">#include "<a class="code" href="UidAllocator_8h.html">UidAllocator.h</a>"</span></div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> </div>
<div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="classMapping.html"> 42</a></span> <span class="keyword">class </span><a class="code" href="classMapping.html">Mapping</a></div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span> {</div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span> <span class="keyword">protected</span>:</div>
<div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="classMapping.html#a391b40407482167bc1fe4d864f2ef4c4"> 46</a></span>  <a class="code" href="classPaint.html#ae6959dfc98bed1fd7015a0dddba43e5e">Paint::ptr</a> <a class="code" href="classMapping.html#a391b40407482167bc1fe4d864f2ef4c4">_paint</a>;</div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span> </div>
<div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="classMapping.html#a80b36034a0a65124921e3e3b950ef63e"> 49</a></span>  <a class="code" href="classMShape.html#abaea0495adea6f577e352d8d90fe161e">MShape::ptr</a> <a class="code" href="classMapping.html#a80b36034a0a65124921e3e3b950ef63e">_shape</a>;</div>
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span> </div>
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span> <span class="keyword">private</span>:</div>
<div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="classMapping.html#a039d975f309715068308a469c4762593"> 52</a></span>  <span class="keyword">static</span> <a class="code" href="classUidAllocator.html">UidAllocator</a> <a class="code" href="classMapping.html#a039d975f309715068308a469c4762593">allocator</a>;</div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span> </div>
<div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="classMapping.html#aa426f5c5c0370477bc8353bd58e82ba6"> 54</a></span>  <a class="code" href="UidAllocator_8h.html#ac83b9ada9e7333675745ef795a057883">uid</a> <a class="code" href="classMapping.html#aa426f5c5c0370477bc8353bd58e82ba6">_id</a>;</div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span> </div>
<div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="classMapping.html#aa7eb5ab40fcdf570a03b0e8723683c7e"> 56</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classMapping.html#aa7eb5ab40fcdf570a03b0e8723683c7e">_isLocked</a>;</div>
<div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="classMapping.html#a2470baa3ce0fe924383bb61f53968d7f"> 57</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classMapping.html#a2470baa3ce0fe924383bb61f53968d7f">_isSolo</a>;</div>
<div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="classMapping.html#a3660e4ab3255cd387ec9e2e156573649"> 58</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classMapping.html#a3660e4ab3255cd387ec9e2e156573649">_isVisible</a>;</div>
<div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="classMapping.html#a6d13075b8e366669fb39ba5e3200766c"> 59</a></span>  <span class="keywordtype">float</span> <a class="code" href="classMapping.html#a6d13075b8e366669fb39ba5e3200766c">_opacity</a>;</div>
<div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="classMapping.html#a92f67a470ea89bc3f006dc6c6de10bed"> 60</a></span>  <span class="keywordtype">int</span> <a class="code" href="classMapping.html#a92f67a470ea89bc3f006dc6c6de10bed">_depth</a>; <span class="comment">// depth of the layer</span></div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span> </div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  <span class="comment">// Mapping name</span></div>
<div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="classMapping.html#a59f475eef4225d6a6645c705d3db759e"> 63</a></span>  QString <a class="code" href="classMapping.html#a59f475eef4225d6a6645c705d3db759e">_name</a>;</div>
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span> </div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span> <span class="keyword">protected</span>:</div>
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  <a class="code" href="classMapping.html#aba184d4703ae52895948f4da12ab30ad">Mapping</a>(<a class="code" href="classPaint.html#ae6959dfc98bed1fd7015a0dddba43e5e">Paint::ptr</a> paint, <a class="code" href="classMShape.html#abaea0495adea6f577e352d8d90fe161e">MShape::ptr</a> shape, <a class="code" href="UidAllocator_8h.html#ac83b9ada9e7333675745ef795a057883">uid</a> <span class="keywordtype">id</span>=<a class="code" href="UidAllocator_8h.html#a2a887309a23176e120e30a328de5f6b1">NULL_UID</a>);</div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span> </div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span> <span class="keyword">public</span>:</div>
<div class="line"><a name="l00070"></a><span class="lineno"><a class="line" href="classMapping.html#ae79d6c9d0e86634b92c955962aaeabdc"> 70</a></span>  <span class="keyword">typedef</span> QSharedPointer<Mapping> <a class="code" href="classMapping.html#ae79d6c9d0e86634b92c955962aaeabdc">ptr</a>;</div>
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span> </div>
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  <span class="keyword">virtual</span> <a class="code" href="classMapping.html#acb71f5ef0bcc6fdc4563b76fd2fd86ec">~Mapping</a>();</div>
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span> </div>
<div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="classMapping.html#a1557a641eaee77dd8c68290bfec68148"> 74</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="classUidAllocator.html">UidAllocator</a>& <a class="code" href="classMapping.html#a1557a641eaee77dd8c68290bfec68148">getUidAllocator</a>() { <span class="keywordflow">return</span> <a class="code" href="classMapping.html#a039d975f309715068308a469c4762593">allocator</a>; }</div>
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span> </div>
<div class="line"><a name="l00080"></a><span class="lineno"><a class="line" href="classMapping.html#ad25b05caad6605feb02cad4b205e2a3d"> 80</a></span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classMapping.html#ad25b05caad6605feb02cad4b205e2a3d">build</a>() {</div>
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  _paint->build();</div>
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  _shape->build();</div>
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  }</div>
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span> </div>
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  <span class="keyword">virtual</span> QString <a class="code" href="classMapping.html#a5bfa9603930b68d23dcc6cd5735d90e8">getType</a>() <span class="keyword">const</span> = 0;</div>
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span> </div>
<div class="line"><a name="l00089"></a><span class="lineno"><a class="line" href="classMapping.html#ac81960c02a041a75f609dbdf5ac43e10"> 89</a></span>  <a class="code" href="classPaint.html#ae6959dfc98bed1fd7015a0dddba43e5e">Paint::ptr</a> <a class="code" href="classMapping.html#ac81960c02a041a75f609dbdf5ac43e10">getPaint</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classMapping.html#a391b40407482167bc1fe4d864f2ef4c4">_paint</a>; }</div>
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span> </div>
<div class="line"><a name="l00092"></a><span class="lineno"><a class="line" href="classMapping.html#a1d57c7a35c6a394101843eab8eee7872"> 92</a></span>  <a class="code" href="classMShape.html#abaea0495adea6f577e352d8d90fe161e">MShape::ptr</a> <a class="code" href="classMapping.html#a1d57c7a35c6a394101843eab8eee7872">getShape</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classMapping.html#a80b36034a0a65124921e3e3b950ef63e">_shape</a>; }</div>
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span> </div>
<div class="line"><a name="l00095"></a><span class="lineno"><a class="line" href="classMapping.html#a48dc8c78886bb05b77138daebdf8ba81"> 95</a></span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classMapping.html#a48dc8c78886bb05b77138daebdf8ba81">hasInputShape</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <span class="keyword">false</span>; }</div>
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span> </div>
<div class="line"><a name="l00098"></a><span class="lineno"><a class="line" href="classMapping.html#aaab7a2d77dbc88c3b4e80ec90aa1f8f2"> 98</a></span>  <span class="keyword">virtual</span> <a class="code" href="classMShape.html#abaea0495adea6f577e352d8d90fe161e">MShape::ptr</a> <a class="code" href="classMapping.html#aaab7a2d77dbc88c3b4e80ec90aa1f8f2">getInputShape</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classMShape.html#abaea0495adea6f577e352d8d90fe161e">MShape::ptr</a>(); }</div>
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span> </div>
<div class="line"><a name="l00100"></a><span class="lineno"><a class="line" href="classMapping.html#a0bc8269d51c3ddeaa123bbfa54692861"> 100</a></span>  <a class="code" href="UidAllocator_8h.html#ac83b9ada9e7333675745ef795a057883">uid</a> <a class="code" href="classMapping.html#a0bc8269d51c3ddeaa123bbfa54692861">getId</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classMapping.html#aa426f5c5c0370477bc8353bd58e82ba6">_id</a>; }</div>
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span> </div>
<div class="line"><a name="l00102"></a><span class="lineno"><a class="line" href="classMapping.html#acf02f856f8c3584f65861a0c613caf8a"> 102</a></span>  <span class="keywordtype">void</span> <a class="code" href="classMapping.html#acf02f856f8c3584f65861a0c613caf8a">setLocked</a>(<span class="keywordtype">bool</span> locked) { _isLocked = locked; }</div>
<div class="line"><a name="l00103"></a><span class="lineno"><a class="line" href="classMapping.html#a7f4b01ab124e9d7b22ef8a3651566166"> 103</a></span>  <span class="keywordtype">void</span> <a class="code" href="classMapping.html#a7f4b01ab124e9d7b22ef8a3651566166">setSolo</a>(<span class="keywordtype">bool</span> solo) { _isSolo = solo; }</div>
<div class="line"><a name="l00104"></a><span class="lineno"><a class="line" href="classMapping.html#a229619c1dacb8de8be9b6d33e8322dde"> 104</a></span>  <span class="keywordtype">void</span> <a class="code" href="classMapping.html#a229619c1dacb8de8be9b6d33e8322dde">setVisible</a>(<span class="keywordtype">bool</span> visible) { _isVisible = visible; }</div>
<div class="line"><a name="l00105"></a><span class="lineno"><a class="line" href="classMapping.html#a74f1bcddbb6739c09d8133d58849267c"> 105</a></span>  <span class="keywordtype">void</span> <a class="code" href="classMapping.html#a74f1bcddbb6739c09d8133d58849267c">setRawOpacity</a>(<span class="keywordtype">float</span> opacity) {</div>
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  Q_ASSERT(0.0f <= opacity && opacity <= 1.0f);</div>
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  _opacity = opacity;</div>
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  }</div>
<div class="line"><a name="l00109"></a><span class="lineno"><a class="line" href="classMapping.html#a1cb4dd6a921765b3543e88387314f1e9"> 109</a></span>  <span class="keywordtype">void</span> <a class="code" href="classMapping.html#a1cb4dd6a921765b3543e88387314f1e9">setDepth</a>(<span class="keywordtype">int</span> depth) { _depth = depth; }</div>
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span> </div>
<div class="line"><a name="l00111"></a><span class="lineno"><a class="line" href="classMapping.html#aff23ce324adccb59690f605dd4153b6c"> 111</a></span>  <span class="keywordtype">void</span> <a class="code" href="classMapping.html#aff23ce324adccb59690f605dd4153b6c">toggleLocked</a>() { _isLocked = !<a class="code" href="classMapping.html#aa7eb5ab40fcdf570a03b0e8723683c7e">_isLocked</a>; }</div>
<div class="line"><a name="l00112"></a><span class="lineno"><a class="line" href="classMapping.html#a0d25ba61be49d43d9d9058ab65f58e09"> 112</a></span>  <span class="keywordtype">void</span> <a class="code" href="classMapping.html#a0d25ba61be49d43d9d9058ab65f58e09">toggleSolo</a>() { _isSolo = !<a class="code" href="classMapping.html#a2470baa3ce0fe924383bb61f53968d7f">_isSolo</a>; }</div>
<div class="line"><a name="l00113"></a><span class="lineno"><a class="line" href="classMapping.html#a682c8374abf5a5a8d24c4c92c23506ed"> 113</a></span>  <span class="keywordtype">void</span> <a class="code" href="classMapping.html#a682c8374abf5a5a8d24c4c92c23506ed">toggleVisible</a>() { _isVisible = !<a class="code" href="classMapping.html#a3660e4ab3255cd387ec9e2e156573649">_isVisible</a>; }</div>
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span> </div>
<div class="line"><a name="l00115"></a><span class="lineno"><a class="line" href="classMapping.html#a652262a1514e0e0ea9f99d1a410a1369"> 115</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classMapping.html#a652262a1514e0e0ea9f99d1a410a1369">isLocked</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classMapping.html#aa7eb5ab40fcdf570a03b0e8723683c7e">_isLocked</a>; }</div>
<div class="line"><a name="l00116"></a><span class="lineno"><a class="line" href="classMapping.html#a17c3d271a198e417802b4e37d4e423f2"> 116</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classMapping.html#a17c3d271a198e417802b4e37d4e423f2">isSolo</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classMapping.html#a2470baa3ce0fe924383bb61f53968d7f">_isSolo</a>; }</div>
<div class="line"><a name="l00117"></a><span class="lineno"><a class="line" href="classMapping.html#addfa3a806f32cdea35dacdc56553527f"> 117</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classMapping.html#addfa3a806f32cdea35dacdc56553527f">isVisible</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classMapping.html#a3660e4ab3255cd387ec9e2e156573649">_isVisible</a>; }</div>
<div class="line"><a name="l00118"></a><span class="lineno"><a class="line" href="classMapping.html#af295fb68b3f468848b8c6e23c828c4a0"> 118</a></span>  <span class="keywordtype">float</span> <a class="code" href="classMapping.html#af295fb68b3f468848b8c6e23c828c4a0">getRawOpacity</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classMapping.html#a6d13075b8e366669fb39ba5e3200766c">_opacity</a>; }</div>
<div class="line"><a name="l00119"></a><span class="lineno"><a class="line" href="classMapping.html#a634418fe7052cae2a58fd6bc138e423d"> 119</a></span>  <span class="keywordtype">int</span> <a class="code" href="classMapping.html#a634418fe7052cae2a58fd6bc138e423d">getDepth</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classMapping.html#a92f67a470ea89bc3f006dc6c6de10bed">_depth</a>; }</div>
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span> </div>
<div class="line"><a name="l00121"></a><span class="lineno"><a class="line" href="classMapping.html#aa6a3b1bd78bd0c6170235980698c8a19"> 121</a></span>  <span class="keywordtype">float</span> <a class="code" href="classMapping.html#aa6a3b1bd78bd0c6170235980698c8a19">getOpacity</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> _opacity * _paint->getOpacity(); }</div>
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span> </div>
<div class="line"><a name="l00123"></a><span class="lineno"><a class="line" href="classMapping.html#a5d73d7b7d813a50ba8ea5af0e5fe674c"> 123</a></span>  <span class="keywordtype">void</span> <a class="code" href="classMapping.html#a5d73d7b7d813a50ba8ea5af0e5fe674c">setPaint</a>(<a class="code" href="classPaint.html#ae6959dfc98bed1fd7015a0dddba43e5e">Paint::ptr</a> p) { _paint = p; }</div>
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  <span class="comment">// Set mapping name</span></div>
<div class="line"><a name="l00125"></a><span class="lineno"><a class="line" href="classMapping.html#a466484951a4fdf2cd5b60fc4af1b1c0c"> 125</a></span>  <span class="keywordtype">void</span> <a class="code" href="classMapping.html#a466484951a4fdf2cd5b60fc4af1b1c0c">setName</a>(<span class="keyword">const</span> QString& name) { _name = name; }</div>
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  <span class="comment">// Get mapping name</span></div>
<div class="line"><a name="l00127"></a><span class="lineno"><a class="line" href="classMapping.html#a43aa72fe0d35d2800cc12d64aacd3c50"> 127</a></span>  QString <a class="code" href="classMapping.html#a43aa72fe0d35d2800cc12d64aacd3c50">getName</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classMapping.html#a59f475eef4225d6a6645c705d3db759e">_name</a>; }</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="l00133"></a><span class="lineno"><a class="line" href="classColorMapping.html"> 133</a></span> <span class="keyword">class </span><a class="code" href="classColorMapping.html">ColorMapping</a> : <span class="keyword">public</span> <a class="code" href="classMapping.html">Mapping</a></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> <span class="keyword">public</span>:</div>
<div class="line"><a name="l00136"></a><span class="lineno"><a class="line" href="classColorMapping.html#a4309dc5f53a353c7fef5c3a78d5ed971"> 136</a></span>  <a class="code" href="classColorMapping.html#a4309dc5f53a353c7fef5c3a78d5ed971">ColorMapping</a>(<a class="code" href="classPaint.html#ae6959dfc98bed1fd7015a0dddba43e5e">Paint::ptr</a> paint, <a class="code" href="classMShape.html#abaea0495adea6f577e352d8d90fe161e">MShape::ptr</a> shape,</div>
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  <a class="code" href="UidAllocator_8h.html#ac83b9ada9e7333675745ef795a057883">uid</a> <span class="keywordtype">id</span>=<a class="code" href="UidAllocator_8h.html#a2a887309a23176e120e30a328de5f6b1">NULL_UID</a>)</div>
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  : <a class="code" href="classMapping.html">Mapping</a>(paint, shape, id) {}</div>
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span> </div>
<div class="line"><a name="l00140"></a><span class="lineno"><a class="line" href="classColorMapping.html#af1123d79bc2fb1a85905df25f40e5f1d"> 140</a></span>  <span class="keyword">virtual</span> QString <a class="code" href="classColorMapping.html#af1123d79bc2fb1a85905df25f40e5f1d">getType</a>()<span class="keyword"> const </span>{</div>
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span>  <span class="keywordflow">return</span> <a class="code" href="classMapping.html#a1d57c7a35c6a394101843eab8eee7872">getShape</a>()->getType() + <span class="stringliteral">"_color"</span>;</div>
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span>  }</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> };</div>
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span> </div>
<div class="line"><a name="l00150"></a><span class="lineno"><a class="line" href="classTextureMapping.html"> 150</a></span> <span class="keyword">class </span><a class="code" href="classTextureMapping.html">TextureMapping</a> : <span class="keyword">public</span> <a class="code" href="classMapping.html">Mapping</a></div>
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span> {</div>
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span> <span class="keyword">private</span>:</div>
<div class="line"><a name="l00153"></a><span class="lineno"><a class="line" href="classTextureMapping.html#a9179ce4241cdc86f0d7db90338e8392c"> 153</a></span>  <a class="code" href="classMShape.html#abaea0495adea6f577e352d8d90fe161e">MShape::ptr</a> <a class="code" href="classTextureMapping.html#a9179ce4241cdc86f0d7db90338e8392c">_inputShape</a>;</div>
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span> </div>
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span> <span class="keyword">public</span>:</div>
<div class="line"><a name="l00156"></a><span class="lineno"><a class="line" href="classTextureMapping.html#adf17a35021937a350a86065cc5a138b4"> 156</a></span>  <a class="code" href="classTextureMapping.html#adf17a35021937a350a86065cc5a138b4">TextureMapping</a>(<a class="code" href="classPaint.html#ae6959dfc98bed1fd7015a0dddba43e5e">Paint::ptr</a> paint,</div>
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span>  <a class="code" href="classMShape.html#abaea0495adea6f577e352d8d90fe161e">MShape::ptr</a> shape,</div>
<div class="line"><a name="l00158"></a><span class="lineno"> 158</span>  <a class="code" href="classMShape.html#abaea0495adea6f577e352d8d90fe161e">MShape::ptr</a> inputShape, <a class="code" href="UidAllocator_8h.html#ac83b9ada9e7333675745ef795a057883">uid</a> <span class="keywordtype">id</span>=<a class="code" href="UidAllocator_8h.html#a2a887309a23176e120e30a328de5f6b1">NULL_UID</a>)</div>
<div class="line"><a name="l00159"></a><span class="lineno"> 159</span>  : <a class="code" href="classMapping.html">Mapping</a>(paint, shape, id),</div>
<div class="line"><a name="l00160"></a><span class="lineno"> 160</span>  _inputShape(inputShape)</div>
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span>  {</div>
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span>  <span class="comment">// Only supports shape of the same type (for now).</span></div>
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span>  Q_ASSERT(shape->getType() == inputShape->getType());</div>
<div class="line"><a name="l00164"></a><span class="lineno"> 164</span>  }</div>
<div class="line"><a name="l00165"></a><span class="lineno"> 165</span> </div>
<div class="line"><a name="l00166"></a><span class="lineno"><a class="line" href="classTextureMapping.html#a8c2a336d3866e4795f653bfed7a336b4"> 166</a></span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classTextureMapping.html#a8c2a336d3866e4795f653bfed7a336b4">build</a>() {</div>
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span>  <a class="code" href="classMapping.html#ad25b05caad6605feb02cad4b205e2a3d">Mapping::build</a>();</div>
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span>  _inputShape->build();</div>
<div class="line"><a name="l00169"></a><span class="lineno"> 169</span>  }</div>
<div class="line"><a name="l00170"></a><span class="lineno"> 170</span> </div>
<div class="line"><a name="l00171"></a><span class="lineno"><a class="line" href="classTextureMapping.html#aeff4f5cda29641a9a72e8d196316154e"> 171</a></span>  <span class="keyword">virtual</span> QString <a class="code" href="classTextureMapping.html#aeff4f5cda29641a9a72e8d196316154e">getType</a>()<span class="keyword"> const </span>{</div>
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span>  <span class="keywordflow">return</span> <a class="code" href="classMapping.html#a1d57c7a35c6a394101843eab8eee7872">getShape</a>()->getType() + <span class="stringliteral">"_texture"</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> </div>
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span> <span class="keyword">public</span>:</div>
<div class="line"><a name="l00176"></a><span class="lineno"><a class="line" href="classTextureMapping.html#a327810e0e5e6ec10bbab011141a3f3a8"> 176</a></span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classTextureMapping.html#a327810e0e5e6ec10bbab011141a3f3a8">hasInputShape</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <span class="keyword">true</span>; }</div>
<div class="line"><a name="l00177"></a><span class="lineno"><a class="line" href="classTextureMapping.html#a0ef0f44bf9583b5ad06c4707d25fbaef"> 177</a></span>  <span class="keyword">virtual</span> <a class="code" href="classMShape.html#abaea0495adea6f577e352d8d90fe161e">MShape::ptr</a> <a class="code" href="classTextureMapping.html#a0ef0f44bf9583b5ad06c4707d25fbaef">getInputShape</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classTextureMapping.html#a9179ce4241cdc86f0d7db90338e8392c">_inputShape</a>; }</div>
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span> };</div>
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span> </div>
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span> <span class="preprocessor">#endif </span><span class="comment">/* MAPPING_H_ */</span><span class="preprocessor"></span></div>
<div class="ttc" id="classMapping_html_acb71f5ef0bcc6fdc4563b76fd2fd86ec"><div class="ttname"><a href="classMapping.html#acb71f5ef0bcc6fdc4563b76fd2fd86ec">Mapping::~Mapping</a></div><div class="ttdeci">virtual ~Mapping()</div><div class="ttdef"><b>Definition:</b> <a href="Mapping_8cpp_source.html#l00044">Mapping.cpp:44</a></div></div>
<div class="ttc" id="classMapping_html_a17c3d271a198e417802b4e37d4e423f2"><div class="ttname"><a href="classMapping.html#a17c3d271a198e417802b4e37d4e423f2">Mapping::isSolo</a></div><div class="ttdeci">bool isSolo() const </div><div class="ttdef"><b>Definition:</b> <a href="Mapping_8h_source.html#l00116">Mapping.h:116</a></div></div>
<div class="ttc" id="classUidAllocator_html"><div class="ttname"><a href="classUidAllocator.html">UidAllocator</a></div><div class="ttdoc">Allocates uids for instances by appending an incremental number to a given string. </div><div class="ttdef"><b>Definition:</b> <a href="UidAllocator_8h_source.html#l00042">UidAllocator.h:42</a></div></div>
<div class="ttc" id="classMapping_html_a92f67a470ea89bc3f006dc6c6de10bed"><div class="ttname"><a href="classMapping.html#a92f67a470ea89bc3f006dc6c6de10bed">Mapping::_depth</a></div><div class="ttdeci">int _depth</div><div class="ttdef"><b>Definition:</b> <a href="Mapping_8h_source.html#l00060">Mapping.h:60</a></div></div>
<div class="ttc" id="classMapping_html_a634418fe7052cae2a58fd6bc138e423d"><div class="ttname"><a href="classMapping.html#a634418fe7052cae2a58fd6bc138e423d">Mapping::getDepth</a></div><div class="ttdeci">int getDepth() const </div><div class="ttdef"><b>Definition:</b> <a href="Mapping_8h_source.html#l00119">Mapping.h:119</a></div></div>
<div class="ttc" id="classMapping_html_a039d975f309715068308a469c4762593"><div class="ttname"><a href="classMapping.html#a039d975f309715068308a469c4762593">Mapping::allocator</a></div><div class="ttdeci">static UidAllocator allocator</div><div class="ttdef"><b>Definition:</b> <a href="Mapping_8h_source.html#l00052">Mapping.h:52</a></div></div>
<div class="ttc" id="classMapping_html_a43aa72fe0d35d2800cc12d64aacd3c50"><div class="ttname"><a href="classMapping.html#a43aa72fe0d35d2800cc12d64aacd3c50">Mapping::getName</a></div><div class="ttdeci">QString getName() const </div><div class="ttdef"><b>Definition:</b> <a href="Mapping_8h_source.html#l00127">Mapping.h:127</a></div></div>
<div class="ttc" id="classMShape_html_abaea0495adea6f577e352d8d90fe161e"><div class="ttname"><a href="classMShape.html#abaea0495adea6f577e352d8d90fe161e">MShape::ptr</a></div><div class="ttdeci">QSharedPointer< MShape > ptr</div><div class="ttdef"><b>Definition:</b> <a href="Shape_8h_source.html#l00047">Shape.h:47</a></div></div>
<div class="ttc" id="classMapping_html_aa426f5c5c0370477bc8353bd58e82ba6"><div class="ttname"><a href="classMapping.html#aa426f5c5c0370477bc8353bd58e82ba6">Mapping::_id</a></div><div class="ttdeci">uid _id</div><div class="ttdef"><b>Definition:</b> <a href="Mapping_8h_source.html#l00054">Mapping.h:54</a></div></div>
<div class="ttc" id="classMapping_html_aba184d4703ae52895948f4da12ab30ad"><div class="ttname"><a href="classMapping.html#aba184d4703ae52895948f4da12ab30ad">Mapping::Mapping</a></div><div class="ttdeci">Mapping(Paint::ptr paint, MShape::ptr shape, uid id=NULL_UID)</div><div class="ttdoc">Constructor. </div><div class="ttdef"><b>Definition:</b> <a href="Mapping_8cpp_source.html#l00025">Mapping.cpp:25</a></div></div>
<div class="ttc" id="classMapping_html_aff23ce324adccb59690f605dd4153b6c"><div class="ttname"><a href="classMapping.html#aff23ce324adccb59690f605dd4153b6c">Mapping::toggleLocked</a></div><div class="ttdeci">void toggleLocked()</div><div class="ttdef"><b>Definition:</b> <a href="Mapping_8h_source.html#l00111">Mapping.h:111</a></div></div>
<div class="ttc" id="classMapping_html_ad25b05caad6605feb02cad4b205e2a3d"><div class="ttname"><a href="classMapping.html#ad25b05caad6605feb02cad4b205e2a3d">Mapping::build</a></div><div class="ttdeci">virtual void build()</div><div class="ttdoc">Sets up this Mapping: its Paint and its Shape. </div><div class="ttdef"><b>Definition:</b> <a href="Mapping_8h_source.html#l00080">Mapping.h:80</a></div></div>
<div class="ttc" id="UidAllocator_8h_html_ac83b9ada9e7333675745ef795a057883"><div class="ttname"><a href="UidAllocator_8h.html#ac83b9ada9e7333675745ef795a057883">uid</a></div><div class="ttdeci">int uid</div><div class="ttdoc">The UidAllocator class. </div><div class="ttdef"><b>Definition:</b> <a href="UidAllocator_8h_source.html#l00033">UidAllocator.h:33</a></div></div>
<div class="ttc" id="classMapping_html_a3660e4ab3255cd387ec9e2e156573649"><div class="ttname"><a href="classMapping.html#a3660e4ab3255cd387ec9e2e156573649">Mapping::_isVisible</a></div><div class="ttdeci">bool _isVisible</div><div class="ttdef"><b>Definition:</b> <a href="Mapping_8h_source.html#l00058">Mapping.h:58</a></div></div>
<div class="ttc" id="classTextureMapping_html_a0ef0f44bf9583b5ad06c4707d25fbaef"><div class="ttname"><a href="classTextureMapping.html#a0ef0f44bf9583b5ad06c4707d25fbaef">TextureMapping::getInputShape</a></div><div class="ttdeci">virtual MShape::ptr getInputShape() const </div><div class="ttdoc">Returns the input (source) shape (if this mapping has one) or a null pointer if not. </div><div class="ttdef"><b>Definition:</b> <a href="Mapping_8h_source.html#l00177">Mapping.h:177</a></div></div>
<div class="ttc" id="classMapping_html_a0bc8269d51c3ddeaa123bbfa54692861"><div class="ttname"><a href="classMapping.html#a0bc8269d51c3ddeaa123bbfa54692861">Mapping::getId</a></div><div class="ttdeci">uid getId() const </div><div class="ttdef"><b>Definition:</b> <a href="Mapping_8h_source.html#l00100">Mapping.h:100</a></div></div>
<div class="ttc" id="classMapping_html_ac81960c02a041a75f609dbdf5ac43e10"><div class="ttname"><a href="classMapping.html#ac81960c02a041a75f609dbdf5ac43e10">Mapping::getPaint</a></div><div class="ttdeci">Paint::ptr getPaint() const </div><div class="ttdoc">Returns the paint. </div><div class="ttdef"><b>Definition:</b> <a href="Mapping_8h_source.html#l00089">Mapping.h:89</a></div></div>
<div class="ttc" id="classColorMapping_html"><div class="ttname"><a href="classColorMapping.html">ColorMapping</a></div><div class="ttdoc">Mapping of a Color paint into a shape. </div><div class="ttdef"><b>Definition:</b> <a href="Mapping_8h_source.html#l00133">Mapping.h:133</a></div></div>
<div class="ttc" id="classMapping_html_a48dc8c78886bb05b77138daebdf8ba81"><div class="ttname"><a href="classMapping.html#a48dc8c78886bb05b77138daebdf8ba81">Mapping::hasInputShape</a></div><div class="ttdeci">virtual bool hasInputShape() const </div><div class="ttdoc">Returns true iff the mapping possesses an input (source) shape. </div><div class="ttdef"><b>Definition:</b> <a href="Mapping_8h_source.html#l00095">Mapping.h:95</a></div></div>
<div class="ttc" id="classMapping_html_a5bfa9603930b68d23dcc6cd5735d90e8"><div class="ttname"><a href="classMapping.html#a5bfa9603930b68d23dcc6cd5735d90e8">Mapping::getType</a></div><div class="ttdeci">virtual QString getType() const =0</div><div class="ttdoc">The type of the mapping (expressed as a string). </div></div>
<div class="ttc" id="classMapping_html_a7f4b01ab124e9d7b22ef8a3651566166"><div class="ttname"><a href="classMapping.html#a7f4b01ab124e9d7b22ef8a3651566166">Mapping::setSolo</a></div><div class="ttdeci">void setSolo(bool solo)</div><div class="ttdef"><b>Definition:</b> <a href="Mapping_8h_source.html#l00103">Mapping.h:103</a></div></div>
<div class="ttc" id="classMapping_html"><div class="ttname"><a href="classMapping.html">Mapping</a></div><div class="ttdoc">Mapping is the central concept of this software. </div><div class="ttdef"><b>Definition:</b> <a href="Mapping_8h_source.html#l00042">Mapping.h:42</a></div></div>
<div class="ttc" id="classMapping_html_a229619c1dacb8de8be9b6d33e8322dde"><div class="ttname"><a href="classMapping.html#a229619c1dacb8de8be9b6d33e8322dde">Mapping::setVisible</a></div><div class="ttdeci">void setVisible(bool visible)</div><div class="ttdef"><b>Definition:</b> <a href="Mapping_8h_source.html#l00104">Mapping.h:104</a></div></div>
<div class="ttc" id="classMapping_html_a391b40407482167bc1fe4d864f2ef4c4"><div class="ttname"><a href="classMapping.html#a391b40407482167bc1fe4d864f2ef4c4">Mapping::_paint</a></div><div class="ttdeci">Paint::ptr _paint</div><div class="ttdoc">The input Paint instance. </div><div class="ttdef"><b>Definition:</b> <a href="Mapping_8h_source.html#l00046">Mapping.h:46</a></div></div>
<div class="ttc" id="classMapping_html_a6d13075b8e366669fb39ba5e3200766c"><div class="ttname"><a href="classMapping.html#a6d13075b8e366669fb39ba5e3200766c">Mapping::_opacity</a></div><div class="ttdeci">float _opacity</div><div class="ttdef"><b>Definition:</b> <a href="Mapping_8h_source.html#l00059">Mapping.h:59</a></div></div>
<div class="ttc" id="classMapping_html_a80b36034a0a65124921e3e3b950ef63e"><div class="ttname"><a href="classMapping.html#a80b36034a0a65124921e3e3b950ef63e">Mapping::_shape</a></div><div class="ttdeci">MShape::ptr _shape</div><div class="ttdoc">The output Shape instance. </div><div class="ttdef"><b>Definition:</b> <a href="Mapping_8h_source.html#l00049">Mapping.h:49</a></div></div>
<div class="ttc" id="classTextureMapping_html_adf17a35021937a350a86065cc5a138b4"><div class="ttname"><a href="classTextureMapping.html#adf17a35021937a350a86065cc5a138b4">TextureMapping::TextureMapping</a></div><div class="ttdeci">TextureMapping(Paint::ptr paint, MShape::ptr shape, MShape::ptr inputShape, uid id=NULL_UID)</div><div class="ttdef"><b>Definition:</b> <a href="Mapping_8h_source.html#l00156">Mapping.h:156</a></div></div>
<div class="ttc" id="classMapping_html_a74f1bcddbb6739c09d8133d58849267c"><div class="ttname"><a href="classMapping.html#a74f1bcddbb6739c09d8133d58849267c">Mapping::setRawOpacity</a></div><div class="ttdeci">void setRawOpacity(float opacity)</div><div class="ttdef"><b>Definition:</b> <a href="Mapping_8h_source.html#l00105">Mapping.h:105</a></div></div>
<div class="ttc" id="classTextureMapping_html_aeff4f5cda29641a9a72e8d196316154e"><div class="ttname"><a href="classTextureMapping.html#aeff4f5cda29641a9a72e8d196316154e">TextureMapping::getType</a></div><div class="ttdeci">virtual QString getType() const </div><div class="ttdoc">The type of the mapping (expressed as a string). </div><div class="ttdef"><b>Definition:</b> <a href="Mapping_8h_source.html#l00171">Mapping.h:171</a></div></div>
<div class="ttc" id="UidAllocator_8h_html"><div class="ttname"><a href="UidAllocator_8h.html">UidAllocator.h</a></div></div>
<div class="ttc" id="classTextureMapping_html_a9179ce4241cdc86f0d7db90338e8392c"><div class="ttname"><a href="classTextureMapping.html#a9179ce4241cdc86f0d7db90338e8392c">TextureMapping::_inputShape</a></div><div class="ttdeci">MShape::ptr _inputShape</div><div class="ttdef"><b>Definition:</b> <a href="Mapping_8h_source.html#l00153">Mapping.h:153</a></div></div>
<div class="ttc" id="classMapping_html_a5d73d7b7d813a50ba8ea5af0e5fe674c"><div class="ttname"><a href="classMapping.html#a5d73d7b7d813a50ba8ea5af0e5fe674c">Mapping::setPaint</a></div><div class="ttdeci">void setPaint(Paint::ptr p)</div><div class="ttdef"><b>Definition:</b> <a href="Mapping_8h_source.html#l00123">Mapping.h:123</a></div></div>
<div class="ttc" id="classMapping_html_acf02f856f8c3584f65861a0c613caf8a"><div class="ttname"><a href="classMapping.html#acf02f856f8c3584f65861a0c613caf8a">Mapping::setLocked</a></div><div class="ttdeci">void setLocked(bool locked)</div><div class="ttdef"><b>Definition:</b> <a href="Mapping_8h_source.html#l00102">Mapping.h:102</a></div></div>
<div class="ttc" id="classMapping_html_af295fb68b3f468848b8c6e23c828c4a0"><div class="ttname"><a href="classMapping.html#af295fb68b3f468848b8c6e23c828c4a0">Mapping::getRawOpacity</a></div><div class="ttdeci">float getRawOpacity() const </div><div class="ttdef"><b>Definition:</b> <a href="Mapping_8h_source.html#l00118">Mapping.h:118</a></div></div>
<div class="ttc" id="classMapping_html_ae79d6c9d0e86634b92c955962aaeabdc"><div class="ttname"><a href="classMapping.html#ae79d6c9d0e86634b92c955962aaeabdc">Mapping::ptr</a></div><div class="ttdeci">QSharedPointer< Mapping > ptr</div><div class="ttdef"><b>Definition:</b> <a href="Mapping_8h_source.html#l00070">Mapping.h:70</a></div></div>
<div class="ttc" id="classMapping_html_a466484951a4fdf2cd5b60fc4af1b1c0c"><div class="ttname"><a href="classMapping.html#a466484951a4fdf2cd5b60fc4af1b1c0c">Mapping::setName</a></div><div class="ttdeci">void setName(const QString &name)</div><div class="ttdef"><b>Definition:</b> <a href="Mapping_8h_source.html#l00125">Mapping.h:125</a></div></div>
<div class="ttc" id="classTextureMapping_html"><div class="ttname"><a href="classTextureMapping.html">TextureMapping</a></div><div class="ttdoc">Object whose paint is an image texture. </div><div class="ttdef"><b>Definition:</b> <a href="Mapping_8h_source.html#l00150">Mapping.h:150</a></div></div>
<div class="ttc" id="classMapping_html_aaab7a2d77dbc88c3b4e80ec90aa1f8f2"><div class="ttname"><a href="classMapping.html#aaab7a2d77dbc88c3b4e80ec90aa1f8f2">Mapping::getInputShape</a></div><div class="ttdeci">virtual MShape::ptr getInputShape() const </div><div class="ttdoc">Returns the input (source) shape (if this mapping has one) or a null pointer if not. </div><div class="ttdef"><b>Definition:</b> <a href="Mapping_8h_source.html#l00098">Mapping.h:98</a></div></div>
<div class="ttc" id="classPaint_html_ae6959dfc98bed1fd7015a0dddba43e5e"><div class="ttname"><a href="classPaint.html#ae6959dfc98bed1fd7015a0dddba43e5e">Paint::ptr</a></div><div class="ttdeci">QSharedPointer< Paint > ptr</div><div class="ttdef"><b>Definition:</b> <a href="Paint_8h_source.html#l00057">Paint.h:57</a></div></div>
<div class="ttc" id="classTextureMapping_html_a8c2a336d3866e4795f653bfed7a336b4"><div class="ttname"><a href="classTextureMapping.html#a8c2a336d3866e4795f653bfed7a336b4">TextureMapping::build</a></div><div class="ttdeci">virtual void build()</div><div class="ttdoc">Sets up this Mapping: its Paint and its Shape. </div><div class="ttdef"><b>Definition:</b> <a href="Mapping_8h_source.html#l00166">Mapping.h:166</a></div></div>
<div class="ttc" id="classMapping_html_a652262a1514e0e0ea9f99d1a410a1369"><div class="ttname"><a href="classMapping.html#a652262a1514e0e0ea9f99d1a410a1369">Mapping::isLocked</a></div><div class="ttdeci">bool isLocked() const </div><div class="ttdef"><b>Definition:</b> <a href="Mapping_8h_source.html#l00115">Mapping.h:115</a></div></div>
<div class="ttc" id="classMapping_html_a1d57c7a35c6a394101843eab8eee7872"><div class="ttname"><a href="classMapping.html#a1d57c7a35c6a394101843eab8eee7872">Mapping::getShape</a></div><div class="ttdeci">MShape::ptr getShape() const </div><div class="ttdoc">Returns the (output) shape. </div><div class="ttdef"><b>Definition:</b> <a href="Mapping_8h_source.html#l00092">Mapping.h:92</a></div></div>
<div class="ttc" id="classColorMapping_html_a4309dc5f53a353c7fef5c3a78d5ed971"><div class="ttname"><a href="classColorMapping.html#a4309dc5f53a353c7fef5c3a78d5ed971">ColorMapping::ColorMapping</a></div><div class="ttdeci">ColorMapping(Paint::ptr paint, MShape::ptr shape, uid id=NULL_UID)</div><div class="ttdef"><b>Definition:</b> <a href="Mapping_8h_source.html#l00136">Mapping.h:136</a></div></div>
<div class="ttc" id="classMapping_html_a682c8374abf5a5a8d24c4c92c23506ed"><div class="ttname"><a href="classMapping.html#a682c8374abf5a5a8d24c4c92c23506ed">Mapping::toggleVisible</a></div><div class="ttdeci">void toggleVisible()</div><div class="ttdef"><b>Definition:</b> <a href="Mapping_8h_source.html#l00113">Mapping.h:113</a></div></div>
<div class="ttc" id="classMapping_html_aa7eb5ab40fcdf570a03b0e8723683c7e"><div class="ttname"><a href="classMapping.html#aa7eb5ab40fcdf570a03b0e8723683c7e">Mapping::_isLocked</a></div><div class="ttdeci">bool _isLocked</div><div class="ttdef"><b>Definition:</b> <a href="Mapping_8h_source.html#l00056">Mapping.h:56</a></div></div>
<div class="ttc" id="classColorMapping_html_af1123d79bc2fb1a85905df25f40e5f1d"><div class="ttname"><a href="classColorMapping.html#af1123d79bc2fb1a85905df25f40e5f1d">ColorMapping::getType</a></div><div class="ttdeci">virtual QString getType() const </div><div class="ttdoc">The type of the mapping (expressed as a string). </div><div class="ttdef"><b>Definition:</b> <a href="Mapping_8h_source.html#l00140">Mapping.h:140</a></div></div>
<div class="ttc" id="classMapping_html_a59f475eef4225d6a6645c705d3db759e"><div class="ttname"><a href="classMapping.html#a59f475eef4225d6a6645c705d3db759e">Mapping::_name</a></div><div class="ttdeci">QString _name</div><div class="ttdef"><b>Definition:</b> <a href="Mapping_8h_source.html#l00063">Mapping.h:63</a></div></div>
<div class="ttc" id="UidAllocator_8h_html_a2a887309a23176e120e30a328de5f6b1"><div class="ttname"><a href="UidAllocator_8h.html#a2a887309a23176e120e30a328de5f6b1">NULL_UID</a></div><div class="ttdeci">#define NULL_UID</div><div class="ttdoc">Represents a UID that does not refer to any entity. </div><div class="ttdef"><b>Definition:</b> <a href="UidAllocator_8h_source.html#l00036">UidAllocator.h:36</a></div></div>
<div class="ttc" id="Shape_8h_html"><div class="ttname"><a href="Shape_8h.html">Shape.h</a></div></div>
<div class="ttc" id="classMapping_html_aa6a3b1bd78bd0c6170235980698c8a19"><div class="ttname"><a href="classMapping.html#aa6a3b1bd78bd0c6170235980698c8a19">Mapping::getOpacity</a></div><div class="ttdeci">float getOpacity() const </div><div class="ttdef"><b>Definition:</b> <a href="Mapping_8h_source.html#l00121">Mapping.h:121</a></div></div>
<div class="ttc" id="classMapping_html_a2470baa3ce0fe924383bb61f53968d7f"><div class="ttname"><a href="classMapping.html#a2470baa3ce0fe924383bb61f53968d7f">Mapping::_isSolo</a></div><div class="ttdeci">bool _isSolo</div><div class="ttdef"><b>Definition:</b> <a href="Mapping_8h_source.html#l00057">Mapping.h:57</a></div></div>
<div class="ttc" id="classMapping_html_a1cb4dd6a921765b3543e88387314f1e9"><div class="ttname"><a href="classMapping.html#a1cb4dd6a921765b3543e88387314f1e9">Mapping::setDepth</a></div><div class="ttdeci">void setDepth(int depth)</div><div class="ttdef"><b>Definition:</b> <a href="Mapping_8h_source.html#l00109">Mapping.h:109</a></div></div>
<div class="ttc" id="classMapping_html_addfa3a806f32cdea35dacdc56553527f"><div class="ttname"><a href="classMapping.html#addfa3a806f32cdea35dacdc56553527f">Mapping::isVisible</a></div><div class="ttdeci">bool isVisible() const </div><div class="ttdef"><b>Definition:</b> <a href="Mapping_8h_source.html#l00117">Mapping.h:117</a></div></div>
<div class="ttc" id="classMapping_html_a0d25ba61be49d43d9d9058ab65f58e09"><div class="ttname"><a href="classMapping.html#a0d25ba61be49d43d9d9058ab65f58e09">Mapping::toggleSolo</a></div><div class="ttdeci">void toggleSolo()</div><div class="ttdef"><b>Definition:</b> <a href="Mapping_8h_source.html#l00112">Mapping.h:112</a></div></div>
<div class="ttc" id="classTextureMapping_html_a327810e0e5e6ec10bbab011141a3f3a8"><div class="ttname"><a href="classTextureMapping.html#a327810e0e5e6ec10bbab011141a3f3a8">TextureMapping::hasInputShape</a></div><div class="ttdeci">virtual bool hasInputShape() const </div><div class="ttdoc">Returns true iff the mapping possesses an input (source) shape. </div><div class="ttdef"><b>Definition:</b> <a href="Mapping_8h_source.html#l00176">Mapping.h:176</a></div></div>
<div class="ttc" id="Paint_8h_html"><div class="ttname"><a href="Paint_8h.html">Paint.h</a></div></div>
<div class="ttc" id="classMapping_html_a1557a641eaee77dd8c68290bfec68148"><div class="ttname"><a href="classMapping.html#a1557a641eaee77dd8c68290bfec68148">Mapping::getUidAllocator</a></div><div class="ttdeci">static const UidAllocator & getUidAllocator()</div><div class="ttdef"><b>Definition:</b> <a href="Mapping_8h_source.html#l00074">Mapping.h:74</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Fri Jan 8 2016 09:37:01 for MapMap by  <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.8
</small></address>
</body>
</html>