diff options
Diffstat (limited to 'doc/html/Camera_8h_source.html')
-rw-r--r-- | doc/html/Camera_8h_source.html | 332 |
1 files changed, 166 insertions, 166 deletions
diff --git a/doc/html/Camera_8h_source.html b/doc/html/Camera_8h_source.html index edb869f..eb8ea82 100644 --- a/doc/html/Camera_8h_source.html +++ b/doc/html/Camera_8h_source.html @@ -28,7 +28,7 @@ <td id="projectlogo"><img alt="Logo" src="logo.png"/></td> <td style="padding-left: 0.5em;"> <div id="projectname">Templates -- Meow -  <span id="projectnumber">204.13.18</span> +  <span id="projectnumber">1.2.9</span> </div> <div id="projectbrief">A C++ template contains kinds of interesting classes and functions</div> </td> @@ -74,151 +74,151 @@ $(document).ready(function(){initNavTree('Camera_8h_source.html','');}); <div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="keyword">template</span><<span class="keyword">class</span> Pixel></div> <div class="line"><a name="l00023"></a><span class="lineno"><a class="line" href="classmeow_1_1Camera.html"> 23</a></span> <span class="keyword">class </span><a class="code" href="classmeow_1_1Camera.html">Camera</a>: <span class="keyword">public</span> <a class="code" href="classmeow_1_1ObjBase.html">ObjBase</a> {</div> <div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="keyword">public</span>:</div> -<div class="line"><a name="l00025"></a><span class="lineno"><a class="line" href="classmeow_1_1Camera.html#a2f9b65351e07acd6e98a53689c49cb84"> 25</a></span>  <span class="keyword">typedef</span> <a class="code" href="classmeow_1_1IdentityPoints.html">IdentityPoints<int, double></a> <a class="code" href="classmeow_1_1Camera.html#a2f9b65351e07acd6e98a53689c49cb84">FixedPoints2D</a>;</div> +<div class="line"><a name="l00025"></a><span class="lineno"><a class="line" href="classmeow_1_1Camera.html#aa275bfafcc2a85626fe2b274129ec2d5"> 25</a></span>  <span class="keyword">typedef</span> <a class="code" href="classmeow_1_1IdentityPoints.html">IdentityPoints<int, double, Vector2D<double></a> > <a class="code" href="classmeow_1_1Camera.html#aa275bfafcc2a85626fe2b274129ec2d5">FixedPoints2D</a>;</div> <div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="keyword">private</span>:</div> <div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  <span class="keyword">struct </span>Myself {</div> <div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  <a class="code" href="classmeow_1_1Photo.html">Photo<Pixel></a> photo_;</div> <div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  <a class="code" href="classmeow_1_1Rotation3D.html">Rotation3D<double></a> rot_;</div> <div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  <a class="code" href="classmeow_1_1IdentityPoints.html">FixedPoints2D</a> fixed2D_;</div> <div class="line"><a name="l00031"></a><span class="lineno"> 31</span> </div> -<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  Myself() {</div> -<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  fixed2D_.<a class="code" href="classmeow_1_1IdentityPoints.html#a19da7e561a7216146da2d974434a0c68">dimension</a>(2);</div> -<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  }</div> +<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  Myself(): fixed2D_(2) {</div> +<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  }</div> +<div class="line"><a name="l00034"></a><span class="lineno"> 34</span> </div> <div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  Myself(Myself <span class="keyword">const</span>& v):</div> <div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  photo_(v.photo_), rot_(v.rot_), fixed2D_(v.fixed2D_) {</div> <div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  }</div> -<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  ~Myself() {</div> -<div class="line"><a name="l00039"></a><span class="lineno"> 39</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> </div> -<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  <a class="code" href="classmeow_1_1Self.html">Self<Myself></a> <span class="keyword">const</span> <span class="keyword">self</span>;</div> -<div class="line"><a name="l00043"></a><span class="lineno"> 43</span> <span class="keyword">public</span>:</div> -<div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="classmeow_1_1Camera.html#a2f1f9f82751c73193952f22ffdd0cc43"> 47</a></span>  <a class="code" href="classmeow_1_1Camera.html#a2f1f9f82751c73193952f22ffdd0cc43">Camera</a>(): self() {</div> -<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  }</div> -<div class="line"><a name="l00049"></a><span class="lineno"> 49</span> </div> -<div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="classmeow_1_1Camera.html#ab05f55e6b0eb28065c27a89393ccce19"> 53</a></span>  <a class="code" href="classmeow_1_1Camera.html#ab05f55e6b0eb28065c27a89393ccce19">Camera</a>(<a class="code" href="classmeow_1_1Camera.html">Camera</a> <span class="keyword">const</span>& b): self(b.self, <a class="code" href="classmeow_1_1Self.html">Self</a><Myself>::COPY_FROM) {</div> -<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  }</div> -<div class="line"><a name="l00055"></a><span class="lineno"> 55</span> </div> -<div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="classmeow_1_1Camera.html#a0f29b943c2f6b4c68c4b00b6a3056d63"> 59</a></span>  <a class="code" href="classmeow_1_1Camera.html#a0f29b943c2f6b4c68c4b00b6a3056d63">~Camera</a>() {</div> -<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  }</div> -<div class="line"><a name="l00061"></a><span class="lineno"> 61</span> </div> -<div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="classmeow_1_1Camera.html#ad6351e87de51e00981b7befff91b6b6d"> 65</a></span>  <a class="code" href="classmeow_1_1Camera.html">Camera</a>& <a class="code" href="classmeow_1_1Camera.html#ad6351e87de51e00981b7befff91b6b6d">copyFrom</a>(<a class="code" href="classmeow_1_1Camera.html">Camera</a> <span class="keyword">const</span>& b) {</div> -<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  <span class="keyword">self</span>().<a class="code" href="classmeow_1_1Camera.html#ad6351e87de51e00981b7befff91b6b6d">copyFrom</a>(b.self);</div> -<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  <span class="keywordflow">return</span> *<span class="keyword">this</span>;</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> </div> -<div class="line"><a name="l00073"></a><span class="lineno"><a class="line" href="classmeow_1_1Camera.html#ae00aa539b7d6be9254db1072627d204e"> 73</a></span>  <a class="code" href="classmeow_1_1Camera.html">Camera</a>& <a class="code" href="classmeow_1_1Camera.html#ae00aa539b7d6be9254db1072627d204e">referenceFrom</a>(<a class="code" href="classmeow_1_1Camera.html">Camera</a> <span class="keyword">const</span>& b) {</div> -<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  <span class="keyword">self</span>().<a class="code" href="classmeow_1_1Camera.html#ae00aa539b7d6be9254db1072627d204e">referenceFrom</a>(b.self);</div> -<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div> -<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  }</div> -<div class="line"><a name="l00077"></a><span class="lineno"> 77</span> </div> -<div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="classmeow_1_1Camera.html#a78d30a42c1b67fafd3847f8757c10136"> 81</a></span>  <a class="code" href="classmeow_1_1Photo.html">Photo<Pixel></a> <span class="keyword">const</span>& <a class="code" href="classmeow_1_1Camera.html#a78d30a42c1b67fafd3847f8757c10136">photo</a>()<span class="keyword"> const </span>{</div> -<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  <span class="keywordflow">return</span> <span class="keyword">self</span>->photo_;</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="l00088"></a><span class="lineno"><a class="line" href="classmeow_1_1Camera.html#aedd341c40cf8c5ef656bd02d9a1a266b"> 88</a></span>  <a class="code" href="classmeow_1_1Photo.html">Photo<Pixel></a>& <a class="code" href="classmeow_1_1Camera.html#aedd341c40cf8c5ef656bd02d9a1a266b">photoGet</a>() {</div> -<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  <span class="keywordflow">return</span> <span class="keyword">self</span>()->photo_;</div> -<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  }</div> -<div class="line"><a name="l00091"></a><span class="lineno"> 91</span> </div> -<div class="line"><a name="l00095"></a><span class="lineno"><a class="line" href="classmeow_1_1Camera.html#adecd4f466208aeb53713532ef576bdee"> 95</a></span>  <a class="code" href="classmeow_1_1Photo.html">Photo<Pixel></a> <span class="keyword">const</span>& <a class="code" href="classmeow_1_1Camera.html#adecd4f466208aeb53713532ef576bdee">photo</a>(<a class="code" href="classmeow_1_1Photo.html">Photo<Pixel></a> <span class="keyword">const</span>& pho) {</div> -<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  <span class="keyword">self</span>()->photo_.copyFrom(pho);</div> -<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  <span class="keywordflow">return</span> <a class="code" href="classmeow_1_1Camera.html#a78d30a42c1b67fafd3847f8757c10136">photo</a>();</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> </div> -<div class="line"><a name="l00103"></a><span class="lineno"><a class="line" href="classmeow_1_1Camera.html#a1dc458ca5ce2e2f441e6601d7223d370"> 103</a></span>  <a class="code" href="classmeow_1_1Rotation3D.html">Rotation3D<double></a> <span class="keyword">const</span>& <a class="code" href="classmeow_1_1Camera.html#a1dc458ca5ce2e2f441e6601d7223d370">rotation</a>()<span class="keyword"> const </span>{</div> -<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  <span class="keywordflow">return</span> <span class="keyword">self</span>->rot_;</div> -<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  }</div> -<div class="line"><a name="l00106"></a><span class="lineno"> 106</span> </div> -<div class="line"><a name="l00110"></a><span class="lineno"><a class="line" href="classmeow_1_1Camera.html#a54891144105d5e29a33b98d2fdf799e5"> 110</a></span>  <a class="code" href="classmeow_1_1Rotation3D.html">Rotation3D<double></a>& <a class="code" href="classmeow_1_1Camera.html#a54891144105d5e29a33b98d2fdf799e5">rotationGet</a>() {</div> -<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  <span class="keywordflow">return</span> <span class="keyword">self</span>()->rot_;</div> -<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  }</div> -<div class="line"><a name="l00113"></a><span class="lineno"> 113</span> </div> -<div class="line"><a name="l00117"></a><span class="lineno"><a class="line" href="classmeow_1_1Camera.html#aba398741215e99868380dff84e6aaee3"> 117</a></span>  <a class="code" href="classmeow_1_1Rotation3D.html">Rotation3D<double></a> <span class="keyword">const</span>& <a class="code" href="classmeow_1_1Camera.html#aba398741215e99868380dff84e6aaee3">rotation</a>(<a class="code" href="classmeow_1_1Rotation3D.html">Rotation3D<double></a> <span class="keyword">const</span>& rot) {</div> -<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  <span class="keyword">self</span>()->rot_.<a class="code" href="classmeow_1_1Rotation3D.html#a8ce437d591d81cc81be959d6f27e71c9">copyFrom</a>(rot);</div> -<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  <span class="keywordflow">return</span> <a class="code" href="classmeow_1_1Camera.html#a1dc458ca5ce2e2f441e6601d7223d370">rotation</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"> 121</span> </div> -<div class="line"><a name="l00125"></a><span class="lineno"><a class="line" href="classmeow_1_1Camera.html#a2fde4fdfcb105e8a44b3333c78f55b6b"> 125</a></span>  <a class="code" href="classmeow_1_1IdentityPoints.html">FixedPoints2D</a> <span class="keyword">const</span>& <a class="code" href="classmeow_1_1Camera.html#a2fde4fdfcb105e8a44b3333c78f55b6b">fixedPoints2D</a>()<span class="keyword"> const </span>{</div> -<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  <span class="keywordflow">return</span> <span class="keyword">self</span>->fixed2D_;</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> </div> -<div class="line"><a name="l00132"></a><span class="lineno"><a class="line" href="classmeow_1_1Camera.html#aa6bfaf360ab9b78adfde7005747368d4"> 132</a></span>  <a class="code" href="classmeow_1_1IdentityPoints.html">FixedPoints2D</a>& <a class="code" href="classmeow_1_1Camera.html#aa6bfaf360ab9b78adfde7005747368d4">fixedPoints2DGet</a>()<span class="keyword"> const </span>{</div> -<div class="line"><a name="l00133"></a><span class="lineno"> 133</span>  <span class="keywordflow">return</span> <span class="keyword">self</span>()->fixed2D_;</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> </div> -<div class="line"><a name="l00139"></a><span class="lineno"><a class="line" href="classmeow_1_1Camera.html#a298f81d18e2339db23ed5339f59b7986"> 139</a></span>  <a class="code" href="classmeow_1_1IdentityPoints.html">FixedPoints2D</a> <span class="keyword">const</span>& <a class="code" href="classmeow_1_1Camera.html#a298f81d18e2339db23ed5339f59b7986">fixedPoints2D</a>(<a class="code" href="classmeow_1_1IdentityPoints.html">FixedPoints2D</a> <span class="keyword">const</span>& fps2d)<span class="keyword"> const </span>{</div> -<div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  <span class="keywordflow">if</span> (fps2d.<a class="code" href="classmeow_1_1IdentityPoints.html#a19da7e561a7216146da2d974434a0c68">dimension</a>() == 2) {</div> -<div class="line"><a name="l00141"></a><span class="lineno"> 141</span>  <span class="keyword">self</span>()->fixed2D_.<a class="code" href="classmeow_1_1IdentityPoints.html#ae1ea1968aad3345a61257ba5db970429">copyFrom</a>(fps2d);</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>  <span class="keywordflow">return</span> <a class="code" href="classmeow_1_1Camera.html#a2fde4fdfcb105e8a44b3333c78f55b6b">fixedPoints2D</a>();</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="l00149"></a><span class="lineno"><a class="line" href="classmeow_1_1Camera.html#a9692355258ec6a78827cf35211521907"> 149</a></span>  <a class="code" href="classmeow_1_1Vector.html">Vector<double></a> <a class="code" href="classmeow_1_1Camera.html#a9692355258ec6a78827cf35211521907">fixedPoint2D</a>(<span class="keywordtype">int</span> i) {</div> -<div class="line"><a name="l00150"></a><span class="lineno"> 150</span>  <span class="keywordflow">return</span> <span class="keyword">self</span>->fixed2D_.identityPoint(i);</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> </div> -<div class="line"><a name="l00156"></a><span class="lineno"><a class="line" href="classmeow_1_1Camera.html#a55e165212b212a58b0090b1496a1a40a"> 156</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classmeow_1_1Camera.html#a55e165212b212a58b0090b1496a1a40a">inside</a>(<a class="code" href="classmeow_1_1Vector3D.html">Vector3D<double></a> p)<span class="keyword"> const </span>{</div> -<div class="line"><a name="l00157"></a><span class="lineno"> 157</span>  <span class="keywordflow">return</span> <span class="keyword">self</span>->photo_.inside(</div> -<div class="line"><a name="l00158"></a><span class="lineno"> 158</span>  <a class="code" href="classmeow_1_1Vector3D.html">Vector3D<double></a>(<a class="code" href="classmeow_1_1Camera.html#a1dc458ca5ce2e2f441e6601d7223d370">rotation</a>().transformate(p.<a class="code" href="classmeow_1_1Vector3D.html#ae03fb93d06c60fd2901875ead10c8c72">matrix</a>())));</div> -<div class="line"><a name="l00159"></a><span class="lineno"> 159</span>  }</div> -<div class="line"><a name="l00160"></a><span class="lineno"> 160</span> </div> -<div class="line"><a name="l00164"></a><span class="lineno"><a class="line" href="classmeow_1_1Camera.html#aa446aa03bc2cb675649c11114e1298b4"> 164</a></span>  Pixel <a class="code" href="classmeow_1_1Camera.html#aa446aa03bc2cb675649c11114e1298b4">color</a>(<a class="code" href="classmeow_1_1Vector3D.html">Vector3D<double></a> p)<span class="keyword"> const </span>{</div> -<div class="line"><a name="l00165"></a><span class="lineno"> 165</span>  <span class="keywordflow">return</span> <span class="keyword">self</span>->photo_.color(</div> -<div class="line"><a name="l00166"></a><span class="lineno"> 166</span>  <a class="code" href="classmeow_1_1Vector3D.html">Vector3D<double></a>(<a class="code" href="classmeow_1_1Camera.html#a1dc458ca5ce2e2f441e6601d7223d370">rotation</a>().transformate(p.<a class="code" href="classmeow_1_1Vector3D.html#ae03fb93d06c60fd2901875ead10c8c72">matrix</a>())));</div> -<div class="line"><a name="l00167"></a><span class="lineno"> 167</span>  }</div> -<div class="line"><a name="l00168"></a><span class="lineno"> 168</span> </div> -<div class="line"><a name="l00172"></a><span class="lineno"><a class="line" href="classmeow_1_1Camera.html#adc22e067c44d2cf143c3cf4cba9abdbf"> 172</a></span>  <a class="code" href="classmeow_1_1Camera.html">Camera</a>& <a class="code" href="classmeow_1_1Camera.html#adc22e067c44d2cf143c3cf4cba9abdbf">operator=</a>(<a class="code" href="classmeow_1_1Camera.html">Camera</a> <span class="keyword">const</span>& b) {</div> -<div class="line"><a name="l00173"></a><span class="lineno"> 173</span>  <span class="keywordflow">return</span> <a class="code" href="classmeow_1_1Camera.html#ad6351e87de51e00981b7befff91b6b6d">copyFrom</a>(b);</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> </div> -<div class="line"><a name="l00180"></a><span class="lineno"><a class="line" href="classmeow_1_1Camera.html#acb6443a3ce77804575ec55209b3a1960"> 180</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classmeow_1_1Camera.html#acb6443a3ce77804575ec55209b3a1960">write</a>(FILE* f, <span class="keywordtype">bool</span> bin, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> fg)<span class="keyword"> const </span>{</div> -<div class="line"><a name="l00181"></a><span class="lineno"> 181</span>  <span class="keywordflow">if</span> (bin) {</div> -<div class="line"><a name="l00182"></a><span class="lineno"> 182</span>  <span class="keywordtype">double</span> tmp;</div> -<div class="line"><a name="l00183"></a><span class="lineno"> 183</span>  <span class="keywordflow">for</span> (<span class="keywordtype">size_t</span> i = 0; i < 3; ++i) {</div> -<div class="line"><a name="l00184"></a><span class="lineno"> 184</span>  <span class="keywordflow">if</span> (fwrite(&(tmp = <a class="code" href="classmeow_1_1Camera.html#a1dc458ca5ce2e2f441e6601d7223d370">rotation</a>().theta(i)), <span class="keyword">sizeof</span>(tmp), 1, f) < 1)</div> -<div class="line"><a name="l00185"></a><span class="lineno"> 185</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div> -<div class="line"><a name="l00186"></a><span class="lineno"> 186</span>  }</div> -<div class="line"><a name="l00187"></a><span class="lineno"> 187</span>  }</div> -<div class="line"><a name="l00188"></a><span class="lineno"> 188</span>  <span class="keywordflow">else</span> {</div> -<div class="line"><a name="l00189"></a><span class="lineno"> 189</span>  <span class="keywordflow">for</span> (<span class="keywordtype">size_t</span> i = 0; i < 3; ++i) {</div> -<div class="line"><a name="l00190"></a><span class="lineno"> 190</span>  <span class="keywordflow">if</span> (fprintf(f, <span class="stringliteral">"%f "</span>, <a class="code" href="classmeow_1_1Camera.html#a1dc458ca5ce2e2f441e6601d7223d370">rotation</a>().theta(i)) < 1) <span class="keywordflow">return</span> <span class="keyword">false</span>;</div> -<div class="line"><a name="l00191"></a><span class="lineno"> 191</span>  }</div> -<div class="line"><a name="l00192"></a><span class="lineno"> 192</span>  fprintf(f, <span class="stringliteral">"\n"</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>  <span class="keywordflow">return</span> (<a class="code" href="classmeow_1_1Camera.html#a2fde4fdfcb105e8a44b3333c78f55b6b">fixedPoints2D</a>().<a class="code" href="classmeow_1_1Camera.html#acb6443a3ce77804575ec55209b3a1960">write</a>(f, bin, fg) && <a class="code" href="classmeow_1_1Camera.html#a78d30a42c1b67fafd3847f8757c10136">photo</a>().<a class="code" href="classmeow_1_1Camera.html#acb6443a3ce77804575ec55209b3a1960">write</a>(f, bin, fg));</div> -<div class="line"><a name="l00195"></a><span class="lineno"> 195</span>  }</div> -<div class="line"><a name="l00196"></a><span class="lineno"> 196</span> </div> -<div class="line"><a name="l00201"></a><span class="lineno"><a class="line" href="classmeow_1_1Camera.html#aaa82f998dfc1acde6607650ab6514492"> 201</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classmeow_1_1Camera.html#aaa82f998dfc1acde6607650ab6514492">read</a>(FILE* f, <span class="keywordtype">bool</span> bin, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> fg) {</div> -<div class="line"><a name="l00202"></a><span class="lineno"> 202</span>  <span class="keywordflow">if</span> (bin) {</div> -<div class="line"><a name="l00203"></a><span class="lineno"> 203</span>  <span class="keywordtype">double</span> tmp;</div> -<div class="line"><a name="l00204"></a><span class="lineno"> 204</span>  <span class="keywordflow">for</span> (<span class="keywordtype">size_t</span> i = 0; i < 3; ++i) {</div> -<div class="line"><a name="l00205"></a><span class="lineno"> 205</span>  <span class="keywordflow">if</span> (fread(&tmp, <span class="keyword">sizeof</span>(tmp), 1, f) < 1) {</div> -<div class="line"><a name="l00206"></a><span class="lineno"> 206</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div> -<div class="line"><a name="l00207"></a><span class="lineno"> 207</span>  }</div> -<div class="line"><a name="l00208"></a><span class="lineno"> 208</span>  <a class="code" href="classmeow_1_1Camera.html#a54891144105d5e29a33b98d2fdf799e5">rotationGet</a>().<a class="code" href="classmeow_1_1Rotation3D.html#aeceaa78749d4bd9f5d638591298073dd">theta</a>(i, tmp);</div> -<div class="line"><a name="l00209"></a><span class="lineno"> 209</span>  }</div> -<div class="line"><a name="l00210"></a><span class="lineno"> 210</span>  }</div> -<div class="line"><a name="l00211"></a><span class="lineno"> 211</span>  <span class="keywordflow">else</span> {</div> -<div class="line"><a name="l00212"></a><span class="lineno"> 212</span>  <span class="keywordtype">double</span> a;</div> -<div class="line"><a name="l00213"></a><span class="lineno"> 213</span>  <span class="keywordflow">for</span> (<span class="keywordtype">size_t</span> i = 0; i < 3; ++i) {</div> -<div class="line"><a name="l00214"></a><span class="lineno"> 214</span>  <span class="keywordflow">if</span> (fscanf(f, <span class="stringliteral">"%lf"</span>, &a) < 1) <span class="keywordflow">return</span> <span class="keyword">false</span>;</div> -<div class="line"><a name="l00215"></a><span class="lineno"> 215</span>  <a class="code" href="classmeow_1_1Camera.html#a54891144105d5e29a33b98d2fdf799e5">rotationGet</a>().<a class="code" href="classmeow_1_1Rotation3D.html#aeceaa78749d4bd9f5d638591298073dd">theta</a>(i, a);</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>  }</div> -<div class="line"><a name="l00218"></a><span class="lineno"> 218</span>  <span class="keywordflow">return</span> (<a class="code" href="classmeow_1_1Camera.html#aa6bfaf360ab9b78adfde7005747368d4">fixedPoints2DGet</a>().<a class="code" href="classmeow_1_1Camera.html#aaa82f998dfc1acde6607650ab6514492">read</a>(f, bin, fg) && <a class="code" href="classmeow_1_1Camera.html#aedd341c40cf8c5ef656bd02d9a1a266b">photoGet</a>().<a class="code" href="classmeow_1_1Camera.html#aaa82f998dfc1acde6607650ab6514492">read</a>(f, bin, fg));</div> -<div class="line"><a name="l00219"></a><span class="lineno"> 219</span>  }</div> -<div class="line"><a name="l00220"></a><span class="lineno"> 220</span> </div> -<div class="line"><a name="l00225"></a><span class="lineno"><a class="line" href="classmeow_1_1Camera.html#ad3ec34460c84a4a20cf3cb418db76dc3"> 225</a></span>  <a class="code" href="classmeow_1_1ObjBase.html">ObjBase</a>* <a class="code" href="classmeow_1_1Camera.html#ad3ec34460c84a4a20cf3cb418db76dc3">create</a>()<span class="keyword"> const </span>{</div> -<div class="line"><a name="l00226"></a><span class="lineno"> 226</span>  <span class="keywordflow">return</span> <span class="keyword">new</span> <a class="code" href="classmeow_1_1Camera.html#a2f1f9f82751c73193952f22ffdd0cc43">Camera</a>();</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="l00237"></a><span class="lineno"><a class="line" href="classmeow_1_1Camera.html#a5dff4c1129c6d74de1938bea9309a408"> 237</a></span>  <a class="code" href="classmeow_1_1ObjBase.html">ObjBase</a>* <a class="code" href="classmeow_1_1Camera.html#a5dff4c1129c6d74de1938bea9309a408">copyFrom</a>(<a class="code" href="classmeow_1_1ObjBase.html">ObjBase</a> <span class="keyword">const</span>* b) {</div> -<div class="line"><a name="l00238"></a><span class="lineno"> 238</span>  <span class="keywordflow">return</span> &(<a class="code" href="classmeow_1_1Camera.html#ad6351e87de51e00981b7befff91b6b6d">copyFrom</a>(*(<a class="code" href="classmeow_1_1Camera.html">Camera</a>*)b));</div> -<div class="line"><a name="l00239"></a><span class="lineno"> 239</span>  }</div> -<div class="line"><a name="l00240"></a><span class="lineno"> 240</span> </div> -<div class="line"><a name="l00245"></a><span class="lineno"><a class="line" href="classmeow_1_1Camera.html#a80ef6d606e9f79255b043c5c17cc4a18"> 245</a></span>  <span class="keywordtype">char</span> <span class="keyword">const</span>* <a class="code" href="classmeow_1_1Camera.html#a80ef6d606e9f79255b043c5c17cc4a18">ctype</a>()<span class="keyword"> const</span>{</div> -<div class="line"><a name="l00246"></a><span class="lineno"> 246</span>  <span class="keyword">static</span> <span class="keywordtype">char</span> <span class="keyword">const</span>* ptr = <span class="keyword">typeid</span>(*this).name();</div> -<div class="line"><a name="l00247"></a><span class="lineno"> 247</span>  <span class="keywordflow">return</span> ptr;</div> +<div class="line"><a name="l00038"></a><span class="lineno"> 38</span> </div> +<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  ~Myself() {</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>  };</div> +<div class="line"><a name="l00042"></a><span class="lineno"> 42</span> </div> +<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  <a class="code" href="classmeow_1_1Self.html">Self<Myself></a> <span class="keyword">const</span> <span class="keyword">self</span>;</div> +<div class="line"><a name="l00044"></a><span class="lineno"> 44</span> <span class="keyword">public</span>:</div> +<div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="classmeow_1_1Camera.html#a2f1f9f82751c73193952f22ffdd0cc43"> 48</a></span>  <a class="code" href="classmeow_1_1Camera.html#a2f1f9f82751c73193952f22ffdd0cc43">Camera</a>(): self() {</div> +<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  }</div> +<div class="line"><a name="l00050"></a><span class="lineno"> 50</span> </div> +<div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="classmeow_1_1Camera.html#ab05f55e6b0eb28065c27a89393ccce19"> 54</a></span>  <a class="code" href="classmeow_1_1Camera.html#ab05f55e6b0eb28065c27a89393ccce19">Camera</a>(<a class="code" href="classmeow_1_1Camera.html">Camera</a> <span class="keyword">const</span>& b): self(b.self, <a class="code" href="classmeow_1_1Self.html">Self</a><Myself>::COPY_FROM) {</div> +<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  }</div> +<div class="line"><a name="l00056"></a><span class="lineno"> 56</span> </div> +<div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="classmeow_1_1Camera.html#a0f29b943c2f6b4c68c4b00b6a3056d63"> 60</a></span>  <a class="code" href="classmeow_1_1Camera.html#a0f29b943c2f6b4c68c4b00b6a3056d63">~Camera</a>() {</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> </div> +<div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="classmeow_1_1Camera.html#ad6351e87de51e00981b7befff91b6b6d"> 66</a></span>  <a class="code" href="classmeow_1_1Camera.html">Camera</a>& <a class="code" href="classmeow_1_1Camera.html#ad6351e87de51e00981b7befff91b6b6d">copyFrom</a>(<a class="code" href="classmeow_1_1Camera.html">Camera</a> <span class="keyword">const</span>& b) {</div> +<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  <span class="keyword">self</span>().<a class="code" href="classmeow_1_1Camera.html#ad6351e87de51e00981b7befff91b6b6d">copyFrom</a>(b.self);</div> +<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div> +<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  }</div> +<div class="line"><a name="l00070"></a><span class="lineno"> 70</span> </div> +<div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="classmeow_1_1Camera.html#ae00aa539b7d6be9254db1072627d204e"> 74</a></span>  <a class="code" href="classmeow_1_1Camera.html">Camera</a>& <a class="code" href="classmeow_1_1Camera.html#ae00aa539b7d6be9254db1072627d204e">referenceFrom</a>(<a class="code" href="classmeow_1_1Camera.html">Camera</a> <span class="keyword">const</span>& b) {</div> +<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  <span class="keyword">self</span>().<a class="code" href="classmeow_1_1Camera.html#ae00aa539b7d6be9254db1072627d204e">referenceFrom</a>(b.self);</div> +<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div> +<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  }</div> +<div class="line"><a name="l00078"></a><span class="lineno"> 78</span> </div> +<div class="line"><a name="l00082"></a><span class="lineno"><a class="line" href="classmeow_1_1Camera.html#a602f436088e81c554af7bc95ba55646d"> 82</a></span>  <a class="code" href="classmeow_1_1Photo.html">Photo<Pixel></a> <a class="code" href="classmeow_1_1Camera.html#a602f436088e81c554af7bc95ba55646d">photo</a>()<span class="keyword"> const </span>{</div> +<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  <span class="keywordflow">return</span> <span class="keyword">self</span>->photo_;</div> +<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  }</div> +<div class="line"><a name="l00085"></a><span class="lineno"> 85</span> </div> +<div class="line"><a name="l00089"></a><span class="lineno"><a class="line" href="classmeow_1_1Camera.html#aedd341c40cf8c5ef656bd02d9a1a266b"> 89</a></span>  <a class="code" href="classmeow_1_1Photo.html">Photo<Pixel></a>& <a class="code" href="classmeow_1_1Camera.html#aedd341c40cf8c5ef656bd02d9a1a266b">photoGet</a>() {</div> +<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  <span class="keywordflow">return</span> <span class="keyword">self</span>()->photo_;</div> +<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  }</div> +<div class="line"><a name="l00092"></a><span class="lineno"> 92</span> </div> +<div class="line"><a name="l00096"></a><span class="lineno"><a class="line" href="classmeow_1_1Camera.html#acdae9492d3a9b40d89205f5dbce8c871"> 96</a></span>  <a class="code" href="classmeow_1_1Photo.html">Photo<Pixel></a> <a class="code" href="classmeow_1_1Camera.html#acdae9492d3a9b40d89205f5dbce8c871">photo</a>(<a class="code" href="classmeow_1_1Photo.html">Photo<Pixel></a> <span class="keyword">const</span>& pho) {</div> +<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  <span class="keyword">self</span>()->photo_.copyFrom(pho);</div> +<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  <span class="keywordflow">return</span> <a class="code" href="classmeow_1_1Camera.html#a602f436088e81c554af7bc95ba55646d">photo</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"> 100</span> </div> +<div class="line"><a name="l00104"></a><span class="lineno"><a class="line" href="classmeow_1_1Camera.html#a87423a5ea359ecd8fc6e9af43a773951"> 104</a></span>  <a class="code" href="classmeow_1_1Rotation3D.html">Rotation3D<double></a> <a class="code" href="classmeow_1_1Camera.html#a87423a5ea359ecd8fc6e9af43a773951">rotation</a>()<span class="keyword"> const </span>{</div> +<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  <span class="keywordflow">return</span> <span class="keyword">self</span>->rot_;</div> +<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  }</div> +<div class="line"><a name="l00107"></a><span class="lineno"> 107</span> </div> +<div class="line"><a name="l00111"></a><span class="lineno"><a class="line" href="classmeow_1_1Camera.html#a54891144105d5e29a33b98d2fdf799e5"> 111</a></span>  <a class="code" href="classmeow_1_1Rotation3D.html">Rotation3D<double></a>& <a class="code" href="classmeow_1_1Camera.html#a54891144105d5e29a33b98d2fdf799e5">rotationGet</a>() {</div> +<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  <span class="keywordflow">return</span> <span class="keyword">self</span>()->rot_;</div> +<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  }</div> +<div class="line"><a name="l00114"></a><span class="lineno"> 114</span> </div> +<div class="line"><a name="l00118"></a><span class="lineno"><a class="line" href="classmeow_1_1Camera.html#a8b3b3a3bcf22eb0ffce9436c430eb238"> 118</a></span>  <a class="code" href="classmeow_1_1Rotation3D.html">Rotation3D<double></a> <a class="code" href="classmeow_1_1Camera.html#a8b3b3a3bcf22eb0ffce9436c430eb238">rotation</a>(<a class="code" href="classmeow_1_1Rotation3D.html">Rotation3D<double></a> <span class="keyword">const</span>& rot) {</div> +<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  <span class="keyword">self</span>()->rot_.<a class="code" href="classmeow_1_1Rotation3D.html#a8ce437d591d81cc81be959d6f27e71c9">copyFrom</a>(rot);</div> +<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  <span class="keywordflow">return</span> <a class="code" href="classmeow_1_1Camera.html#a87423a5ea359ecd8fc6e9af43a773951">rotation</a>();</div> +<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  }</div> +<div class="line"><a name="l00122"></a><span class="lineno"> 122</span> </div> +<div class="line"><a name="l00126"></a><span class="lineno"><a class="line" href="classmeow_1_1Camera.html#afecbd2bca7a6c8ffcead532e855c811b"> 126</a></span>  <a class="code" href="classmeow_1_1IdentityPoints.html">FixedPoints2D</a> <a class="code" href="classmeow_1_1Camera.html#afecbd2bca7a6c8ffcead532e855c811b">fixedPoints2D</a>()<span class="keyword"> const </span>{</div> +<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>  <span class="keywordflow">return</span> <span class="keyword">self</span>->fixed2D_;</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="classmeow_1_1Camera.html#aa6bfaf360ab9b78adfde7005747368d4"> 133</a></span>  <a class="code" href="classmeow_1_1IdentityPoints.html">FixedPoints2D</a>& <a class="code" href="classmeow_1_1Camera.html#aa6bfaf360ab9b78adfde7005747368d4">fixedPoints2DGet</a>()<span class="keyword"> const </span>{</div> +<div class="line"><a name="l00134"></a><span class="lineno"> 134</span>  <span class="keywordflow">return</span> <span class="keyword">self</span>()->fixed2D_;</div> +<div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  }</div> +<div class="line"><a name="l00136"></a><span class="lineno"> 136</span> </div> +<div class="line"><a name="l00140"></a><span class="lineno"><a class="line" href="classmeow_1_1Camera.html#aacf5d8c51401c42f3dbee59f0ce1d327"> 140</a></span>  <a class="code" href="classmeow_1_1IdentityPoints.html">FixedPoints2D</a> <a class="code" href="classmeow_1_1Camera.html#aacf5d8c51401c42f3dbee59f0ce1d327">fixedPoints2D</a>(<a class="code" href="classmeow_1_1IdentityPoints.html">FixedPoints2D</a> <span class="keyword">const</span>& fps2d)<span class="keyword"> const </span>{</div> +<div class="line"><a name="l00141"></a><span class="lineno"> 141</span>  <span class="keywordflow">if</span> (fps2d.<a class="code" href="classmeow_1_1IdentityPoints.html#a6893f2dbd7f5554812fa729e98ecb1b7">dimension</a>() == 2) {</div> +<div class="line"><a name="l00142"></a><span class="lineno"> 142</span>  <span class="keyword">self</span>()->fixed2D_.<a class="code" href="classmeow_1_1IdentityPoints.html#acfbda17d20a9b7cd35a8d31f43cc99b0">copyFrom</a>(fps2d);</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>  <span class="keywordflow">return</span> <a class="code" href="classmeow_1_1Camera.html#afecbd2bca7a6c8ffcead532e855c811b">fixedPoints2D</a>();</div> +<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  }</div> +<div class="line"><a name="l00146"></a><span class="lineno"> 146</span> </div> +<div class="line"><a name="l00150"></a><span class="lineno"><a class="line" href="classmeow_1_1Camera.html#a9692355258ec6a78827cf35211521907"> 150</a></span>  <a class="code" href="classmeow_1_1Vector.html">Vector<double></a> <a class="code" href="classmeow_1_1Camera.html#a9692355258ec6a78827cf35211521907">fixedPoint2D</a>(<span class="keywordtype">int</span> i) {</div> +<div class="line"><a name="l00151"></a><span class="lineno"> 151</span>  <span class="keywordflow">return</span> <span class="keyword">self</span>->fixed2D_.identityPoint(i);</div> +<div class="line"><a name="l00152"></a><span class="lineno"> 152</span>  }</div> +<div class="line"><a name="l00153"></a><span class="lineno"> 153</span> </div> +<div class="line"><a name="l00157"></a><span class="lineno"><a class="line" href="classmeow_1_1Camera.html#ab188788f9d2e49a69a136273b2d0bea9"> 157</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classmeow_1_1Camera.html#ab188788f9d2e49a69a136273b2d0bea9">inside</a>(<a class="code" href="classmeow_1_1Vector3D.html">Vector3D<double></a> <span class="keyword">const</span>& p)<span class="keyword"> const </span>{</div> +<div class="line"><a name="l00158"></a><span class="lineno"> 158</span>  <span class="keywordflow">return</span> <span class="keyword">self</span>->photo_.inside(</div> +<div class="line"><a name="l00159"></a><span class="lineno"> 159</span>  <a class="code" href="classmeow_1_1Vector3D.html">Vector3D<double></a>(<a class="code" href="classmeow_1_1Camera.html#a87423a5ea359ecd8fc6e9af43a773951">rotation</a>().transformate(p.<a class="code" href="classmeow_1_1Vector3D.html#ae03fb93d06c60fd2901875ead10c8c72">matrix</a>())));</div> +<div class="line"><a name="l00160"></a><span class="lineno"> 160</span>  }</div> +<div class="line"><a name="l00161"></a><span class="lineno"> 161</span> </div> +<div class="line"><a name="l00165"></a><span class="lineno"><a class="line" href="classmeow_1_1Camera.html#a106af7fe364c3af091b0f8c50779e509"> 165</a></span>  Pixel <a class="code" href="classmeow_1_1Camera.html#a106af7fe364c3af091b0f8c50779e509">color</a>(<a class="code" href="classmeow_1_1Vector3D.html">Vector3D<double></a> <span class="keyword">const</span>& p)<span class="keyword"> const </span>{</div> +<div class="line"><a name="l00166"></a><span class="lineno"> 166</span>  <span class="keywordflow">return</span> <span class="keyword">self</span>->photo_.color(</div> +<div class="line"><a name="l00167"></a><span class="lineno"> 167</span>  <a class="code" href="classmeow_1_1Vector3D.html">Vector3D<double></a>(<a class="code" href="classmeow_1_1Camera.html#a87423a5ea359ecd8fc6e9af43a773951">rotation</a>().transformate(p.<a class="code" href="classmeow_1_1Vector3D.html#ae03fb93d06c60fd2901875ead10c8c72">matrix</a>())));</div> +<div class="line"><a name="l00168"></a><span class="lineno"> 168</span>  }</div> +<div class="line"><a name="l00169"></a><span class="lineno"> 169</span> </div> +<div class="line"><a name="l00173"></a><span class="lineno"><a class="line" href="classmeow_1_1Camera.html#adc22e067c44d2cf143c3cf4cba9abdbf"> 173</a></span>  <a class="code" href="classmeow_1_1Camera.html">Camera</a>& <a class="code" href="classmeow_1_1Camera.html#adc22e067c44d2cf143c3cf4cba9abdbf">operator=</a>(<a class="code" href="classmeow_1_1Camera.html">Camera</a> <span class="keyword">const</span>& b) {</div> +<div class="line"><a name="l00174"></a><span class="lineno"> 174</span>  <span class="keywordflow">return</span> <a class="code" href="classmeow_1_1Camera.html#ad6351e87de51e00981b7befff91b6b6d">copyFrom</a>(b);</div> +<div class="line"><a name="l00175"></a><span class="lineno"> 175</span>  }</div> +<div class="line"><a name="l00176"></a><span class="lineno"> 176</span> </div> +<div class="line"><a name="l00181"></a><span class="lineno"><a class="line" href="classmeow_1_1Camera.html#acb6443a3ce77804575ec55209b3a1960"> 181</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classmeow_1_1Camera.html#acb6443a3ce77804575ec55209b3a1960">write</a>(FILE* f, <span class="keywordtype">bool</span> bin, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> fg)<span class="keyword"> const </span>{</div> +<div class="line"><a name="l00182"></a><span class="lineno"> 182</span>  <span class="keywordflow">if</span> (bin) {</div> +<div class="line"><a name="l00183"></a><span class="lineno"> 183</span>  <span class="keywordtype">double</span> tmp;</div> +<div class="line"><a name="l00184"></a><span class="lineno"> 184</span>  <span class="keywordflow">for</span> (<span class="keywordtype">size_t</span> i = 0; i < 3; ++i) {</div> +<div class="line"><a name="l00185"></a><span class="lineno"> 185</span>  <span class="keywordflow">if</span> (fwrite(&(tmp = <a class="code" href="classmeow_1_1Camera.html#a87423a5ea359ecd8fc6e9af43a773951">rotation</a>().theta(i)), <span class="keyword">sizeof</span>(tmp), 1, f) < 1)</div> +<div class="line"><a name="l00186"></a><span class="lineno"> 186</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div> +<div class="line"><a name="l00187"></a><span class="lineno"> 187</span>  }</div> +<div class="line"><a name="l00188"></a><span class="lineno"> 188</span>  }</div> +<div class="line"><a name="l00189"></a><span class="lineno"> 189</span>  <span class="keywordflow">else</span> {</div> +<div class="line"><a name="l00190"></a><span class="lineno"> 190</span>  <span class="keywordflow">for</span> (<span class="keywordtype">size_t</span> i = 0; i < 3; ++i) {</div> +<div class="line"><a name="l00191"></a><span class="lineno"> 191</span>  <span class="keywordflow">if</span> (fprintf(f, <span class="stringliteral">"%f "</span>, <a class="code" href="classmeow_1_1Camera.html#a87423a5ea359ecd8fc6e9af43a773951">rotation</a>().theta(i)) < 1) <span class="keywordflow">return</span> <span class="keyword">false</span>;</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>  fprintf(f, <span class="stringliteral">"\n"</span>);</div> +<div class="line"><a name="l00194"></a><span class="lineno"> 194</span>  }</div> +<div class="line"><a name="l00195"></a><span class="lineno"> 195</span>  <span class="keywordflow">return</span> (<a class="code" href="classmeow_1_1Camera.html#afecbd2bca7a6c8ffcead532e855c811b">fixedPoints2D</a>().<a class="code" href="classmeow_1_1Camera.html#acb6443a3ce77804575ec55209b3a1960">write</a>(f, bin, fg) && <a class="code" href="classmeow_1_1Camera.html#a602f436088e81c554af7bc95ba55646d">photo</a>().<a class="code" href="classmeow_1_1Camera.html#acb6443a3ce77804575ec55209b3a1960">write</a>(f, bin, fg));</div> +<div class="line"><a name="l00196"></a><span class="lineno"> 196</span>  }</div> +<div class="line"><a name="l00197"></a><span class="lineno"> 197</span> </div> +<div class="line"><a name="l00202"></a><span class="lineno"><a class="line" href="classmeow_1_1Camera.html#aaa82f998dfc1acde6607650ab6514492"> 202</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classmeow_1_1Camera.html#aaa82f998dfc1acde6607650ab6514492">read</a>(FILE* f, <span class="keywordtype">bool</span> bin, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> fg) {</div> +<div class="line"><a name="l00203"></a><span class="lineno"> 203</span>  <span class="keywordflow">if</span> (bin) {</div> +<div class="line"><a name="l00204"></a><span class="lineno"> 204</span>  <span class="keywordtype">double</span> tmp;</div> +<div class="line"><a name="l00205"></a><span class="lineno"> 205</span>  <span class="keywordflow">for</span> (<span class="keywordtype">size_t</span> i = 0; i < 3; ++i) {</div> +<div class="line"><a name="l00206"></a><span class="lineno"> 206</span>  <span class="keywordflow">if</span> (fread(&tmp, <span class="keyword">sizeof</span>(tmp), 1, f) < 1) {</div> +<div class="line"><a name="l00207"></a><span class="lineno"> 207</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div> +<div class="line"><a name="l00208"></a><span class="lineno"> 208</span>  }</div> +<div class="line"><a name="l00209"></a><span class="lineno"> 209</span>  <a class="code" href="classmeow_1_1Camera.html#a54891144105d5e29a33b98d2fdf799e5">rotationGet</a>().<a class="code" href="classmeow_1_1Rotation3D.html#aeceaa78749d4bd9f5d638591298073dd">theta</a>(i, tmp);</div> +<div class="line"><a name="l00210"></a><span class="lineno"> 210</span>  }</div> +<div class="line"><a name="l00211"></a><span class="lineno"> 211</span>  }</div> +<div class="line"><a name="l00212"></a><span class="lineno"> 212</span>  <span class="keywordflow">else</span> {</div> +<div class="line"><a name="l00213"></a><span class="lineno"> 213</span>  <span class="keywordtype">double</span> a;</div> +<div class="line"><a name="l00214"></a><span class="lineno"> 214</span>  <span class="keywordflow">for</span> (<span class="keywordtype">size_t</span> i = 0; i < 3; ++i) {</div> +<div class="line"><a name="l00215"></a><span class="lineno"> 215</span>  <span class="keywordflow">if</span> (fscanf(f, <span class="stringliteral">"%lf"</span>, &a) < 1) <span class="keywordflow">return</span> <span class="keyword">false</span>;</div> +<div class="line"><a name="l00216"></a><span class="lineno"> 216</span>  <a class="code" href="classmeow_1_1Camera.html#a54891144105d5e29a33b98d2fdf799e5">rotationGet</a>().<a class="code" href="classmeow_1_1Rotation3D.html#aeceaa78749d4bd9f5d638591298073dd">theta</a>(i, a);</div> +<div class="line"><a name="l00217"></a><span class="lineno"> 217</span>  }</div> +<div class="line"><a name="l00218"></a><span class="lineno"> 218</span>  }</div> +<div class="line"><a name="l00219"></a><span class="lineno"> 219</span>  <span class="keywordflow">return</span> (<a class="code" href="classmeow_1_1Camera.html#aa6bfaf360ab9b78adfde7005747368d4">fixedPoints2DGet</a>().<a class="code" href="classmeow_1_1Camera.html#aaa82f998dfc1acde6607650ab6514492">read</a>(f, bin, fg) && <a class="code" href="classmeow_1_1Camera.html#aedd341c40cf8c5ef656bd02d9a1a266b">photoGet</a>().<a class="code" href="classmeow_1_1Camera.html#aaa82f998dfc1acde6607650ab6514492">read</a>(f, bin, fg));</div> +<div class="line"><a name="l00220"></a><span class="lineno"> 220</span>  }</div> +<div class="line"><a name="l00221"></a><span class="lineno"> 221</span> </div> +<div class="line"><a name="l00226"></a><span class="lineno"><a class="line" href="classmeow_1_1Camera.html#ad3ec34460c84a4a20cf3cb418db76dc3"> 226</a></span>  <a class="code" href="classmeow_1_1ObjBase.html">ObjBase</a>* <a class="code" href="classmeow_1_1Camera.html#ad3ec34460c84a4a20cf3cb418db76dc3">create</a>()<span class="keyword"> const </span>{</div> +<div class="line"><a name="l00227"></a><span class="lineno"> 227</span>  <span class="keywordflow">return</span> <span class="keyword">new</span> <a class="code" href="classmeow_1_1Camera.html#a2f1f9f82751c73193952f22ffdd0cc43">Camera</a>();</div> +<div class="line"><a name="l00228"></a><span class="lineno"> 228</span>  }</div> +<div class="line"><a name="l00229"></a><span class="lineno"> 229</span> </div> +<div class="line"><a name="l00238"></a><span class="lineno"><a class="line" href="classmeow_1_1Camera.html#a5dff4c1129c6d74de1938bea9309a408"> 238</a></span>  <a class="code" href="classmeow_1_1ObjBase.html">ObjBase</a>* <a class="code" href="classmeow_1_1Camera.html#a5dff4c1129c6d74de1938bea9309a408">copyFrom</a>(<a class="code" href="classmeow_1_1ObjBase.html">ObjBase</a> <span class="keyword">const</span>* b) {</div> +<div class="line"><a name="l00239"></a><span class="lineno"> 239</span>  <span class="keywordflow">return</span> &(<a class="code" href="classmeow_1_1Camera.html#ad6351e87de51e00981b7befff91b6b6d">copyFrom</a>(*(<a class="code" href="classmeow_1_1Camera.html">Camera</a> <span class="keyword">const</span>*)b));</div> +<div class="line"><a name="l00240"></a><span class="lineno"> 240</span>  }</div> +<div class="line"><a name="l00241"></a><span class="lineno"> 241</span> </div> +<div class="line"><a name="l00246"></a><span class="lineno"><a class="line" href="classmeow_1_1Camera.html#a80ef6d606e9f79255b043c5c17cc4a18"> 246</a></span>  <span class="keywordtype">char</span> <span class="keyword">const</span>* <a class="code" href="classmeow_1_1Camera.html#a80ef6d606e9f79255b043c5c17cc4a18">ctype</a>()<span class="keyword"> const</span>{</div> +<div class="line"><a name="l00247"></a><span class="lineno"> 247</span>  <span class="keywordflow">return</span> <span class="keyword">typeid</span>(*this).name();</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> </div> <div class="line"><a name="l00254"></a><span class="lineno"><a class="line" href="classmeow_1_1Camera.html#ae009c09a5e6b5ebdab09dd304f2eca32"> 254</a></span>  std::string <a class="code" href="classmeow_1_1Camera.html#ae009c09a5e6b5ebdab09dd304f2eca32">type</a>()<span class="keyword"> const </span>{</div> @@ -229,46 +229,46 @@ $(document).ready(function(){initNavTree('Camera_8h_source.html','');}); <div class="line"><a name="l00259"></a><span class="lineno"> 259</span> } <span class="comment">// meow</span></div> <div class="line"><a name="l00260"></a><span class="lineno"> 260</span> </div> <div class="line"><a name="l00261"></a><span class="lineno"> 261</span> <span class="preprocessor">#endif // gra_Camera_H__</span></div> -<div class="ttc" id="classmeow_1_1Camera_html_a298f81d18e2339db23ed5339f59b7986"><div class="ttname"><a href="classmeow_1_1Camera.html#a298f81d18e2339db23ed5339f59b7986">meow::Camera::fixedPoints2D</a></div><div class="ttdeci">FixedPoints2D const & fixedPoints2D(FixedPoints2D const &fps2d) const </div><div class="ttdoc">設定FixedPoint </div><div class="ttdef"><b>Definition:</b> <a href="Camera_8h_source.html#l00139">Camera.h:139</a></div></div> -<div class="ttc" id="classmeow_1_1Camera_html_aba398741215e99868380dff84e6aaee3"><div class="ttname"><a href="classmeow_1_1Camera.html#aba398741215e99868380dff84e6aaee3">meow::Camera::rotation</a></div><div class="ttdeci">Rotation3D< double > const & rotation(Rotation3D< double > const &rot)</div><div class="ttdoc">設定rotation </div><div class="ttdef"><b>Definition:</b> <a href="Camera_8h_source.html#l00117">Camera.h:117</a></div></div> -<div class="ttc" id="classmeow_1_1Camera_html_a78d30a42c1b67fafd3847f8757c10136"><div class="ttname"><a href="classmeow_1_1Camera.html#a78d30a42c1b67fafd3847f8757c10136">meow::Camera::photo</a></div><div class="ttdeci">Photo< Pixel > const & photo() const </div><div class="ttdoc">取得 photo </div><div class="ttdef"><b>Definition:</b> <a href="Camera_8h_source.html#l00081">Camera.h:81</a></div></div> <div class="ttc" id="classmeow_1_1Rotation3D_html_a8ce437d591d81cc81be959d6f27e71c9"><div class="ttname"><a href="classmeow_1_1Rotation3D.html#a8ce437d591d81cc81be959d6f27e71c9">meow::Rotation3D::copyFrom</a></div><div class="ttdeci">Rotation3D & copyFrom(Rotation3D const &b)</div><div class="ttdoc">Copy data. </div><div class="ttdef"><b>Definition:</b> <a href="LinearTransformations_8h_source.html#l00091">LinearTransformations.h:91</a></div></div> +<div class="ttc" id="classmeow_1_1IdentityPoints_html_a6893f2dbd7f5554812fa729e98ecb1b7"><div class="ttname"><a href="classmeow_1_1IdentityPoints.html#a6893f2dbd7f5554812fa729e98ecb1b7">meow::IdentityPoints::dimension</a></div><div class="ttdeci">size_t dimension() const </div><div class="ttdoc">回傳dimension </div><div class="ttdef"><b>Definition:</b> <a href="IdentityPoints_8h_source.html#l00121">IdentityPoints.h:121</a></div></div> <div class="ttc" id="classmeow_1_1Rotation3D_html_aeceaa78749d4bd9f5d638591298073dd"><div class="ttname"><a href="classmeow_1_1Rotation3D.html#aeceaa78749d4bd9f5d638591298073dd">meow::Rotation3D::theta</a></div><div class="ttdeci">Scalar const & theta(size_t i) const </div><div class="ttdoc">Get the i -th theta. </div><div class="ttdef"><b>Definition:</b> <a href="LinearTransformations_8h_source.html#l00131">LinearTransformations.h:131</a></div></div> <div class="ttc" id="classmeow_1_1Camera_html"><div class="ttname"><a href="classmeow_1_1Camera.html">meow::Camera</a></div><div class="ttdoc">Camera. </div><div class="ttdef"><b>Definition:</b> <a href="Camera_8h_source.html#l00023">Camera.h:23</a></div></div> <div class="ttc" id="IdentityPoints_8h_html"><div class="ttname"><a href="IdentityPoints_8h.html">IdentityPoints.h</a></div></div> <div class="ttc" id="classmeow_1_1Camera_html_ae009c09a5e6b5ebdab09dd304f2eca32"><div class="ttname"><a href="classmeow_1_1Camera.html#ae009c09a5e6b5ebdab09dd304f2eca32">meow::Camera::type</a></div><div class="ttdeci">std::string type() const </div><div class="ttdoc">回傳class的type </div><div class="ttdef"><b>Definition:</b> <a href="Camera_8h_source.html#l00254">Camera.h:254</a></div></div> -<div class="ttc" id="classmeow_1_1IdentityPoints_html"><div class="ttname"><a href="classmeow_1_1IdentityPoints.html">meow::IdentityPoints< int, double ></a></div></div> -<div class="ttc" id="classmeow_1_1IdentityPoints_html_ae1ea1968aad3345a61257ba5db970429"><div class="ttname"><a href="classmeow_1_1IdentityPoints.html#ae1ea1968aad3345a61257ba5db970429">meow::IdentityPoints::copyFrom</a></div><div class="ttdeci">IdentityPoints & copyFrom(IdentityPoints const &b)</div><div class="ttdoc">複製資料 </div><div class="ttdef"><b>Definition:</b> <a href="IdentityPoints_8h_source.html#l00065">IdentityPoints.h:65</a></div></div> -<div class="ttc" id="classmeow_1_1Camera_html_ad6351e87de51e00981b7befff91b6b6d"><div class="ttname"><a href="classmeow_1_1Camera.html#ad6351e87de51e00981b7befff91b6b6d">meow::Camera::copyFrom</a></div><div class="ttdeci">Camera & copyFrom(Camera const &b)</div><div class="ttdoc">複製資料 </div><div class="ttdef"><b>Definition:</b> <a href="Camera_8h_source.html#l00065">Camera.h:65</a></div></div> -<div class="ttc" id="classmeow_1_1Camera_html_adc22e067c44d2cf143c3cf4cba9abdbf"><div class="ttname"><a href="classmeow_1_1Camera.html#adc22e067c44d2cf143c3cf4cba9abdbf">meow::Camera::operator=</a></div><div class="ttdeci">Camera & operator=(Camera const &b)</div><div class="ttdoc">same as copyFrom(b) </div><div class="ttdef"><b>Definition:</b> <a href="Camera_8h_source.html#l00172">Camera.h:172</a></div></div> -<div class="ttc" id="classmeow_1_1Camera_html_aa446aa03bc2cb675649c11114e1298b4"><div class="ttname"><a href="classmeow_1_1Camera.html#aa446aa03bc2cb675649c11114e1298b4">meow::Camera::color</a></div><div class="ttdeci">Pixel color(Vector3D< double > p) const </div><div class="ttdoc">取得底片color </div><div class="ttdef"><b>Definition:</b> <a href="Camera_8h_source.html#l00164">Camera.h:164</a></div></div> -<div class="ttc" id="classmeow_1_1Camera_html_acb6443a3ce77804575ec55209b3a1960"><div class="ttname"><a href="classmeow_1_1Camera.html#acb6443a3ce77804575ec55209b3a1960">meow::Camera::write</a></div><div class="ttdeci">bool write(FILE *f, bool bin, unsigned int fg) const </div><div class="ttdoc">將資料寫入檔案 </div><div class="ttdef"><b>Definition:</b> <a href="Camera_8h_source.html#l00180">Camera.h:180</a></div></div> -<div class="ttc" id="classmeow_1_1Camera_html_a54891144105d5e29a33b98d2fdf799e5"><div class="ttname"><a href="classmeow_1_1Camera.html#a54891144105d5e29a33b98d2fdf799e5">meow::Camera::rotationGet</a></div><div class="ttdeci">Rotation3D< double > & rotationGet()</div><div class="ttdoc">取得rotation (non-constant) </div><div class="ttdef"><b>Definition:</b> <a href="Camera_8h_source.html#l00110">Camera.h:110</a></div></div> +<div class="ttc" id="classmeow_1_1Camera_html_a602f436088e81c554af7bc95ba55646d"><div class="ttname"><a href="classmeow_1_1Camera.html#a602f436088e81c554af7bc95ba55646d">meow::Camera::photo</a></div><div class="ttdeci">Photo< Pixel > photo() const </div><div class="ttdoc">取得 photo </div><div class="ttdef"><b>Definition:</b> <a href="Camera_8h_source.html#l00082">Camera.h:82</a></div></div> +<div class="ttc" id="classmeow_1_1IdentityPoints_html"><div class="ttname"><a href="classmeow_1_1IdentityPoints.html">meow::IdentityPoints</a></div><div class="ttdoc">把一個 std::map<Identity, Point > 包起來 </div><div class="ttdef"><b>Definition:</b> <a href="IdentityPoints_8h_source.html#l00022">IdentityPoints.h:22</a></div></div> +<div class="ttc" id="classmeow_1_1Camera_html_a8b3b3a3bcf22eb0ffce9436c430eb238"><div class="ttname"><a href="classmeow_1_1Camera.html#a8b3b3a3bcf22eb0ffce9436c430eb238">meow::Camera::rotation</a></div><div class="ttdeci">Rotation3D< double > rotation(Rotation3D< double > const &rot)</div><div class="ttdoc">設定rotation </div><div class="ttdef"><b>Definition:</b> <a href="Camera_8h_source.html#l00118">Camera.h:118</a></div></div> +<div class="ttc" id="classmeow_1_1Camera_html_ad6351e87de51e00981b7befff91b6b6d"><div class="ttname"><a href="classmeow_1_1Camera.html#ad6351e87de51e00981b7befff91b6b6d">meow::Camera::copyFrom</a></div><div class="ttdeci">Camera & copyFrom(Camera const &b)</div><div class="ttdoc">複製資料 </div><div class="ttdef"><b>Definition:</b> <a href="Camera_8h_source.html#l00066">Camera.h:66</a></div></div> +<div class="ttc" id="classmeow_1_1Camera_html_ab188788f9d2e49a69a136273b2d0bea9"><div class="ttname"><a href="classmeow_1_1Camera.html#ab188788f9d2e49a69a136273b2d0bea9">meow::Camera::inside</a></div><div class="ttdeci">bool inside(Vector3D< double > const &p) const </div><div class="ttdoc">詢問某點是否在底片範圍內 </div><div class="ttdef"><b>Definition:</b> <a href="Camera_8h_source.html#l00157">Camera.h:157</a></div></div> +<div class="ttc" id="classmeow_1_1Camera_html_adc22e067c44d2cf143c3cf4cba9abdbf"><div class="ttname"><a href="classmeow_1_1Camera.html#adc22e067c44d2cf143c3cf4cba9abdbf">meow::Camera::operator=</a></div><div class="ttdeci">Camera & operator=(Camera const &b)</div><div class="ttdoc">same as copyFrom(b) </div><div class="ttdef"><b>Definition:</b> <a href="Camera_8h_source.html#l00173">Camera.h:173</a></div></div> +<div class="ttc" id="classmeow_1_1Camera_html_a87423a5ea359ecd8fc6e9af43a773951"><div class="ttname"><a href="classmeow_1_1Camera.html#a87423a5ea359ecd8fc6e9af43a773951">meow::Camera::rotation</a></div><div class="ttdeci">Rotation3D< double > rotation() const </div><div class="ttdoc">取得rotation </div><div class="ttdef"><b>Definition:</b> <a href="Camera_8h_source.html#l00104">Camera.h:104</a></div></div> +<div class="ttc" id="classmeow_1_1Camera_html_acb6443a3ce77804575ec55209b3a1960"><div class="ttname"><a href="classmeow_1_1Camera.html#acb6443a3ce77804575ec55209b3a1960">meow::Camera::write</a></div><div class="ttdeci">bool write(FILE *f, bool bin, unsigned int fg) const </div><div class="ttdoc">將資料寫入檔案 </div><div class="ttdef"><b>Definition:</b> <a href="Camera_8h_source.html#l00181">Camera.h:181</a></div></div> +<div class="ttc" id="classmeow_1_1Camera_html_a54891144105d5e29a33b98d2fdf799e5"><div class="ttname"><a href="classmeow_1_1Camera.html#a54891144105d5e29a33b98d2fdf799e5">meow::Camera::rotationGet</a></div><div class="ttdeci">Rotation3D< double > & rotationGet()</div><div class="ttdoc">取得rotation (non-constant) </div><div class="ttdef"><b>Definition:</b> <a href="Camera_8h_source.html#l00111">Camera.h:111</a></div></div> <div class="ttc" id="Photo_8h_html"><div class="ttname"><a href="Photo_8h.html">Photo.h</a></div></div> -<div class="ttc" id="classmeow_1_1Camera_html_a2fde4fdfcb105e8a44b3333c78f55b6b"><div class="ttname"><a href="classmeow_1_1Camera.html#a2fde4fdfcb105e8a44b3333c78f55b6b">meow::Camera::fixedPoints2D</a></div><div class="ttdeci">FixedPoints2D const & fixedPoints2D() const </div><div class="ttdoc">取得所有FixedPoint </div><div class="ttdef"><b>Definition:</b> <a href="Camera_8h_source.html#l00125">Camera.h:125</a></div></div> -<div class="ttc" id="classmeow_1_1Camera_html_aedd341c40cf8c5ef656bd02d9a1a266b"><div class="ttname"><a href="classmeow_1_1Camera.html#aedd341c40cf8c5ef656bd02d9a1a266b">meow::Camera::photoGet</a></div><div class="ttdeci">Photo< Pixel > & photoGet()</div><div class="ttdoc">取得 photo (non-constant) </div><div class="ttdef"><b>Definition:</b> <a href="Camera_8h_source.html#l00088">Camera.h:88</a></div></div> -<div class="ttc" id="classmeow_1_1Camera_html_adecd4f466208aeb53713532ef576bdee"><div class="ttname"><a href="classmeow_1_1Camera.html#adecd4f466208aeb53713532ef576bdee">meow::Camera::photo</a></div><div class="ttdeci">Photo< Pixel > const & photo(Photo< Pixel > const &pho)</div><div class="ttdoc">設定 photo </div><div class="ttdef"><b>Definition:</b> <a href="Camera_8h_source.html#l00095">Camera.h:95</a></div></div> +<div class="ttc" id="classmeow_1_1Camera_html_aedd341c40cf8c5ef656bd02d9a1a266b"><div class="ttname"><a href="classmeow_1_1Camera.html#aedd341c40cf8c5ef656bd02d9a1a266b">meow::Camera::photoGet</a></div><div class="ttdeci">Photo< Pixel > & photoGet()</div><div class="ttdoc">取得 photo (non-constant) </div><div class="ttdef"><b>Definition:</b> <a href="Camera_8h_source.html#l00089">Camera.h:89</a></div></div> <div class="ttc" id="classmeow_1_1ObjBase_html"><div class="ttname"><a href="classmeow_1_1ObjBase.html">meow::ObjBase</a></div><div class="ttdoc">一切物件的Base, 並要求每個物件都要有read, write, create, ... 等功能 </div><div class="ttdef"><b>Definition:</b> <a href="ObjBase_8h_source.html#l00015">ObjBase.h:15</a></div></div> +<div class="ttc" id="classmeow_1_1Camera_html_acdae9492d3a9b40d89205f5dbce8c871"><div class="ttname"><a href="classmeow_1_1Camera.html#acdae9492d3a9b40d89205f5dbce8c871">meow::Camera::photo</a></div><div class="ttdeci">Photo< Pixel > photo(Photo< Pixel > const &pho)</div><div class="ttdoc">設定 photo </div><div class="ttdef"><b>Definition:</b> <a href="Camera_8h_source.html#l00096">Camera.h:96</a></div></div> <div class="ttc" id="classmeow_1_1Vector_html"><div class="ttname"><a href="classmeow_1_1Vector.html">meow::Vector</a></div><div class="ttdoc">vector </div><div class="ttdef"><b>Definition:</b> <a href="Vector_8h_source.html#l00019">Vector.h:19</a></div></div> -<div class="ttc" id="classmeow_1_1Camera_html_ad3ec34460c84a4a20cf3cb418db76dc3"><div class="ttname"><a href="classmeow_1_1Camera.html#ad3ec34460c84a4a20cf3cb418db76dc3">meow::Camera::create</a></div><div class="ttdeci">ObjBase * create() const </div><div class="ttdoc">new一個自己 </div><div class="ttdef"><b>Definition:</b> <a href="Camera_8h_source.html#l00225">Camera.h:225</a></div></div> -<div class="ttc" id="classmeow_1_1Camera_html_a80ef6d606e9f79255b043c5c17cc4a18"><div class="ttname"><a href="classmeow_1_1Camera.html#a80ef6d606e9f79255b043c5c17cc4a18">meow::Camera::ctype</a></div><div class="ttdeci">char const * ctype() const </div><div class="ttdoc">回傳class的type </div><div class="ttdef"><b>Definition:</b> <a href="Camera_8h_source.html#l00245">Camera.h:245</a></div></div> -<div class="ttc" id="classmeow_1_1Vector3D_html_ae03fb93d06c60fd2901875ead10c8c72"><div class="ttname"><a href="classmeow_1_1Vector3D.html#ae03fb93d06c60fd2901875ead10c8c72">meow::Vector3D::matrix</a></div><div class="ttdeci">Matrix< Scalar > matrix() const </div><div class="ttdoc">return a 3x1 matrix form of itself </div><div class="ttdef"><b>Definition:</b> <a href="Vectors_8h_source.html#l00486">Vectors.h:486</a></div></div> +<div class="ttc" id="classmeow_1_1Camera_html_ad3ec34460c84a4a20cf3cb418db76dc3"><div class="ttname"><a href="classmeow_1_1Camera.html#ad3ec34460c84a4a20cf3cb418db76dc3">meow::Camera::create</a></div><div class="ttdeci">ObjBase * create() const </div><div class="ttdoc">new一個自己 </div><div class="ttdef"><b>Definition:</b> <a href="Camera_8h_source.html#l00226">Camera.h:226</a></div></div> +<div class="ttc" id="classmeow_1_1Camera_html_a80ef6d606e9f79255b043c5c17cc4a18"><div class="ttname"><a href="classmeow_1_1Camera.html#a80ef6d606e9f79255b043c5c17cc4a18">meow::Camera::ctype</a></div><div class="ttdeci">char const * ctype() const </div><div class="ttdoc">回傳class的type </div><div class="ttdef"><b>Definition:</b> <a href="Camera_8h_source.html#l00246">Camera.h:246</a></div></div> +<div class="ttc" id="classmeow_1_1Vector3D_html_ae03fb93d06c60fd2901875ead10c8c72"><div class="ttname"><a href="classmeow_1_1Vector3D.html#ae03fb93d06c60fd2901875ead10c8c72">meow::Vector3D::matrix</a></div><div class="ttdeci">Matrix< Scalar > matrix() const </div><div class="ttdoc">return a 3x1 matrix form of itself </div><div class="ttdef"><b>Definition:</b> <a href="Vectors_8h_source.html#l00433">Vectors.h:433</a></div></div> <div class="ttc" id="classmeow_1_1Vector3D_html"><div class="ttname"><a href="classmeow_1_1Vector3D.html">meow::Vector3D< double ></a></div></div> -<div class="ttc" id="classmeow_1_1Camera_html_a9692355258ec6a78827cf35211521907"><div class="ttname"><a href="classmeow_1_1Camera.html#a9692355258ec6a78827cf35211521907">meow::Camera::fixedPoint2D</a></div><div class="ttdeci">Vector< double > fixedPoint2D(int i)</div><div class="ttdoc">取得編號為i的fixed points 2d </div><div class="ttdef"><b>Definition:</b> <a href="Camera_8h_source.html#l00149">Camera.h:149</a></div></div> -<div class="ttc" id="classmeow_1_1Camera_html_a2f1f9f82751c73193952f22ffdd0cc43"><div class="ttname"><a href="classmeow_1_1Camera.html#a2f1f9f82751c73193952f22ffdd0cc43">meow::Camera::Camera</a></div><div class="ttdeci">Camera()</div><div class="ttdoc">constructor </div><div class="ttdef"><b>Definition:</b> <a href="Camera_8h_source.html#l00047">Camera.h:47</a></div></div> +<div class="ttc" id="classmeow_1_1Camera_html_a9692355258ec6a78827cf35211521907"><div class="ttname"><a href="classmeow_1_1Camera.html#a9692355258ec6a78827cf35211521907">meow::Camera::fixedPoint2D</a></div><div class="ttdeci">Vector< double > fixedPoint2D(int i)</div><div class="ttdoc">取得編號為i的fixed points 2d </div><div class="ttdef"><b>Definition:</b> <a href="Camera_8h_source.html#l00150">Camera.h:150</a></div></div> +<div class="ttc" id="classmeow_1_1Camera_html_a106af7fe364c3af091b0f8c50779e509"><div class="ttname"><a href="classmeow_1_1Camera.html#a106af7fe364c3af091b0f8c50779e509">meow::Camera::color</a></div><div class="ttdeci">Pixel color(Vector3D< double > const &p) const </div><div class="ttdoc">取得底片color </div><div class="ttdef"><b>Definition:</b> <a href="Camera_8h_source.html#l00165">Camera.h:165</a></div></div> +<div class="ttc" id="classmeow_1_1Camera_html_a2f1f9f82751c73193952f22ffdd0cc43"><div class="ttname"><a href="classmeow_1_1Camera.html#a2f1f9f82751c73193952f22ffdd0cc43">meow::Camera::Camera</a></div><div class="ttdeci">Camera()</div><div class="ttdoc">constructor </div><div class="ttdef"><b>Definition:</b> <a href="Camera_8h_source.html#l00048">Camera.h:48</a></div></div> <div class="ttc" id="classmeow_1_1Photo_html"><div class="ttname"><a href="classmeow_1_1Photo.html">meow::Photo</a></div><div class="ttdoc">底片 </div><div class="ttdef"><b>Definition:</b> <a href="Photo_8h_source.html#l00031">Photo.h:31</a></div></div> -<div class="ttc" id="classmeow_1_1Camera_html_a5dff4c1129c6d74de1938bea9309a408"><div class="ttname"><a href="classmeow_1_1Camera.html#a5dff4c1129c6d74de1938bea9309a408">meow::Camera::copyFrom</a></div><div class="ttdeci">ObjBase * copyFrom(ObjBase const *b)</div><div class="ttdoc">複製資料 </div><div class="ttdef"><b>Definition:</b> <a href="Camera_8h_source.html#l00237">Camera.h:237</a></div></div> +<div class="ttc" id="classmeow_1_1Camera_html_a5dff4c1129c6d74de1938bea9309a408"><div class="ttname"><a href="classmeow_1_1Camera.html#a5dff4c1129c6d74de1938bea9309a408">meow::Camera::copyFrom</a></div><div class="ttdeci">ObjBase * copyFrom(ObjBase const *b)</div><div class="ttdoc">複製資料 </div><div class="ttdef"><b>Definition:</b> <a href="Camera_8h_source.html#l00238">Camera.h:238</a></div></div> +<div class="ttc" id="classmeow_1_1Camera_html_aacf5d8c51401c42f3dbee59f0ce1d327"><div class="ttname"><a href="classmeow_1_1Camera.html#aacf5d8c51401c42f3dbee59f0ce1d327">meow::Camera::fixedPoints2D</a></div><div class="ttdeci">FixedPoints2D fixedPoints2D(FixedPoints2D const &fps2d) const </div><div class="ttdoc">設定FixedPoint </div><div class="ttdef"><b>Definition:</b> <a href="Camera_8h_source.html#l00140">Camera.h:140</a></div></div> <div class="ttc" id="classmeow_1_1Rotation3D_html"><div class="ttname"><a href="classmeow_1_1Rotation3D.html">meow::Rotation3D< double ></a></div></div> -<div class="ttc" id="classmeow_1_1IdentityPoints_html_a19da7e561a7216146da2d974434a0c68"><div class="ttname"><a href="classmeow_1_1IdentityPoints.html#a19da7e561a7216146da2d974434a0c68">meow::IdentityPoints::dimension</a></div><div class="ttdeci">size_t dimension() const </div><div class="ttdoc">回傳dimension </div><div class="ttdef"><b>Definition:</b> <a href="IdentityPoints_8h_source.html#l00109">IdentityPoints.h:109</a></div></div> -<div class="ttc" id="classmeow_1_1Camera_html_aaa82f998dfc1acde6607650ab6514492"><div class="ttname"><a href="classmeow_1_1Camera.html#aaa82f998dfc1acde6607650ab6514492">meow::Camera::read</a></div><div class="ttdeci">bool read(FILE *f, bool bin, unsigned int fg)</div><div class="ttdoc">將資料讀入 </div><div class="ttdef"><b>Definition:</b> <a href="Camera_8h_source.html#l00201">Camera.h:201</a></div></div> +<div class="ttc" id="classmeow_1_1IdentityPoints_html_acfbda17d20a9b7cd35a8d31f43cc99b0"><div class="ttname"><a href="classmeow_1_1IdentityPoints.html#acfbda17d20a9b7cd35a8d31f43cc99b0">meow::IdentityPoints::copyFrom</a></div><div class="ttdeci">IdentityPoints & copyFrom(IdentityPoints const &b)</div><div class="ttdoc">複製資料 </div><div class="ttdef"><b>Definition:</b> <a href="IdentityPoints_8h_source.html#l00077">IdentityPoints.h:77</a></div></div> +<div class="ttc" id="classmeow_1_1Camera_html_afecbd2bca7a6c8ffcead532e855c811b"><div class="ttname"><a href="classmeow_1_1Camera.html#afecbd2bca7a6c8ffcead532e855c811b">meow::Camera::fixedPoints2D</a></div><div class="ttdeci">FixedPoints2D fixedPoints2D() const </div><div class="ttdoc">取得所有FixedPoint </div><div class="ttdef"><b>Definition:</b> <a href="Camera_8h_source.html#l00126">Camera.h:126</a></div></div> +<div class="ttc" id="classmeow_1_1Camera_html_aaa82f998dfc1acde6607650ab6514492"><div class="ttname"><a href="classmeow_1_1Camera.html#aaa82f998dfc1acde6607650ab6514492">meow::Camera::read</a></div><div class="ttdeci">bool read(FILE *f, bool bin, unsigned int fg)</div><div class="ttdoc">將資料讀入 </div><div class="ttdef"><b>Definition:</b> <a href="Camera_8h_source.html#l00202">Camera.h:202</a></div></div> <div class="ttc" id="classmeow_1_1Self_html"><div class="ttname"><a href="classmeow_1_1Self.html">meow::Self< Myself ></a></div></div> -<div class="ttc" id="classmeow_1_1Camera_html_ae00aa539b7d6be9254db1072627d204e"><div class="ttname"><a href="classmeow_1_1Camera.html#ae00aa539b7d6be9254db1072627d204e">meow::Camera::referenceFrom</a></div><div class="ttdeci">Camera & referenceFrom(Camera const &b)</div><div class="ttdoc">參照 </div><div class="ttdef"><b>Definition:</b> <a href="Camera_8h_source.html#l00073">Camera.h:73</a></div></div> -<div class="ttc" id="classmeow_1_1Camera_html_ab05f55e6b0eb28065c27a89393ccce19"><div class="ttname"><a href="classmeow_1_1Camera.html#ab05f55e6b0eb28065c27a89393ccce19">meow::Camera::Camera</a></div><div class="ttdeci">Camera(Camera const &b)</div><div class="ttdoc">copy constructor </div><div class="ttdef"><b>Definition:</b> <a href="Camera_8h_source.html#l00053">Camera.h:53</a></div></div> -<div class="ttc" id="classmeow_1_1Camera_html_aa6bfaf360ab9b78adfde7005747368d4"><div class="ttname"><a href="classmeow_1_1Camera.html#aa6bfaf360ab9b78adfde7005747368d4">meow::Camera::fixedPoints2DGet</a></div><div class="ttdeci">FixedPoints2D & fixedPoints2DGet() const </div><div class="ttdoc">取得所有FixedPoint(non-constant reference) </div><div class="ttdef"><b>Definition:</b> <a href="Camera_8h_source.html#l00132">Camera.h:132</a></div></div> -<div class="ttc" id="classmeow_1_1Camera_html_a55e165212b212a58b0090b1496a1a40a"><div class="ttname"><a href="classmeow_1_1Camera.html#a55e165212b212a58b0090b1496a1a40a">meow::Camera::inside</a></div><div class="ttdeci">bool inside(Vector3D< double > p) const </div><div class="ttdoc">詢問某點是否在底片範圍內 </div><div class="ttdef"><b>Definition:</b> <a href="Camera_8h_source.html#l00156">Camera.h:156</a></div></div> -<div class="ttc" id="classmeow_1_1Camera_html_a1dc458ca5ce2e2f441e6601d7223d370"><div class="ttname"><a href="classmeow_1_1Camera.html#a1dc458ca5ce2e2f441e6601d7223d370">meow::Camera::rotation</a></div><div class="ttdeci">Rotation3D< double > const & rotation() const </div><div class="ttdoc">取得rotation </div><div class="ttdef"><b>Definition:</b> <a href="Camera_8h_source.html#l00103">Camera.h:103</a></div></div> -<div class="ttc" id="classmeow_1_1Camera_html_a0f29b943c2f6b4c68c4b00b6a3056d63"><div class="ttname"><a href="classmeow_1_1Camera.html#a0f29b943c2f6b4c68c4b00b6a3056d63">meow::Camera::~Camera</a></div><div class="ttdeci">~Camera()</div><div class="ttdoc">destructor </div><div class="ttdef"><b>Definition:</b> <a href="Camera_8h_source.html#l00059">Camera.h:59</a></div></div> -<div class="ttc" id="classmeow_1_1Camera_html_a2f9b65351e07acd6e98a53689c49cb84"><div class="ttname"><a href="classmeow_1_1Camera.html#a2f9b65351e07acd6e98a53689c49cb84">meow::Camera::FixedPoints2D</a></div><div class="ttdeci">IdentityPoints< int, double > FixedPoints2D</div><div class="ttdef"><b>Definition:</b> <a href="Camera_8h_source.html#l00025">Camera.h:25</a></div></div> +<div class="ttc" id="classmeow_1_1Camera_html_ae00aa539b7d6be9254db1072627d204e"><div class="ttname"><a href="classmeow_1_1Camera.html#ae00aa539b7d6be9254db1072627d204e">meow::Camera::referenceFrom</a></div><div class="ttdeci">Camera & referenceFrom(Camera const &b)</div><div class="ttdoc">參照 </div><div class="ttdef"><b>Definition:</b> <a href="Camera_8h_source.html#l00074">Camera.h:74</a></div></div> +<div class="ttc" id="classmeow_1_1Camera_html_ab05f55e6b0eb28065c27a89393ccce19"><div class="ttname"><a href="classmeow_1_1Camera.html#ab05f55e6b0eb28065c27a89393ccce19">meow::Camera::Camera</a></div><div class="ttdeci">Camera(Camera const &b)</div><div class="ttdoc">copy constructor </div><div class="ttdef"><b>Definition:</b> <a href="Camera_8h_source.html#l00054">Camera.h:54</a></div></div> +<div class="ttc" id="classmeow_1_1Camera_html_aa6bfaf360ab9b78adfde7005747368d4"><div class="ttname"><a href="classmeow_1_1Camera.html#aa6bfaf360ab9b78adfde7005747368d4">meow::Camera::fixedPoints2DGet</a></div><div class="ttdeci">FixedPoints2D & fixedPoints2DGet() const </div><div class="ttdoc">取得所有FixedPoint(non-constant reference) </div><div class="ttdef"><b>Definition:</b> <a href="Camera_8h_source.html#l00133">Camera.h:133</a></div></div> +<div class="ttc" id="classmeow_1_1Camera_html_a0f29b943c2f6b4c68c4b00b6a3056d63"><div class="ttname"><a href="classmeow_1_1Camera.html#a0f29b943c2f6b4c68c4b00b6a3056d63">meow::Camera::~Camera</a></div><div class="ttdeci">~Camera()</div><div class="ttdoc">destructor </div><div class="ttdef"><b>Definition:</b> <a href="Camera_8h_source.html#l00060">Camera.h:60</a></div></div> +<div class="ttc" id="classmeow_1_1Camera_html_aa275bfafcc2a85626fe2b274129ec2d5"><div class="ttname"><a href="classmeow_1_1Camera.html#aa275bfafcc2a85626fe2b274129ec2d5">meow::Camera::FixedPoints2D</a></div><div class="ttdeci">IdentityPoints< int, double, Vector2D< double > > FixedPoints2D</div><div class="ttdef"><b>Definition:</b> <a href="Camera_8h_source.html#l00025">Camera.h:25</a></div></div> </div><!-- fragment --></div><!-- contents --> </div><!-- doc-content --> <!-- HTML footer for doxygen 1.8.3.1--> @@ -276,7 +276,7 @@ $(document).ready(function(){initNavTree('Camera_8h_source.html','');}); <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> <ul> <li class="navelem"><a class="el" href="dir_92fecd8d02dd5e7a67429447fdf0f60f.html">meowpp</a></li><li class="navelem"><a class="el" href="dir_115d3279a93b9c99d8f569a34543848f.html">gra</a></li><li class="navelem"><a class="el" href="Camera_8h.html">Camera.h</a></li> - <li class="footer">Generated on Tue Jun 24 2014 03:53:31 for Templates -- Meow by + <li class="footer">Generated on Fri Jun 27 2014 18:24:40 for Templates -- Meow by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.6 </li> </ul> |