-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_noises_8h_source.html
93 lines (93 loc) · 57.4 KB
/
_noises_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
<!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.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Gamedev Framework (gf): Noises.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>
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
extensions: ["tex2jax.js"],
jax: ["input/TeX","output/HTML-CSS"],
});
</script><script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="custom.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="projectlogo"><img alt="Logo" src="gf_logo.png"/></td>
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Gamedev Framework (gf)
 <span id="projectnumber">0.15.0</span>
</div>
<div id="projectbrief">A C++14 framework for 2D games</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
initMenu('',false,false,'search.php','Search');
});
</script>
<div id="main-nav"></div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_6d069d519ae9d12fa11dd8e685586b60.html">gf</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">Noises.h</div> </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/*</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * Gamedev Framework (gf)</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> * Copyright (C) 2016-2019 Julien Bernard</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> *</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> * This software is provided 'as-is', without any express or implied</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * warranty. In no event will the authors be held liable for any damages</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> * arising from the use of this software.</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> *</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"> * Permission is granted to anyone to use this software for any purpose,</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> * including commercial applications, and to alter it and redistribute it</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"> * freely, subject to the following restrictions:</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"> *</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment"> * 1. The origin of this software must not be misrepresented; you must not</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment"> * claim that you wrote the original software. If you use this software</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment"> * in a product, an acknowledgment in the product documentation would be</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment"> * appreciated but is not required.</span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="comment"> * 2. Altered source versions must be plainly marked as such, and must not be</span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="comment"> * misrepresented as being the original software.</span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="comment"> * 3. This notice may not be removed or altered from any source distribution.</span></div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="comment"> */</span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor">#ifndef GF_NOISES_H</span></div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#define GF_NOISES_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 <cstddef></span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#include <cstdint></span></div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#include <array></span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="preprocessor">#include <functional></span></div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="preprocessor">#include <vector></span></div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> </div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="preprocessor">#include "Math.h"</span></div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="preprocessor">#include "Noise.h"</span></div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="preprocessor">#include "Portability.h"</span></div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="preprocessor">#include "Vector.h"</span></div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span> </div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span> </div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="keyword">namespace </span><a class="code" href="namespacegf.html">gf</a> {</div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="preprocessor">#ifndef DOXYGEN_SHOULD_SKIP_THIS</span></div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span> <span class="keyword">inline</span> <span class="keyword">namespace </span>v1 {</div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span> </div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  <span class="keyword">class </span>Random;</div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span> </div><div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="classgf_1_1_value_noise2_d.html"> 50</a></span>  <span class="keyword">class </span>GF_API <a class="code" href="classgf_1_1_value_noise2_d.html">ValueNoise2D</a> : <span class="keyword">public</span> <a class="code" href="classgf_1_1_noise2_d.html">Noise2D</a> {</div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  <span class="keyword">public</span>:</div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  <a class="code" href="classgf_1_1_value_noise2_d.html">ValueNoise2D</a>(<a class="code" href="classgf_1_1_random.html">Random</a>& random, <a class="code" href="group__core.html#ga44b429e4f47cceab994f3b20b811d681">Step<double></a> step);</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="keywordtype">double</span> getValue(<span class="keywordtype">double</span> x, <span class="keywordtype">double</span> y) <span class="keyword">override</span>;</div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span> </div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  <span class="keyword">private</span>:</div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  <a class="code" href="group__core.html#ga44b429e4f47cceab994f3b20b811d681">Step<double></a> m_step;</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  std::array<uint8_t, 256> m_perm;</div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  std::array<double, 256> m_values;</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="keywordtype">double</span> at(uint8_t i, uint8_t j) <span class="keyword">const</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> </div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span> </div><div class="line"><a name="l00080"></a><span class="lineno"><a class="line" href="classgf_1_1_gradient_noise2_d.html"> 80</a></span>  <span class="keyword">class </span>GF_API <a class="code" href="classgf_1_1_gradient_noise2_d.html">GradientNoise2D</a> : <span class="keyword">public</span> <a class="code" href="classgf_1_1_noise2_d.html">Noise2D</a> {</div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  <span class="keyword">public</span>:</div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  <a class="code" href="classgf_1_1_gradient_noise2_d.html">GradientNoise2D</a>(<a class="code" href="classgf_1_1_random.html">Random</a>& random, <a class="code" href="group__core.html#ga44b429e4f47cceab994f3b20b811d681">Step<double></a> step);</div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span> </div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  <span class="keywordtype">double</span> getValue(<span class="keywordtype">double</span> x, <span class="keywordtype">double</span> y) <span class="keyword">override</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>  <span class="keyword">private</span>:</div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  <a class="code" href="group__core.html#ga44b429e4f47cceab994f3b20b811d681">Step<double></a> m_step;</div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  std::array<uint8_t, 256> m_perm;</div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  std::array<Vector2d, 256> m_gradients2D;</div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span> </div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  <span class="keyword">const</span> <a class="code" href="structgf_1_1_vector.html">Vector2d</a>& at(uint8_t i, uint8_t j) <span class="keyword">const</span>;</div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  };</div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span> </div><div class="line"><a name="l00109"></a><span class="lineno"><a class="line" href="classgf_1_1_gradient_noise3_d.html"> 109</a></span>  <span class="keyword">class </span>GF_API <a class="code" href="classgf_1_1_gradient_noise3_d.html">GradientNoise3D</a> : <span class="keyword">public</span> <a class="code" href="classgf_1_1_noise3_d.html">Noise3D</a> {</div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  <span class="keyword">public</span>:</div><div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  <a class="code" href="classgf_1_1_gradient_noise3_d.html">GradientNoise3D</a>(<a class="code" href="classgf_1_1_random.html">Random</a>& random, <a class="code" href="group__core.html#ga44b429e4f47cceab994f3b20b811d681">Step<double></a> step);</div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span> </div><div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  <span class="keywordtype">double</span> getValue(<span class="keywordtype">double</span> x, <span class="keywordtype">double</span> y, <span class="keywordtype">double</span> z) <span class="keyword">override</span>;</div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span> </div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  <span class="keyword">private</span>:</div><div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  <a class="code" href="group__core.html#ga44b429e4f47cceab994f3b20b811d681">Step<double></a> m_step;</div><div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  std::array<uint8_t, 256> m_perm;</div><div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  std::array<Vector3d, 256> m_gradients3D;</div><div class="line"><a name="l00127"></a><span class="lineno"> 127</span> </div><div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  <span class="keyword">const</span> <a class="code" href="structgf_1_1_vector.html">Vector3d</a>& at(uint8_t i, uint8_t j, uint8_t k) <span class="keyword">const</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> </div><div class="line"><a name="l00141"></a><span class="lineno"><a class="line" href="classgf_1_1_better_gradient_noise2_d.html"> 141</a></span>  <span class="keyword">class </span>GF_API <a class="code" href="classgf_1_1_better_gradient_noise2_d.html">BetterGradientNoise2D</a> : <span class="keyword">public</span> <a class="code" href="classgf_1_1_noise2_d.html">Noise2D</a> {</div><div class="line"><a name="l00142"></a><span class="lineno"> 142</span>  <span class="keyword">public</span>:</div><div class="line"><a name="l00148"></a><span class="lineno"> 148</span>  <a class="code" href="classgf_1_1_better_gradient_noise2_d.html">BetterGradientNoise2D</a>(<a class="code" href="classgf_1_1_random.html">Random</a>& random);</div><div class="line"><a name="l00149"></a><span class="lineno"> 149</span> </div><div class="line"><a name="l00150"></a><span class="lineno"> 150</span>  <span class="keywordtype">double</span> getValue(<span class="keywordtype">double</span> x, <span class="keywordtype">double</span> y) <span class="keyword">override</span>;</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"> 153</span>  std::array<uint8_t, 256> m_permX;</div><div class="line"><a name="l00154"></a><span class="lineno"> 154</span>  std::array<uint8_t, 256> m_permY;</div><div class="line"><a name="l00155"></a><span class="lineno"> 155</span>  std::array<Vector2d, 256> m_gradients2D;</div><div class="line"><a name="l00156"></a><span class="lineno"> 156</span> </div><div class="line"><a name="l00157"></a><span class="lineno"> 157</span>  <span class="keyword">const</span> <a class="code" href="structgf_1_1_vector.html">Vector2d</a>& at(uint8_t i, uint8_t j) <span class="keyword">const</span>;</div><div class="line"><a name="l00158"></a><span class="lineno"> 158</span>  };</div><div class="line"><a name="l00159"></a><span class="lineno"> 159</span> </div><div class="line"><a name="l00168"></a><span class="lineno"><a class="line" href="classgf_1_1_fractal_noise2_d.html"> 168</a></span>  <span class="keyword">class </span>GF_API <a class="code" href="classgf_1_1_fractal_noise2_d.html">FractalNoise2D</a> : <span class="keyword">public</span> <a class="code" href="classgf_1_1_noise2_d.html">Noise2D</a> {</div><div class="line"><a name="l00169"></a><span class="lineno"> 169</span>  <span class="keyword">public</span>:</div><div class="line"><a name="l00180"></a><span class="lineno"> 180</span>  <a class="code" href="classgf_1_1_fractal_noise2_d.html">FractalNoise2D</a>(<a class="code" href="classgf_1_1_noise2_d.html">Noise2D</a>& noise, <span class="keywordtype">double</span> <a class="code" href="group__core.html#ga9a28734646b10ca5179fc221c103545a">scale</a>, std::size_t octaves = 8, <span class="keywordtype">double</span> lacunarity = 2.0, <span class="keywordtype">double</span> persistence = 0.5, <span class="keywordtype">double</span></div><div class="line"><a name="l00181"></a><span class="lineno"> 181</span>  dimension = 1.0);</div><div class="line"><a name="l00182"></a><span class="lineno"> 182</span> </div><div class="line"><a name="l00183"></a><span class="lineno"> 183</span>  <span class="keywordtype">double</span> getValue(<span class="keywordtype">double</span> x, <span class="keywordtype">double</span> y) <span class="keyword">override</span>;</div><div class="line"><a name="l00184"></a><span class="lineno"> 184</span> </div><div class="line"><a name="l00185"></a><span class="lineno"> 185</span>  <span class="keyword">private</span>:</div><div class="line"><a name="l00186"></a><span class="lineno"> 186</span>  <a class="code" href="classgf_1_1_noise2_d.html">Noise2D</a>& m_noise;</div><div class="line"><a name="l00187"></a><span class="lineno"> 187</span>  <span class="keywordtype">double</span> m_scale;</div><div class="line"><a name="l00188"></a><span class="lineno"> 188</span>  std::size_t m_octaves;</div><div class="line"><a name="l00189"></a><span class="lineno"> 189</span>  <span class="keywordtype">double</span> m_lacunarity;</div><div class="line"><a name="l00190"></a><span class="lineno"> 190</span>  <span class="keywordtype">double</span> m_persistence;</div><div class="line"><a name="l00191"></a><span class="lineno"> 191</span>  <span class="keywordtype">double</span> m_dimension;</div><div class="line"><a name="l00192"></a><span class="lineno"> 192</span>  };</div><div class="line"><a name="l00193"></a><span class="lineno"> 193</span> </div><div class="line"><a name="l00194"></a><span class="lineno"> 194</span> </div><div class="line"><a name="l00203"></a><span class="lineno"><a class="line" href="classgf_1_1_fractal_noise3_d.html"> 203</a></span>  <span class="keyword">class </span>GF_API <a class="code" href="classgf_1_1_fractal_noise3_d.html">FractalNoise3D</a> : <span class="keyword">public</span> <a class="code" href="classgf_1_1_noise3_d.html">Noise3D</a> {</div><div class="line"><a name="l00204"></a><span class="lineno"> 204</span>  <span class="keyword">public</span>:</div><div class="line"><a name="l00215"></a><span class="lineno"> 215</span>  <a class="code" href="classgf_1_1_fractal_noise3_d.html">FractalNoise3D</a>(<a class="code" href="classgf_1_1_noise3_d.html">Noise3D</a>& noise, <span class="keywordtype">double</span> <a class="code" href="group__core.html#ga9a28734646b10ca5179fc221c103545a">scale</a>, std::size_t octaves = 8, <span class="keywordtype">double</span> lacunarity = 2.0, <span class="keywordtype">double</span> persistence = 0.5, <span class="keywordtype">double</span> dimension = 1.0);</div><div class="line"><a name="l00216"></a><span class="lineno"> 216</span> </div><div class="line"><a name="l00217"></a><span class="lineno"> 217</span>  <span class="keywordtype">double</span> getValue(<span class="keywordtype">double</span> x, <span class="keywordtype">double</span> y, <span class="keywordtype">double</span> z) <span class="keyword">override</span>;</div><div class="line"><a name="l00218"></a><span class="lineno"> 218</span> </div><div class="line"><a name="l00219"></a><span class="lineno"> 219</span>  <span class="keyword">private</span>:</div><div class="line"><a name="l00220"></a><span class="lineno"> 220</span>  <a class="code" href="classgf_1_1_noise3_d.html">Noise3D</a>& m_noise;</div><div class="line"><a name="l00221"></a><span class="lineno"> 221</span>  <span class="keywordtype">double</span> m_scale;</div><div class="line"><a name="l00222"></a><span class="lineno"> 222</span>  std::size_t m_octaves;</div><div class="line"><a name="l00223"></a><span class="lineno"> 223</span>  <span class="keywordtype">double</span> m_lacunarity;</div><div class="line"><a name="l00224"></a><span class="lineno"> 224</span>  <span class="keywordtype">double</span> m_persistence;</div><div class="line"><a name="l00225"></a><span class="lineno"> 225</span>  <span class="keywordtype">double</span> m_dimension;</div><div class="line"><a name="l00226"></a><span class="lineno"> 226</span>  };</div><div class="line"><a name="l00227"></a><span class="lineno"> 227</span> </div><div class="line"><a name="l00228"></a><span class="lineno"> 228</span> </div><div class="line"><a name="l00238"></a><span class="lineno"><a class="line" href="classgf_1_1_perlin_noise2_d.html"> 238</a></span>  <span class="keyword">class </span>GF_API <a class="code" href="classgf_1_1_perlin_noise2_d.html">PerlinNoise2D</a> : <span class="keyword">public</span> <a class="code" href="classgf_1_1_noise2_d.html">Noise2D</a> {</div><div class="line"><a name="l00239"></a><span class="lineno"> 239</span>  <span class="keyword">public</span>:</div><div class="line"><a name="l00247"></a><span class="lineno"> 247</span>  <a class="code" href="classgf_1_1_perlin_noise2_d.html">PerlinNoise2D</a>(<a class="code" href="classgf_1_1_random.html">Random</a>& random, <span class="keywordtype">double</span> <a class="code" href="group__core.html#ga9a28734646b10ca5179fc221c103545a">scale</a>, std::size_t octaves = 8);</div><div class="line"><a name="l00248"></a><span class="lineno"> 248</span> </div><div class="line"><a name="l00249"></a><span class="lineno"> 249</span>  <span class="keywordtype">double</span> getValue(<span class="keywordtype">double</span> x, <span class="keywordtype">double</span> y) <span class="keyword">override</span>;</div><div class="line"><a name="l00250"></a><span class="lineno"> 250</span> </div><div class="line"><a name="l00251"></a><span class="lineno"> 251</span>  <span class="keyword">private</span>:</div><div class="line"><a name="l00252"></a><span class="lineno"> 252</span>  <a class="code" href="classgf_1_1_gradient_noise2_d.html">GradientNoise2D</a> m_gradient;</div><div class="line"><a name="l00253"></a><span class="lineno"> 253</span>  <a class="code" href="classgf_1_1_fractal_noise2_d.html">FractalNoise2D</a> m_fractal;</div><div class="line"><a name="l00254"></a><span class="lineno"> 254</span>  };</div><div class="line"><a name="l00255"></a><span class="lineno"> 255</span> </div><div class="line"><a name="l00265"></a><span class="lineno"><a class="line" href="classgf_1_1_perlin_noise3_d.html"> 265</a></span>  <span class="keyword">class </span>GF_API <a class="code" href="classgf_1_1_perlin_noise3_d.html">PerlinNoise3D</a> : <span class="keyword">public</span> <a class="code" href="classgf_1_1_noise3_d.html">Noise3D</a> {</div><div class="line"><a name="l00266"></a><span class="lineno"> 266</span>  <span class="keyword">public</span>:</div><div class="line"><a name="l00274"></a><span class="lineno"> 274</span>  <a class="code" href="classgf_1_1_perlin_noise3_d.html">PerlinNoise3D</a>(<a class="code" href="classgf_1_1_random.html">Random</a>& random, <span class="keywordtype">double</span> <a class="code" href="group__core.html#ga9a28734646b10ca5179fc221c103545a">scale</a>, std::size_t octaves = 8);</div><div class="line"><a name="l00275"></a><span class="lineno"> 275</span> </div><div class="line"><a name="l00276"></a><span class="lineno"> 276</span>  <span class="keywordtype">double</span> getValue(<span class="keywordtype">double</span> x, <span class="keywordtype">double</span> y, <span class="keywordtype">double</span> z) <span class="keyword">override</span>;</div><div class="line"><a name="l00277"></a><span class="lineno"> 277</span> </div><div class="line"><a name="l00278"></a><span class="lineno"> 278</span>  <span class="keyword">private</span>:</div><div class="line"><a name="l00279"></a><span class="lineno"> 279</span>  <a class="code" href="classgf_1_1_gradient_noise3_d.html">GradientNoise3D</a> m_gradient;</div><div class="line"><a name="l00280"></a><span class="lineno"> 280</span>  <a class="code" href="classgf_1_1_fractal_noise3_d.html">FractalNoise3D</a> m_fractal;</div><div class="line"><a name="l00281"></a><span class="lineno"> 281</span>  };</div><div class="line"><a name="l00282"></a><span class="lineno"> 282</span> </div><div class="line"><a name="l00283"></a><span class="lineno"> 283</span> </div><div class="line"><a name="l00296"></a><span class="lineno"><a class="line" href="classgf_1_1_simplex_noise2_d.html"> 296</a></span>  <span class="keyword">class </span>GF_API <a class="code" href="classgf_1_1_simplex_noise2_d.html">SimplexNoise2D</a> : <span class="keyword">public</span> <a class="code" href="classgf_1_1_noise2_d.html">Noise2D</a> {</div><div class="line"><a name="l00297"></a><span class="lineno"> 297</span>  <span class="keyword">public</span>:</div><div class="line"><a name="l00303"></a><span class="lineno"> 303</span>  <a class="code" href="classgf_1_1_simplex_noise2_d.html">SimplexNoise2D</a>(<a class="code" href="classgf_1_1_random.html">Random</a>& random);</div><div class="line"><a name="l00304"></a><span class="lineno"> 304</span> </div><div class="line"><a name="l00305"></a><span class="lineno"> 305</span>  <span class="keywordtype">double</span> getValue(<span class="keywordtype">double</span> x, <span class="keywordtype">double</span> y) <span class="keyword">override</span>;</div><div class="line"><a name="l00306"></a><span class="lineno"> 306</span> </div><div class="line"><a name="l00307"></a><span class="lineno"> 307</span>  <span class="keyword">private</span>:</div><div class="line"><a name="l00308"></a><span class="lineno"> 308</span>  std::array<uint8_t, 256> m_perm;</div><div class="line"><a name="l00309"></a><span class="lineno"> 309</span> </div><div class="line"><a name="l00310"></a><span class="lineno"> 310</span>  <span class="keyword">const</span> <a class="code" href="structgf_1_1_vector.html">Vector2d</a>& at(uint8_t i, uint8_t j) <span class="keyword">const</span>;</div><div class="line"><a name="l00311"></a><span class="lineno"> 311</span>  };</div><div class="line"><a name="l00312"></a><span class="lineno"> 312</span> </div><div class="line"><a name="l00313"></a><span class="lineno"> 313</span> </div><div class="line"><a name="l00323"></a><span class="lineno"><a class="line" href="classgf_1_1_open_simplex_noise2_d.html"> 323</a></span>  <span class="keyword">class </span>GF_API <a class="code" href="classgf_1_1_open_simplex_noise2_d.html">OpenSimplexNoise2D</a> : <span class="keyword">public</span> <a class="code" href="classgf_1_1_noise2_d.html">Noise2D</a> {</div><div class="line"><a name="l00324"></a><span class="lineno"> 324</span>  <span class="keyword">public</span>:</div><div class="line"><a name="l00330"></a><span class="lineno"> 330</span>  <a class="code" href="classgf_1_1_open_simplex_noise2_d.html">OpenSimplexNoise2D</a>(<a class="code" href="classgf_1_1_random.html">Random</a>& random);</div><div class="line"><a name="l00331"></a><span class="lineno"> 331</span> </div><div class="line"><a name="l00332"></a><span class="lineno"> 332</span>  <span class="keywordtype">double</span> getValue(<span class="keywordtype">double</span> x, <span class="keywordtype">double</span> y) <span class="keyword">override</span>;</div><div class="line"><a name="l00333"></a><span class="lineno"> 333</span> </div><div class="line"><a name="l00334"></a><span class="lineno"> 334</span>  <span class="keyword">private</span>:</div><div class="line"><a name="l00335"></a><span class="lineno"> 335</span>  std::array<uint8_t, 256> m_perm;</div><div class="line"><a name="l00336"></a><span class="lineno"> 336</span> </div><div class="line"><a name="l00337"></a><span class="lineno"> 337</span>  <span class="keyword">const</span> <a class="code" href="structgf_1_1_vector.html">Vector2d</a>& at(uint8_t i, uint8_t j) <span class="keyword">const</span>;</div><div class="line"><a name="l00338"></a><span class="lineno"> 338</span>  };</div><div class="line"><a name="l00339"></a><span class="lineno"> 339</span> </div><div class="line"><a name="l00349"></a><span class="lineno"><a class="line" href="classgf_1_1_open_simplex_noise3_d.html"> 349</a></span>  <span class="keyword">class </span>GF_API <a class="code" href="classgf_1_1_open_simplex_noise3_d.html">OpenSimplexNoise3D</a> : <span class="keyword">public</span> <a class="code" href="classgf_1_1_noise3_d.html">Noise3D</a> {</div><div class="line"><a name="l00350"></a><span class="lineno"> 350</span>  <span class="keyword">public</span>:</div><div class="line"><a name="l00356"></a><span class="lineno"> 356</span>  <a class="code" href="classgf_1_1_open_simplex_noise3_d.html">OpenSimplexNoise3D</a>(<a class="code" href="classgf_1_1_random.html">Random</a>& random);</div><div class="line"><a name="l00357"></a><span class="lineno"> 357</span> </div><div class="line"><a name="l00358"></a><span class="lineno"> 358</span>  <span class="keywordtype">double</span> getValue(<span class="keywordtype">double</span> x, <span class="keywordtype">double</span> y, <span class="keywordtype">double</span> z) <span class="keyword">override</span>;</div><div class="line"><a name="l00359"></a><span class="lineno"> 359</span> </div><div class="line"><a name="l00360"></a><span class="lineno"> 360</span>  <span class="keyword">private</span>:</div><div class="line"><a name="l00361"></a><span class="lineno"> 361</span>  std::array<uint8_t, 256> m_perm;</div><div class="line"><a name="l00362"></a><span class="lineno"> 362</span> </div><div class="line"><a name="l00363"></a><span class="lineno"> 363</span>  <span class="keyword">const</span> <a class="code" href="structgf_1_1_vector.html">Vector3d</a>& at(uint8_t i, uint8_t j, uint8_t k) <span class="keyword">const</span>;</div><div class="line"><a name="l00364"></a><span class="lineno"> 364</span>  };</div><div class="line"><a name="l00365"></a><span class="lineno"> 365</span> </div><div class="line"><a name="l00372"></a><span class="lineno"><a class="line" href="classgf_1_1_wavelet_noise3_d.html"> 372</a></span>  <span class="keyword">class </span>GF_API <a class="code" href="classgf_1_1_wavelet_noise3_d.html">WaveletNoise3D</a> : <span class="keyword">public</span> <a class="code" href="classgf_1_1_noise3_d.html">Noise3D</a> {</div><div class="line"><a name="l00373"></a><span class="lineno"> 373</span>  <span class="keyword">public</span>:</div><div class="line"><a name="l00380"></a><span class="lineno"> 380</span>  <a class="code" href="classgf_1_1_wavelet_noise3_d.html">WaveletNoise3D</a>(<a class="code" href="classgf_1_1_random.html">Random</a>& random, std::ptrdiff_t n = 32);</div><div class="line"><a name="l00381"></a><span class="lineno"> 381</span> </div><div class="line"><a name="l00382"></a><span class="lineno"> 382</span>  <span class="keywordtype">double</span> getValue(<span class="keywordtype">double</span> x, <span class="keywordtype">double</span> y, <span class="keywordtype">double</span> z) <span class="keyword">override</span>;</div><div class="line"><a name="l00383"></a><span class="lineno"> 383</span> </div><div class="line"><a name="l00384"></a><span class="lineno"> 384</span>  <span class="keyword">private</span>:</div><div class="line"><a name="l00385"></a><span class="lineno"> 385</span>  std::ptrdiff_t m_n;</div><div class="line"><a name="l00386"></a><span class="lineno"> 386</span>  std::vector<double> m_data;</div><div class="line"><a name="l00387"></a><span class="lineno"> 387</span>  };</div><div class="line"><a name="l00388"></a><span class="lineno"> 388</span> </div><div class="line"><a name="l00397"></a><span class="lineno"><a class="line" href="classgf_1_1_worley_noise2_d.html"> 397</a></span>  <span class="keyword">class </span>GF_API <a class="code" href="classgf_1_1_worley_noise2_d.html">WorleyNoise2D</a> : <span class="keyword">public</span> <a class="code" href="classgf_1_1_noise2_d.html">Noise2D</a> {</div><div class="line"><a name="l00398"></a><span class="lineno"> 398</span>  <span class="keyword">public</span>:</div><div class="line"><a name="l00407"></a><span class="lineno"> 407</span>  <a class="code" href="classgf_1_1_worley_noise2_d.html">WorleyNoise2D</a>(<a class="code" href="classgf_1_1_random.html">Random</a>& random, std::size_t count, <a class="code" href="group__core.html#ga20b973d6afc270ead61a988e216199bd">Distance2<double></a> distance, std::vector<double> coeffs);</div><div class="line"><a name="l00408"></a><span class="lineno"> 408</span> </div><div class="line"><a name="l00409"></a><span class="lineno"> 409</span>  <span class="keywordtype">double</span> getValue(<span class="keywordtype">double</span> x, <span class="keywordtype">double</span> y) <span class="keyword">override</span>;</div><div class="line"><a name="l00410"></a><span class="lineno"> 410</span> </div><div class="line"><a name="l00411"></a><span class="lineno"> 411</span>  <span class="keyword">private</span>:</div><div class="line"><a name="l00412"></a><span class="lineno"> 412</span>  std::size_t m_count;</div><div class="line"><a name="l00413"></a><span class="lineno"> 413</span>  <a class="code" href="group__core.html#ga20b973d6afc270ead61a988e216199bd">Distance2<double></a> m_distance;</div><div class="line"><a name="l00414"></a><span class="lineno"> 414</span>  std::vector<double> m_coeffs;</div><div class="line"><a name="l00415"></a><span class="lineno"> 415</span>  std::vector<Vector2d> m_cells;</div><div class="line"><a name="l00416"></a><span class="lineno"> 416</span>  };</div><div class="line"><a name="l00417"></a><span class="lineno"> 417</span> </div><div class="line"><a name="l00418"></a><span class="lineno"> 418</span> </div><div class="line"><a name="l00424"></a><span class="lineno"><a class="line" href="classgf_1_1_multifractal2_d.html"> 424</a></span>  <span class="keyword">class </span>GF_API <a class="code" href="classgf_1_1_multifractal2_d.html">Multifractal2D</a> : <span class="keyword">public</span> <a class="code" href="classgf_1_1_noise2_d.html">Noise2D</a> {</div><div class="line"><a name="l00425"></a><span class="lineno"> 425</span>  <span class="keyword">public</span>:</div><div class="line"><a name="l00436"></a><span class="lineno"> 436</span>  <a class="code" href="classgf_1_1_multifractal2_d.html">Multifractal2D</a>(<a class="code" href="classgf_1_1_noise2_d.html">Noise2D</a>& noise, <span class="keywordtype">double</span> <a class="code" href="group__core.html#ga9a28734646b10ca5179fc221c103545a">scale</a>, std::size_t octaves = 8, <span class="keywordtype">double</span> lacunarity = 2.0, <span class="keywordtype">double</span> persistence = 0.5, <span class="keywordtype">double</span> dimension = 1.0);</div><div class="line"><a name="l00437"></a><span class="lineno"> 437</span> </div><div class="line"><a name="l00438"></a><span class="lineno"> 438</span>  <span class="keywordtype">double</span> getValue(<span class="keywordtype">double</span> x, <span class="keywordtype">double</span> y) <span class="keyword">override</span>;</div><div class="line"><a name="l00439"></a><span class="lineno"> 439</span> </div><div class="line"><a name="l00440"></a><span class="lineno"> 440</span>  <span class="keyword">private</span>:</div><div class="line"><a name="l00441"></a><span class="lineno"> 441</span>  <a class="code" href="classgf_1_1_noise2_d.html">Noise2D</a>& m_noise;</div><div class="line"><a name="l00442"></a><span class="lineno"> 442</span>  <span class="keywordtype">double</span> m_scale;</div><div class="line"><a name="l00443"></a><span class="lineno"> 443</span>  std::size_t m_octaves;</div><div class="line"><a name="l00444"></a><span class="lineno"> 444</span>  <span class="keywordtype">double</span> m_lacunarity;</div><div class="line"><a name="l00445"></a><span class="lineno"> 445</span>  <span class="keywordtype">double</span> m_persistence;</div><div class="line"><a name="l00446"></a><span class="lineno"> 446</span>  <span class="keywordtype">double</span> m_dimension;</div><div class="line"><a name="l00447"></a><span class="lineno"> 447</span>  };</div><div class="line"><a name="l00448"></a><span class="lineno"> 448</span> </div><div class="line"><a name="l00449"></a><span class="lineno"> 449</span> </div><div class="line"><a name="l00455"></a><span class="lineno"><a class="line" href="classgf_1_1_hetero_terrain2_d.html"> 455</a></span>  <span class="keyword">class </span>GF_API <a class="code" href="classgf_1_1_hetero_terrain2_d.html">HeteroTerrain2D</a> : <span class="keyword">public</span> <a class="code" href="classgf_1_1_noise2_d.html">Noise2D</a> {</div><div class="line"><a name="l00456"></a><span class="lineno"> 456</span>  <span class="keyword">public</span>:</div><div class="line"><a name="l00468"></a><span class="lineno"> 468</span>  <a class="code" href="classgf_1_1_hetero_terrain2_d.html">HeteroTerrain2D</a>(<a class="code" href="classgf_1_1_noise2_d.html">Noise2D</a>& noise, <span class="keywordtype">double</span> <a class="code" href="group__core.html#ga9a28734646b10ca5179fc221c103545a">scale</a>, <span class="keywordtype">double</span> offset = 0.0, std::size_t octaves = 8, <span class="keywordtype">double</span> lacunarity = 2.0, <span class="keywordtype">double</span> persistence = 0.5, <span class="keywordtype">double</span> dimension = 1.0);</div><div class="line"><a name="l00469"></a><span class="lineno"> 469</span> </div><div class="line"><a name="l00470"></a><span class="lineno"> 470</span>  <span class="keywordtype">double</span> getValue(<span class="keywordtype">double</span> x, <span class="keywordtype">double</span> y) <span class="keyword">override</span>;</div><div class="line"><a name="l00471"></a><span class="lineno"> 471</span> </div><div class="line"><a name="l00472"></a><span class="lineno"> 472</span>  <span class="keyword">private</span>:</div><div class="line"><a name="l00473"></a><span class="lineno"> 473</span>  <a class="code" href="classgf_1_1_noise2_d.html">Noise2D</a>& m_noise;</div><div class="line"><a name="l00474"></a><span class="lineno"> 474</span>  <span class="keywordtype">double</span> m_scale;</div><div class="line"><a name="l00475"></a><span class="lineno"> 475</span>  <span class="keywordtype">double</span> m_offset;</div><div class="line"><a name="l00476"></a><span class="lineno"> 476</span>  std::size_t m_octaves;</div><div class="line"><a name="l00477"></a><span class="lineno"> 477</span>  <span class="keywordtype">double</span> m_lacunarity;</div><div class="line"><a name="l00478"></a><span class="lineno"> 478</span>  <span class="keywordtype">double</span> m_persistence;</div><div class="line"><a name="l00479"></a><span class="lineno"> 479</span>  <span class="keywordtype">double</span> m_dimension;</div><div class="line"><a name="l00480"></a><span class="lineno"> 480</span>  };</div><div class="line"><a name="l00481"></a><span class="lineno"> 481</span> </div><div class="line"><a name="l00487"></a><span class="lineno"><a class="line" href="classgf_1_1_hybrid_multifractal2_d.html"> 487</a></span>  <span class="keyword">class </span>GF_API <a class="code" href="classgf_1_1_hybrid_multifractal2_d.html">HybridMultifractal2D</a> : <span class="keyword">public</span> <a class="code" href="classgf_1_1_noise2_d.html">Noise2D</a> {</div><div class="line"><a name="l00488"></a><span class="lineno"> 488</span>  <span class="keyword">public</span>:</div><div class="line"><a name="l00500"></a><span class="lineno"> 500</span>  <a class="code" href="classgf_1_1_hybrid_multifractal2_d.html">HybridMultifractal2D</a>(<a class="code" href="classgf_1_1_noise2_d.html">Noise2D</a>& noise, <span class="keywordtype">double</span> <a class="code" href="group__core.html#ga9a28734646b10ca5179fc221c103545a">scale</a>, <span class="keywordtype">double</span> offset = 0.0, std::size_t octaves = 8, <span class="keywordtype">double</span> lacunarity = 2.0, <span class="keywordtype">double</span> persistence = 0.5, <span class="keywordtype">double</span> dimension = 1.0);</div><div class="line"><a name="l00501"></a><span class="lineno"> 501</span> </div><div class="line"><a name="l00502"></a><span class="lineno"> 502</span>  <span class="keywordtype">double</span> getValue(<span class="keywordtype">double</span> x, <span class="keywordtype">double</span> y) <span class="keyword">override</span>;</div><div class="line"><a name="l00503"></a><span class="lineno"> 503</span> </div><div class="line"><a name="l00504"></a><span class="lineno"> 504</span>  <span class="keyword">private</span>:</div><div class="line"><a name="l00505"></a><span class="lineno"> 505</span>  <a class="code" href="classgf_1_1_noise2_d.html">Noise2D</a>& m_noise;</div><div class="line"><a name="l00506"></a><span class="lineno"> 506</span>  <span class="keywordtype">double</span> m_scale;</div><div class="line"><a name="l00507"></a><span class="lineno"> 507</span>  <span class="keywordtype">double</span> m_offset;</div><div class="line"><a name="l00508"></a><span class="lineno"> 508</span>  std::size_t m_octaves;</div><div class="line"><a name="l00509"></a><span class="lineno"> 509</span>  <span class="keywordtype">double</span> m_lacunarity;</div><div class="line"><a name="l00510"></a><span class="lineno"> 510</span>  <span class="keywordtype">double</span> m_persistence;</div><div class="line"><a name="l00511"></a><span class="lineno"> 511</span>  <span class="keywordtype">double</span> m_dimension;</div><div class="line"><a name="l00512"></a><span class="lineno"> 512</span>  };</div><div class="line"><a name="l00513"></a><span class="lineno"> 513</span> </div><div class="line"><a name="l00519"></a><span class="lineno"><a class="line" href="classgf_1_1_ridged_multifractal2_d.html"> 519</a></span>  <span class="keyword">class </span>GF_API <a class="code" href="classgf_1_1_ridged_multifractal2_d.html">RidgedMultifractal2D</a> : <span class="keyword">public</span> <a class="code" href="classgf_1_1_noise2_d.html">Noise2D</a> {</div><div class="line"><a name="l00520"></a><span class="lineno"> 520</span>  <span class="keyword">public</span>:</div><div class="line"><a name="l00533"></a><span class="lineno"> 533</span>  <a class="code" href="classgf_1_1_ridged_multifractal2_d.html">RidgedMultifractal2D</a>(<a class="code" href="classgf_1_1_noise2_d.html">Noise2D</a>& noise, <span class="keywordtype">double</span> <a class="code" href="group__core.html#ga9a28734646b10ca5179fc221c103545a">scale</a>, <span class="keywordtype">double</span> offset = 1.0, <span class="keywordtype">double</span> gain = 1.0, std::size_t octaves = 8, <span class="keywordtype">double</span> lacunarity = 2.0, <span class="keywordtype">double</span> persistence = 0.5, <span class="keywordtype">double</span> dimension = 1.0);</div><div class="line"><a name="l00534"></a><span class="lineno"> 534</span> </div><div class="line"><a name="l00535"></a><span class="lineno"> 535</span>  <span class="keywordtype">double</span> getValue(<span class="keywordtype">double</span> x, <span class="keywordtype">double</span> y) <span class="keyword">override</span>;</div><div class="line"><a name="l00536"></a><span class="lineno"> 536</span> </div><div class="line"><a name="l00537"></a><span class="lineno"> 537</span>  <span class="keyword">private</span>:</div><div class="line"><a name="l00538"></a><span class="lineno"> 538</span>  <a class="code" href="classgf_1_1_noise2_d.html">Noise2D</a>& m_noise;</div><div class="line"><a name="l00539"></a><span class="lineno"> 539</span>  <span class="keywordtype">double</span> m_scale;</div><div class="line"><a name="l00540"></a><span class="lineno"> 540</span>  <span class="keywordtype">double</span> m_offset;</div><div class="line"><a name="l00541"></a><span class="lineno"> 541</span>  <span class="keywordtype">double</span> m_gain;</div><div class="line"><a name="l00542"></a><span class="lineno"> 542</span>  std::size_t m_octaves;</div><div class="line"><a name="l00543"></a><span class="lineno"> 543</span>  <span class="keywordtype">double</span> m_lacunarity;</div><div class="line"><a name="l00544"></a><span class="lineno"> 544</span>  <span class="keywordtype">double</span> m_persistence;</div><div class="line"><a name="l00545"></a><span class="lineno"> 545</span>  <span class="keywordtype">double</span> m_dimension;</div><div class="line"><a name="l00546"></a><span class="lineno"> 546</span>  };</div><div class="line"><a name="l00547"></a><span class="lineno"> 547</span> </div><div class="line"><a name="l00558"></a><span class="lineno"><a class="line" href="classgf_1_1_noise3_d_to2_d_adapter.html"> 558</a></span>  <span class="keyword">class </span>GF_API <a class="code" href="classgf_1_1_noise3_d_to2_d_adapter.html">Noise3DTo2DAdapter</a> : <span class="keyword">public</span> <a class="code" href="classgf_1_1_noise2_d.html">Noise2D</a> {</div><div class="line"><a name="l00559"></a><span class="lineno"> 559</span>  <span class="keyword">public</span>:</div><div class="line"><a name="l00567"></a><span class="lineno"> 567</span>  <a class="code" href="classgf_1_1_noise3_d_to2_d_adapter.html">Noise3DTo2DAdapter</a>(<a class="code" href="classgf_1_1_noise3_d.html">Noise3D</a>& noise, <a class="code" href="structgf_1_1_vector.html">Vector3d</a> normal = <a class="code" href="group__core.html#gaebefd2196203ab24f579f910ca253570">Vector3d</a>(0.0, 0.0, 1.0), <a class="code" href="structgf_1_1_vector.html">Vector3d</a> point = <a class="code" href="group__core.html#gaebefd2196203ab24f579f910ca253570">Vector3d</a>(0.0, 0.0, 0.0));</div><div class="line"><a name="l00568"></a><span class="lineno"> 568</span> </div><div class="line"><a name="l00569"></a><span class="lineno"> 569</span>  <span class="keywordtype">double</span> getValue(<span class="keywordtype">double</span> x, <span class="keywordtype">double</span> y) <span class="keyword">override</span>;</div><div class="line"><a name="l00570"></a><span class="lineno"> 570</span> </div><div class="line"><a name="l00571"></a><span class="lineno"> 571</span>  <span class="keyword">private</span>:</div><div class="line"><a name="l00572"></a><span class="lineno"> 572</span>  <a class="code" href="classgf_1_1_noise3_d.html">Noise3D</a>& m_noise;</div><div class="line"><a name="l00573"></a><span class="lineno"> 573</span>  <a class="code" href="structgf_1_1_vector.html">Vector3d</a> m_normal;</div><div class="line"><a name="l00574"></a><span class="lineno"> 574</span>  <a class="code" href="structgf_1_1_vector.html">Vector3d</a> m_point;</div><div class="line"><a name="l00575"></a><span class="lineno"> 575</span>  };</div><div class="line"><a name="l00576"></a><span class="lineno"> 576</span> </div><div class="line"><a name="l00577"></a><span class="lineno"> 577</span> <span class="preprocessor">#ifndef DOXYGEN_SHOULD_SKIP_THIS</span></div><div class="line"><a name="l00578"></a><span class="lineno"> 578</span> }</div><div class="line"><a name="l00579"></a><span class="lineno"> 579</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00580"></a><span class="lineno"> 580</span> }</div><div class="line"><a name="l00581"></a><span class="lineno"> 581</span> </div><div class="line"><a name="l00582"></a><span class="lineno"> 582</span> <span class="preprocessor">#endif // GF_NOISES_H</span></div><div class="ttc" id="classgf_1_1_random_html"><div class="ttname"><a href="classgf_1_1_random.html">gf::Random</a></div><div class="ttdoc">A random engine. </div><div class="ttdef"><b>Definition:</b> Random.h:46</div></div>
<div class="ttc" id="group__core_html_ga9a28734646b10ca5179fc221c103545a"><div class="ttname"><a href="group__core.html#ga9a28734646b10ca5179fc221c103545a">gf::scale</a></div><div class="ttdeci">void scale(Matrix3f &mat, Vector2f factor)</div><div class="ttdoc">Combine the current transform with a scaling. </div></div>
<div class="ttc" id="group__core_html_ga20b973d6afc270ead61a988e216199bd"><div class="ttname"><a href="group__core.html#ga20b973d6afc270ead61a988e216199bd">gf::Distance2</a></div><div class="ttdeci">Distance< T, 2 > Distance2</div><div class="ttdoc">A distance function for 2D vectors. </div><div class="ttdef"><b>Definition:</b> Vector.h:1355</div></div>
<div class="ttc" id="classgf_1_1_gradient_noise3_d_html"><div class="ttname"><a href="classgf_1_1_gradient_noise3_d.html">gf::GradientNoise3D</a></div><div class="ttdoc">Gradient 3D noise. </div><div class="ttdef"><b>Definition:</b> Noises.h:109</div></div>
<div class="ttc" id="classgf_1_1_gradient_noise2_d_html"><div class="ttname"><a href="classgf_1_1_gradient_noise2_d.html">gf::GradientNoise2D</a></div><div class="ttdoc">Gradient 2D noise. </div><div class="ttdef"><b>Definition:</b> Noises.h:80</div></div>
<div class="ttc" id="classgf_1_1_noise2_d_html"><div class="ttname"><a href="classgf_1_1_noise2_d.html">gf::Noise2D</a></div><div class="ttdoc">2D A noise function </div><div class="ttdef"><b>Definition:</b> Noise.h:35</div></div>
<div class="ttc" id="classgf_1_1_noise3_d_html"><div class="ttname"><a href="classgf_1_1_noise3_d.html">gf::Noise3D</a></div><div class="ttdoc">3D A noise function </div><div class="ttdef"><b>Definition:</b> Noise.h:71</div></div>
<div class="ttc" id="classgf_1_1_ridged_multifractal2_d_html"><div class="ttname"><a href="classgf_1_1_ridged_multifractal2_d.html">gf::RidgedMultifractal2D</a></div><div class="ttdoc">Ridged Multifractal 2D noise. </div><div class="ttdef"><b>Definition:</b> Noises.h:519</div></div>
<div class="ttc" id="classgf_1_1_open_simplex_noise3_d_html"><div class="ttname"><a href="classgf_1_1_open_simplex_noise3_d.html">gf::OpenSimplexNoise3D</a></div><div class="ttdoc">OpenSimplex3D noise. </div><div class="ttdef"><b>Definition:</b> Noises.h:349</div></div>
<div class="ttc" id="classgf_1_1_open_simplex_noise2_d_html"><div class="ttname"><a href="classgf_1_1_open_simplex_noise2_d.html">gf::OpenSimplexNoise2D</a></div><div class="ttdoc">OpenSimplex 2D noise. </div><div class="ttdef"><b>Definition:</b> Noises.h:323</div></div>
<div class="ttc" id="classgf_1_1_worley_noise2_d_html"><div class="ttname"><a href="classgf_1_1_worley_noise2_d.html">gf::WorleyNoise2D</a></div><div class="ttdoc">Worley 2D noise. </div><div class="ttdef"><b>Definition:</b> Noises.h:397</div></div>
<div class="ttc" id="namespacegf_html"><div class="ttname"><a href="namespacegf.html">gf</a></div><div class="ttdoc">The namespace for gf classes. </div><div class="ttdef"><b>Definition:</b> Action.h:35</div></div>
<div class="ttc" id="classgf_1_1_perlin_noise2_d_html"><div class="ttname"><a href="classgf_1_1_perlin_noise2_d.html">gf::PerlinNoise2D</a></div><div class="ttdoc">Perlin 2D noise. </div><div class="ttdef"><b>Definition:</b> Noises.h:238</div></div>
<div class="ttc" id="classgf_1_1_perlin_noise3_d_html"><div class="ttname"><a href="classgf_1_1_perlin_noise3_d.html">gf::PerlinNoise3D</a></div><div class="ttdoc">Perlin 3D noise. </div><div class="ttdef"><b>Definition:</b> Noises.h:265</div></div>
<div class="ttc" id="classgf_1_1_fractal_noise3_d_html"><div class="ttname"><a href="classgf_1_1_fractal_noise3_d.html">gf::FractalNoise3D</a></div><div class="ttdoc">Fractal 3D noise. </div><div class="ttdef"><b>Definition:</b> Noises.h:203</div></div>
<div class="ttc" id="classgf_1_1_fractal_noise2_d_html"><div class="ttname"><a href="classgf_1_1_fractal_noise2_d.html">gf::FractalNoise2D</a></div><div class="ttdoc">Fractal 2D noise. </div><div class="ttdef"><b>Definition:</b> Noises.h:168</div></div>
<div class="ttc" id="classgf_1_1_wavelet_noise3_d_html"><div class="ttname"><a href="classgf_1_1_wavelet_noise3_d.html">gf::WaveletNoise3D</a></div><div class="ttdoc">Wavelet 3D noise. </div><div class="ttdef"><b>Definition:</b> Noises.h:372</div></div>
<div class="ttc" id="classgf_1_1_noise3_d_to2_d_adapter_html"><div class="ttname"><a href="classgf_1_1_noise3_d_to2_d_adapter.html">gf::Noise3DTo2DAdapter</a></div><div class="ttdoc">An adapter that make a 2D noise from a 3D noise. </div><div class="ttdef"><b>Definition:</b> Noises.h:558</div></div>
<div class="ttc" id="classgf_1_1_value_noise2_d_html"><div class="ttname"><a href="classgf_1_1_value_noise2_d.html">gf::ValueNoise2D</a></div><div class="ttdoc">Value 2D noise. </div><div class="ttdef"><b>Definition:</b> Noises.h:50</div></div>
<div class="ttc" id="group__core_html_ga44b429e4f47cceab994f3b20b811d681"><div class="ttname"><a href="group__core.html#ga44b429e4f47cceab994f3b20b811d681">gf::Step</a></div><div class="ttdeci">T(*)(T) Step</div><div class="ttdoc">A step is a function with special features. </div><div class="ttdef"><b>Definition:</b> Math.h:167</div></div>
<div class="ttc" id="classgf_1_1_hybrid_multifractal2_d_html"><div class="ttname"><a href="classgf_1_1_hybrid_multifractal2_d.html">gf::HybridMultifractal2D</a></div><div class="ttdoc">Hybrid Multifractal 2D noise. </div><div class="ttdef"><b>Definition:</b> Noises.h:487</div></div>
<div class="ttc" id="classgf_1_1_simplex_noise2_d_html"><div class="ttname"><a href="classgf_1_1_simplex_noise2_d.html">gf::SimplexNoise2D</a></div><div class="ttdoc">Simplex 2D noise. </div><div class="ttdef"><b>Definition:</b> Noises.h:296</div></div>
<div class="ttc" id="structgf_1_1_vector_html"><div class="ttname"><a href="structgf_1_1_vector.html">gf::Vector</a></div><div class="ttdoc">General purpose math vector. </div><div class="ttdef"><b>Definition:</b> Vector.h:61</div></div>
<div class="ttc" id="classgf_1_1_better_gradient_noise2_d_html"><div class="ttname"><a href="classgf_1_1_better_gradient_noise2_d.html">gf::BetterGradientNoise2D</a></div><div class="ttdoc">Better gradient 2D noise. </div><div class="ttdef"><b>Definition:</b> Noises.h:141</div></div>
<div class="ttc" id="classgf_1_1_multifractal2_d_html"><div class="ttname"><a href="classgf_1_1_multifractal2_d.html">gf::Multifractal2D</a></div><div class="ttdoc">Multi Fractal 2D noise. </div><div class="ttdef"><b>Definition:</b> Noises.h:424</div></div>
<div class="ttc" id="group__core_html_gaebefd2196203ab24f579f910ca253570"><div class="ttname"><a href="group__core.html#gaebefd2196203ab24f579f910ca253570">gf::Vector3d</a></div><div class="ttdeci">Vector< double, 3 > Vector3d</div><div class="ttdoc">A double vector with 3 components. </div><div class="ttdef"><b>Definition:</b> Vector.h:1128</div></div>
<div class="ttc" id="classgf_1_1_hetero_terrain2_d_html"><div class="ttname"><a href="classgf_1_1_hetero_terrain2_d.html">gf::HeteroTerrain2D</a></div><div class="ttdoc">Hetero Terrain 2D noise. </div><div class="ttdef"><b>Definition:</b> Noises.h:455</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by  <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>