-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_painting_tool_8hpp_source.html
187 lines (185 loc) · 23.5 KB
/
_painting_tool_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
<!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" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.5"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Rendu: src/apps/imagefiltering/PaintingTool.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>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
$(document).ready(function() { init_search(); });
/* @license-end */
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="customdoxygen.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 id="projectrow">
<td id="projectalign">
<div id="projectname">Rendu
</div>
<div id="projectbrief">A lightweight rendering engine for experimentations</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.5 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="modules.html"><span>Modules</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>
<li><a href="pages.html"><span>Related Pages</span></a></li>
<li>
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<span id="MSearchSelect" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()"> </span>
<input type="text" id="MSearchField" value="" placeholder="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.svg" alt=""/></a>
</span>
</div>
</li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="files.html"><span>File List</span></a></li>
</ul>
</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">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_53adf0b982dc8545998aae3f283a5a58.html">apps</a></li><li class="navelem"><a class="el" href="dir_f18b9a633900627268012f7fc0bb6f13.html">imagefiltering</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle"><div class="title">PaintingTool.hpp</div></div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span><span class="preprocessor">#pragma once</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span> </div>
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno"> 3</span><span class="preprocessor">#include "resources/Texture.hpp"</span></div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno"> 4</span><span class="preprocessor">#include "resources/Mesh.hpp"</span></div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno"> 5</span> </div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno"> 6</span><span class="preprocessor">#include "Common.hpp"</span></div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno"> 7</span> </div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"><a class="line" href="class_painting_tool.html"> 12</a></span><span class="keyword">class </span><a class="code hl_class" href="class_painting_tool.html">PaintingTool</a> {</div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"> 13</span> </div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"> 14</span><span class="keyword">public</span>:</div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"> 19</span> <a class="code hl_class" href="class_painting_tool.html">PaintingTool</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> width, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> height);</div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"> 20</span> </div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_painting_tool.html#aa1767464838bcb73b48f541e4f19b507">draw</a>();</div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"> 23</span> </div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_painting_tool.html#a2ad280f800669f92f5b6ca7575635b90">update</a>();</div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span> </div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_painting_tool.html#acb36263061f9d4c402c261c7b1c58946">resize</a>(uint width, uint height);</div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</span> </div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"> 33</span> <a class="code hl_class" href="class_painting_tool.html">~PaintingTool</a>();</div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"> 34</span> </div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"><a class="line" href="class_painting_tool.html#a1d04aec8ada151233d7809d7b2b9f9f4"> 38</a></span> <span class="keyword">const</span> <a class="code hl_class" href="class_texture.html">Texture</a> * <a class="code hl_function" href="class_painting_tool.html#a1d04aec8ada151233d7809d7b2b9f9f4">texture</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> &<a class="code hl_variable" href="class_painting_tool.html#a8bf2aa6904e38a2c45fa4cfc4b2de4ca">_canvas</a>; }</div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"> 39</span> </div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"><a class="line" href="class_painting_tool.html#a6925ac5e47dfef929e9f5a88022cc044"> 43</a></span> <span class="keyword">const</span> <a class="code hl_class" href="class_texture.html">Texture</a> * <a class="code hl_function" href="class_painting_tool.html#a6925ac5e47dfef929e9f5a88022cc044">visuId</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> &<a class="code hl_variable" href="class_painting_tool.html#aea4fb8a6177c1327db2211de6671914d">_visu</a>; }</div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"> 44</span> </div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"> 45</span><span class="keyword">private</span>:</div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"><a class="line" href="class_painting_tool.html#a2235a847455b4cba6b8a64570005b256"> 47</a></span> <span class="keyword">enum class</span> <a class="code hl_enumeration" href="class_painting_tool.html#a2235a847455b4cba6b8a64570005b256">Mode</a> : <span class="keywordtype">int</span> {</div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"> 48</span> DRAW = 0,</div>
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"> 49</span> ERASE</div>
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"> 50</span> };</div>
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"> 51</span> </div>
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"><a class="line" href="class_painting_tool.html#adc95d9c62b816d5e766fd77d910d9ef9"> 53</a></span> <span class="keyword">enum class</span> <a class="code hl_enumeration" href="class_painting_tool.html#adc95d9c62b816d5e766fd77d910d9ef9">Shape</a> : <span class="keywordtype">int</span> {</div>
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"> 54</span> CIRCLE = 0,</div>
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"> 55</span> SQUARE,</div>
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"> 56</span> DIAMOND,</div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"> 57</span> COUNT</div>
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"> 58</span> };</div>
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno"> 59</span> </div>
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"><a class="line" href="class_painting_tool.html#a8bf2aa6904e38a2c45fa4cfc4b2de4ca"> 60</a></span> <a class="code hl_class" href="class_texture.html">Texture</a> <a class="code hl_variable" href="class_painting_tool.html#a8bf2aa6904e38a2c45fa4cfc4b2de4ca">_canvas</a>; </div>
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"><a class="line" href="class_painting_tool.html#aea4fb8a6177c1327db2211de6671914d"> 61</a></span> <a class="code hl_class" href="class_texture.html">Texture</a> <a class="code hl_variable" href="class_painting_tool.html#aea4fb8a6177c1327db2211de6671914d">_visu</a>; </div>
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"> 62</span> </div>
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"><a class="line" href="class_painting_tool.html#aac51b6ebdf38297ae12da82da2193af0"> 63</a></span> <a class="code hl_class" href="class_program.html">Program</a> * <a class="code hl_variable" href="class_painting_tool.html#aac51b6ebdf38297ae12da82da2193af0">_brushShader</a>; </div>
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"><a class="line" href="class_painting_tool.html#a635f61349260f14d0405f0e71ef0386a"> 64</a></span> std::vector<Mesh> <a class="code hl_variable" href="class_painting_tool.html#a635f61349260f14d0405f0e71ef0386a">_brushes</a>; </div>
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"> 65</span> </div>
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno"><a class="line" href="class_painting_tool.html#a08cb02410148a5f1d96d5d43be69bd2a"> 66</a></span> glm::vec3 <a class="code hl_variable" href="class_painting_tool.html#a08cb02410148a5f1d96d5d43be69bd2a">_bgColor</a> = glm::vec3(0.0f); </div>
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno"><a class="line" href="class_painting_tool.html#a73b1ec2a98703fd30f4cc6fa2d3700c6"> 67</a></span> glm::vec3 <a class="code hl_variable" href="class_painting_tool.html#a73b1ec2a98703fd30f4cc6fa2d3700c6">_fgColor</a> = glm::vec3(1.0f); </div>
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"><a class="line" href="class_painting_tool.html#a8e1622bd52b29b9b3e386524d0b8cdb3"> 68</a></span> glm::vec2 <a class="code hl_variable" href="class_painting_tool.html#a8e1622bd52b29b9b3e386524d0b8cdb3">_drawPos</a> = glm::vec2(0.0f); </div>
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno"><a class="line" href="class_painting_tool.html#a71f6eb803646afd2ebf379843cc8bb04"> 69</a></span> <span class="keywordtype">int</span> <a class="code hl_variable" href="class_painting_tool.html#a71f6eb803646afd2ebf379843cc8bb04">_radius</a> = 40; </div>
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno"><a class="line" href="class_painting_tool.html#ab369cbc568d7ffe74445d2b74f463ab7"> 70</a></span> <a class="code hl_enumeration" href="class_painting_tool.html#a2235a847455b4cba6b8a64570005b256">Mode</a> <a class="code hl_variable" href="class_painting_tool.html#ab369cbc568d7ffe74445d2b74f463ab7">_mode</a> = Mode::DRAW; </div>
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno"><a class="line" href="class_painting_tool.html#aa67d73cbc74f4be7d406feafccd282bc"> 71</a></span> <a class="code hl_enumeration" href="class_painting_tool.html#adc95d9c62b816d5e766fd77d910d9ef9">Shape</a> <a class="code hl_variable" href="class_painting_tool.html#aa67d73cbc74f4be7d406feafccd282bc">_shape</a> = Shape::CIRCLE; </div>
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno"><a class="line" href="class_painting_tool.html#a1be24fe877e94f5748f9d12835d399ee"> 72</a></span> <span class="keywordtype">bool</span> <a class="code hl_variable" href="class_painting_tool.html#a1be24fe877e94f5748f9d12835d399ee">_shouldClear</a> = <span class="keyword">true</span>; </div>
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno"><a class="line" href="class_painting_tool.html#adf0e235ea9a6fb0b139c110ad5cd421f"> 73</a></span> <span class="keywordtype">bool</span> <a class="code hl_variable" href="class_painting_tool.html#adf0e235ea9a6fb0b139c110ad5cd421f">_shouldDraw</a> = <span class="keyword">false</span>; </div>
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno"> 74</span> </div>
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno"><a class="line" href="class_painting_tool.html#a31331a9567b3d914163610162debbaae"> 75</a></span> GPUAsyncTask <a class="code hl_variable" href="class_painting_tool.html#a31331a9567b3d914163610162debbaae">_readbackTask</a> = 0; </div>
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno"> 76</span>};</div>
<div class="ttc" id="aclass_painting_tool_html"><div class="ttname"><a href="class_painting_tool.html">PaintingTool</a></div><div class="ttdoc">Utility presenting a canvas to the user, along with a brush tool to paint on it using different shape...</div><div class="ttdef"><b>Definition:</b> PaintingTool.hpp:12</div></div>
<div class="ttc" id="aclass_painting_tool_html_a08cb02410148a5f1d96d5d43be69bd2a"><div class="ttname"><a href="class_painting_tool.html#a08cb02410148a5f1d96d5d43be69bd2a">PaintingTool::_bgColor</a></div><div class="ttdeci">glm::vec3 _bgColor</div><div class="ttdoc">Canvas color.</div><div class="ttdef"><b>Definition:</b> PaintingTool.hpp:66</div></div>
<div class="ttc" id="aclass_painting_tool_html_a1be24fe877e94f5748f9d12835d399ee"><div class="ttname"><a href="class_painting_tool.html#a1be24fe877e94f5748f9d12835d399ee">PaintingTool::_shouldClear</a></div><div class="ttdeci">bool _shouldClear</div><div class="ttdoc">Clear the canvas at the next frame.</div><div class="ttdef"><b>Definition:</b> PaintingTool.hpp:72</div></div>
<div class="ttc" id="aclass_painting_tool_html_a1d04aec8ada151233d7809d7b2b9f9f4"><div class="ttname"><a href="class_painting_tool.html#a1d04aec8ada151233d7809d7b2b9f9f4">PaintingTool::texture</a></div><div class="ttdeci">const Texture * texture() const</div><div class="ttdef"><b>Definition:</b> PaintingTool.hpp:38</div></div>
<div class="ttc" id="aclass_painting_tool_html_a2235a847455b4cba6b8a64570005b256"><div class="ttname"><a href="class_painting_tool.html#a2235a847455b4cba6b8a64570005b256">PaintingTool::Mode</a></div><div class="ttdeci">Mode</div><div class="ttdoc">The effect of a brush stroke.</div><div class="ttdef"><b>Definition:</b> PaintingTool.hpp:47</div></div>
<div class="ttc" id="aclass_painting_tool_html_a2ad280f800669f92f5b6ca7575635b90"><div class="ttname"><a href="class_painting_tool.html#a2ad280f800669f92f5b6ca7575635b90">PaintingTool::update</a></div><div class="ttdeci">void update()</div><div class="ttdef"><b>Definition:</b> PaintingTool.cpp:102</div></div>
<div class="ttc" id="aclass_painting_tool_html_a31331a9567b3d914163610162debbaae"><div class="ttname"><a href="class_painting_tool.html#a31331a9567b3d914163610162debbaae">PaintingTool::_readbackTask</a></div><div class="ttdeci">GPUAsyncTask _readbackTask</div><div class="ttdoc">Handle for color picker task.</div><div class="ttdef"><b>Definition:</b> PaintingTool.hpp:75</div></div>
<div class="ttc" id="aclass_painting_tool_html_a635f61349260f14d0405f0e71ef0386a"><div class="ttname"><a href="class_painting_tool.html#a635f61349260f14d0405f0e71ef0386a">PaintingTool::_brushes</a></div><div class="ttdeci">std::vector< Mesh > _brushes</div><div class="ttdoc">Brush shape geometries.</div><div class="ttdef"><b>Definition:</b> PaintingTool.hpp:64</div></div>
<div class="ttc" id="aclass_painting_tool_html_a6925ac5e47dfef929e9f5a88022cc044"><div class="ttname"><a href="class_painting_tool.html#a6925ac5e47dfef929e9f5a88022cc044">PaintingTool::visuId</a></div><div class="ttdeci">const Texture * visuId() const</div><div class="ttdef"><b>Definition:</b> PaintingTool.hpp:43</div></div>
<div class="ttc" id="aclass_painting_tool_html_a71f6eb803646afd2ebf379843cc8bb04"><div class="ttname"><a href="class_painting_tool.html#a71f6eb803646afd2ebf379843cc8bb04">PaintingTool::_radius</a></div><div class="ttdeci">int _radius</div><div class="ttdoc">Brush radius, in pixels.</div><div class="ttdef"><b>Definition:</b> PaintingTool.hpp:69</div></div>
<div class="ttc" id="aclass_painting_tool_html_a73b1ec2a98703fd30f4cc6fa2d3700c6"><div class="ttname"><a href="class_painting_tool.html#a73b1ec2a98703fd30f4cc6fa2d3700c6">PaintingTool::_fgColor</a></div><div class="ttdeci">glm::vec3 _fgColor</div><div class="ttdoc">Brush color.</div><div class="ttdef"><b>Definition:</b> PaintingTool.hpp:67</div></div>
<div class="ttc" id="aclass_painting_tool_html_a8bf2aa6904e38a2c45fa4cfc4b2de4ca"><div class="ttname"><a href="class_painting_tool.html#a8bf2aa6904e38a2c45fa4cfc4b2de4ca">PaintingTool::_canvas</a></div><div class="ttdeci">Texture _canvas</div><div class="ttdoc">Scene rendering buffer.</div><div class="ttdef"><b>Definition:</b> PaintingTool.hpp:60</div></div>
<div class="ttc" id="aclass_painting_tool_html_a8e1622bd52b29b9b3e386524d0b8cdb3"><div class="ttname"><a href="class_painting_tool.html#a8e1622bd52b29b9b3e386524d0b8cdb3">PaintingTool::_drawPos</a></div><div class="ttdeci">glm::vec2 _drawPos</div><div class="ttdoc">Current brush position.</div><div class="ttdef"><b>Definition:</b> PaintingTool.hpp:68</div></div>
<div class="ttc" id="aclass_painting_tool_html_aa1767464838bcb73b48f541e4f19b507"><div class="ttname"><a href="class_painting_tool.html#aa1767464838bcb73b48f541e4f19b507">PaintingTool::draw</a></div><div class="ttdeci">void draw()</div><div class="ttdef"><b>Definition:</b> PaintingTool.cpp:55</div></div>
<div class="ttc" id="aclass_painting_tool_html_aa67d73cbc74f4be7d406feafccd282bc"><div class="ttname"><a href="class_painting_tool.html#aa67d73cbc74f4be7d406feafccd282bc">PaintingTool::_shape</a></div><div class="ttdeci">Shape _shape</div><div class="ttdoc">Current brush shape.</div><div class="ttdef"><b>Definition:</b> PaintingTool.hpp:71</div></div>
<div class="ttc" id="aclass_painting_tool_html_aac51b6ebdf38297ae12da82da2193af0"><div class="ttname"><a href="class_painting_tool.html#aac51b6ebdf38297ae12da82da2193af0">PaintingTool::_brushShader</a></div><div class="ttdeci">Program * _brushShader</div><div class="ttdoc">Program for the brush and its outline.</div><div class="ttdef"><b>Definition:</b> PaintingTool.hpp:63</div></div>
<div class="ttc" id="aclass_painting_tool_html_ab369cbc568d7ffe74445d2b74f463ab7"><div class="ttname"><a href="class_painting_tool.html#ab369cbc568d7ffe74445d2b74f463ab7">PaintingTool::_mode</a></div><div class="ttdeci">Mode _mode</div><div class="ttdoc">Current brush effect.</div><div class="ttdef"><b>Definition:</b> PaintingTool.hpp:70</div></div>
<div class="ttc" id="aclass_painting_tool_html_acb36263061f9d4c402c261c7b1c58946"><div class="ttname"><a href="class_painting_tool.html#acb36263061f9d4c402c261c7b1c58946">PaintingTool::resize</a></div><div class="ttdeci">void resize(uint width, uint height)</div><div class="ttdef"><b>Definition:</b> PaintingTool.cpp:154</div></div>
<div class="ttc" id="aclass_painting_tool_html_adc95d9c62b816d5e766fd77d910d9ef9"><div class="ttname"><a href="class_painting_tool.html#adc95d9c62b816d5e766fd77d910d9ef9">PaintingTool::Shape</a></div><div class="ttdeci">Shape</div><div class="ttdoc">The shape of the brush.</div><div class="ttdef"><b>Definition:</b> PaintingTool.hpp:53</div></div>
<div class="ttc" id="aclass_painting_tool_html_adf0e235ea9a6fb0b139c110ad5cd421f"><div class="ttname"><a href="class_painting_tool.html#adf0e235ea9a6fb0b139c110ad5cd421f">PaintingTool::_shouldDraw</a></div><div class="ttdeci">bool _shouldDraw</div><div class="ttdoc">Apply the brush to the canvas at the next frame.</div><div class="ttdef"><b>Definition:</b> PaintingTool.hpp:73</div></div>
<div class="ttc" id="aclass_painting_tool_html_aea4fb8a6177c1327db2211de6671914d"><div class="ttname"><a href="class_painting_tool.html#aea4fb8a6177c1327db2211de6671914d">PaintingTool::_visu</a></div><div class="ttdeci">Texture _visu</div><div class="ttdoc">Scene rendering buffer.</div><div class="ttdef"><b>Definition:</b> PaintingTool.hpp:61</div></div>
<div class="ttc" id="aclass_program_html"><div class="ttname"><a href="class_program.html">Program</a></div><div class="ttdoc">Represents a group of shaders used for rendering.</div><div class="ttdef"><b>Definition:</b> Program.hpp:31</div></div>
<div class="ttc" id="aclass_texture_html"><div class="ttname"><a href="class_texture.html">Texture</a></div><div class="ttdoc">Represents a texture containing one or more images, stored on the CPU and/or GPU.</div><div class="ttdef"><b>Definition:</b> Texture.hpp:12</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- HTML footer for doxygen 1.8.14-->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by <a href="http://www.doxygen.org/index.html">Doxygen</a> 1.9.5
- Theme by <a href="http://simonrodriguez.fr">Simon Rodriguez</a></small></address><br>
</body>
</html>