aboutsummaryrefslogtreecommitdiffstats
path: root/doc/latex/classmeow_1_1Photo.tex
blob: 001f9d258fa85e63881f3a92cd862a880209d804 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
\hypertarget{classmeow_1_1Photo}{\section{meow\-:\-:Photo$<$ Pixel $>$ Class Template Reference}
\label{classmeow_1_1Photo}\index{meow\-::\-Photo$<$ Pixel $>$@{meow\-::\-Photo$<$ Pixel $>$}}
}


底片  




{\ttfamily \#include \char`\"{}Photo.\-h\char`\"{}}

Inheritance diagram for meow\-:\-:Photo$<$ Pixel $>$\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classmeow_1_1Photo}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classmeow_1_1Photo_a84b9bae13da85ab5d1caf02cdede7092}{Photo} ()
\begin{DoxyCompactList}\small\item\em constructor \end{DoxyCompactList}\item 
\hyperlink{classmeow_1_1Photo_a85f96086c9c4041ae14f0c1c9c6d23f8}{Photo} (\hyperlink{classmeow_1_1Photo}{Photo} const \&b)
\begin{DoxyCompactList}\small\item\em constructor \end{DoxyCompactList}\item 
\hyperlink{classmeow_1_1Photo_a66e6f809ee030d4b3d5c0d1edd7b641e}{Photo} (\hyperlink{classmeow_1_1Bitmap}{Bitmap}$<$ Pixel $>$ const \&bmp)
\begin{DoxyCompactList}\small\item\em constructor \end{DoxyCompactList}\item 
\hyperlink{classmeow_1_1Photo_a68137359863914ebedb467782b8ef440}{Photo} (\hyperlink{classmeow_1_1Bitmap}{Bitmap}$<$ Pixel $>$ const \&bmp, \hyperlink{classdouble}{double} f)
\begin{DoxyCompactList}\small\item\em constructor \end{DoxyCompactList}\item 
\hyperlink{classmeow_1_1Photo_af69dcdd4ccd4c15227cf0b104325d8de}{Photo} (\hyperlink{classmeow_1_1Bitmap}{Bitmap}$<$ Pixel $>$ const \&bmp, \hyperlink{classdouble}{double} f, \hyperlink{classmeow_1_1Vector2D}{Vector2\-D}$<$ \hyperlink{classdouble}{double} $>$ const \&c)
\begin{DoxyCompactList}\small\item\em constructor \end{DoxyCompactList}\item 
\hyperlink{classmeow_1_1Photo_ad3ba33208243966fe72db6c3a519e22d}{$\sim$\-Photo} ()
\begin{DoxyCompactList}\small\item\em destructor \end{DoxyCompactList}\item 
\hyperlink{classmeow_1_1Photo}{Photo} \& \hyperlink{classmeow_1_1Photo_a53bc0c60fb3abd9e95999990c6f132e6}{copy\-From} (\hyperlink{classmeow_1_1Photo}{Photo} const \&b)
\begin{DoxyCompactList}\small\item\em 複製資料 \end{DoxyCompactList}\item 
\hyperlink{classmeow_1_1Photo}{Photo} \& \hyperlink{classmeow_1_1Photo_a1d51d273f9847c8c81de3acaafdf893f}{refernece\-From} (\hyperlink{classmeow_1_1Photo}{Photo} const \&b)
\begin{DoxyCompactList}\small\item\em 參照 \end{DoxyCompactList}\item 
void \hyperlink{classmeow_1_1Photo_ab5a901c44b8c5523def9b40f27a5fda3}{reset} (\hyperlink{classmeow_1_1Bitmap}{Bitmap}$<$ Pixel $>$ const \&bmp)
\begin{DoxyCompactList}\small\item\em 重設bitmap, focal 用猜的 \end{DoxyCompactList}\item 
void \hyperlink{classmeow_1_1Photo_aed3ed47ee1ddae0732e24af71b91a7b0}{reset} (\hyperlink{classmeow_1_1Bitmap}{Bitmap}$<$ Pixel $>$ const \&bmp, \hyperlink{classdouble}{double} f)
\begin{DoxyCompactList}\small\item\em 重設bitmap, focal \end{DoxyCompactList}\item 
void \hyperlink{classmeow_1_1Photo_a4d237ed59e6227940c20831cdce797a8}{reset} (\hyperlink{classmeow_1_1Bitmap}{Bitmap}$<$ Pixel $>$ const \&bmp, \hyperlink{classdouble}{double} f, \hyperlink{classmeow_1_1Vector2D}{Vector2\-D}$<$ \hyperlink{classdouble}{double} $>$ const \&c)
\begin{DoxyCompactList}\small\item\em 重設bitmap, focal, center \end{DoxyCompactList}\item 
\hyperlink{classmeow_1_1Bitmap}{Bitmap}$<$ Pixel $>$ const \& \hyperlink{classmeow_1_1Photo_a49ada6e814bd2280af12183897227e62}{bitmap} () const 
\begin{DoxyCompactList}\small\item\em 回傳{\ttfamily bitmap} \end{DoxyCompactList}\item 
\hyperlink{classmeow_1_1Bitmap}{Bitmap}$<$ Pixel $>$ \& \hyperlink{classmeow_1_1Photo_a07c8ca1846fc97005a7d960c5fc703a7}{bitmap\-Get} ()
\begin{DoxyCompactList}\small\item\em 回傳{\ttfamily bitmap} 的參照(非constant) \end{DoxyCompactList}\item 
\hyperlink{classmeow_1_1Bitmap}{Bitmap}$<$ Pixel $>$ const \& \hyperlink{classmeow_1_1Photo_a511f65855ee9f102c2472ce236ba7d3c}{bitmap} (\hyperlink{classmeow_1_1Bitmap}{Bitmap}$<$ Pixel $>$ const \&bmp)
\begin{DoxyCompactList}\small\item\em 設定bitmap \end{DoxyCompactList}\item 
\hyperlink{classdouble}{double} \hyperlink{classmeow_1_1Photo_ab7b4b1f6b3f8100ea670500f168cb1e4}{focal} () const 
\begin{DoxyCompactList}\small\item\em 回傳focal length \end{DoxyCompactList}\item 
\hyperlink{classdouble}{double} \hyperlink{classmeow_1_1Photo_a1fbde3a8b2be3662cf67a035cf887be9}{focal} (\hyperlink{classdouble}{double} f)
\begin{DoxyCompactList}\small\item\em 設定 focal length \end{DoxyCompactList}\item 
\hyperlink{classmeow_1_1PhotoProjection}{Photo\-Projection}$<$ \hyperlink{classdouble}{double} $>$ \hyperlink{classmeow_1_1Photo_a9fed32356d142cc4ee2c141ff894a49a}{projection} () const 
\begin{DoxyCompactList}\small\item\em 回傳相應的 photo projection \end{DoxyCompactList}\item 
\hyperlink{classmeow_1_1PhotoProjection}{Photo\-Projection}$<$ \hyperlink{classdouble}{double} $>$ \hyperlink{classmeow_1_1Photo_aeb8878b9c809b8c6385bfadd3c0dd984}{projection} (\hyperlink{classmeow_1_1PhotoProjection}{Photo\-Projection}$<$ \hyperlink{classdouble}{double} $>$ const \&p)
\begin{DoxyCompactList}\small\item\em 設定 photo projection \end{DoxyCompactList}\item 
\hyperlink{classmeow_1_1Vector2D}{Vector2\-D}$<$ \hyperlink{classdouble}{double} $>$ const \& \hyperlink{classmeow_1_1Photo_a1a81a5be069f31e16e2e665ff97e778c}{center} () const 
\begin{DoxyCompactList}\small\item\em 取得照片中心點底片座標 \end{DoxyCompactList}\item 
\hyperlink{classmeow_1_1Vector2D}{Vector2\-D}$<$ \hyperlink{classdouble}{double} $>$ \& \hyperlink{classmeow_1_1Photo_a19976fbe55a9d7e17baac9460d5b829c}{center\-Get} ()
\begin{DoxyCompactList}\small\item\em 取得照片中心點底片座標 (non-\/constant reference) \end{DoxyCompactList}\item 
\hyperlink{classmeow_1_1Vector2D}{Vector2\-D}$<$ \hyperlink{classdouble}{double} $>$ const \& \hyperlink{classmeow_1_1Photo_a563850b9827f24d6d0be5c63e408d253}{center} (\hyperlink{classmeow_1_1Vector2D}{Vector2\-D}$<$ \hyperlink{classdouble}{double} $>$ const \&c)
\begin{DoxyCompactList}\small\item\em 設定照片中心點底片座標 \end{DoxyCompactList}\item 
size\-\_\-t \hyperlink{classmeow_1_1Photo_a1a0582b5c3683264fcad5ca67b376f7c}{width} () const 
\begin{DoxyCompactList}\small\item\em 回傳bitmap寬 \end{DoxyCompactList}\item 
size\-\_\-t \hyperlink{classmeow_1_1Photo_a0fc9394bbee567c1961500808a5f9a9d}{height} () const 
\begin{DoxyCompactList}\small\item\em 回傳bitmap高 \end{DoxyCompactList}\item 
Pixel \hyperlink{classmeow_1_1Photo_a3489796a4101da9291fff280cb89728e}{pixel} (size\-\_\-t y, size\-\_\-t x) const 
\begin{DoxyCompactList}\small\item\em 回傳bitmap的某pixel \end{DoxyCompactList}\item 
Pixel \hyperlink{classmeow_1_1Photo_a38c943a8bd30b309a8042599dcf9f1e7}{pixel} (size\-\_\-t y, size\-\_\-t x, Pixel const \&p)
\begin{DoxyCompactList}\small\item\em 設定某pixel \end{DoxyCompactList}\item 
bool \hyperlink{classmeow_1_1Photo_ae1d328ee4c0971d4a90fb1f05bea1e66}{inside} (\hyperlink{classmeow_1_1Vector2D}{Vector2\-D}$<$ \hyperlink{classdouble}{double} $>$ const \&yx) const 
\begin{DoxyCompactList}\small\item\em 檢查某點是否在底片範圍內 \end{DoxyCompactList}\item 
bool \hyperlink{classmeow_1_1Photo_a43ac8952d85ea584dc9ea9a0424dbb98}{inside} (\hyperlink{classmeow_1_1Vector3D}{Vector3\-D}$<$ \hyperlink{classdouble}{double} $>$ const \&p) const 
\begin{DoxyCompactList}\small\item\em 檢查某點是否在底片範圍內 \end{DoxyCompactList}\item 
Pixel \hyperlink{classmeow_1_1Photo_aad526a7b9aecbcfebb12be76979ce7d1}{color} (\hyperlink{classmeow_1_1Vector2D}{Vector2\-D}$<$ \hyperlink{classdouble}{double} $>$ const \&yx) const 
\begin{DoxyCompactList}\small\item\em 取得給照片座標中某點的色彩 \end{DoxyCompactList}\item 
Pixel \hyperlink{classmeow_1_1Photo_a95c01aa8e4b620c8290a3054663e41f4}{color} (\hyperlink{classmeow_1_1Vector3D}{Vector3\-D}$<$ \hyperlink{classdouble}{double} $>$ const \&p) const 
\begin{DoxyCompactList}\small\item\em 取得給照片座標中某點的色彩 \end{DoxyCompactList}\item 
\hyperlink{classmeow_1_1Photo}{Photo} \& \hyperlink{classmeow_1_1Photo_ab97f03da439edeb8834fd6e7a3487f65}{operator=} (\hyperlink{classmeow_1_1Photo}{Photo} const \&b)
\begin{DoxyCompactList}\small\item\em same as {\ttfamily }.copy\-From(b) \end{DoxyCompactList}\item 
bool \hyperlink{classmeow_1_1Photo_ab92324c852686bcad5e374aa9ae8e952}{write} (F\-I\-L\-E $\ast$f, bool bin, unsigned \hyperlink{classint}{int} fg) const 
\begin{DoxyCompactList}\small\item\em 將資料寫入檔案 \end{DoxyCompactList}\item 
bool \hyperlink{classmeow_1_1Photo_a97cc535d734fdf53457c84ef5f0bdc50}{read} (F\-I\-L\-E $\ast$f, bool bin, unsigned \hyperlink{classint}{int} fg)
\begin{DoxyCompactList}\small\item\em 將資料讀入 \end{DoxyCompactList}\item 
\hyperlink{classmeow_1_1ObjBase}{Obj\-Base} $\ast$ \hyperlink{classmeow_1_1Photo_a449f74fa427154f943d6abee255431aa}{create} () const 
\begin{DoxyCompactList}\small\item\em new一個自己 \end{DoxyCompactList}\item 
\hyperlink{classmeow_1_1ObjBase}{Obj\-Base} $\ast$ \hyperlink{classmeow_1_1Photo_a0e947011dcb0db21760c89663acd2208}{copy\-From} (\hyperlink{classmeow_1_1ObjBase}{Obj\-Base} const $\ast$b)
\begin{DoxyCompactList}\small\item\em 複製資料 \end{DoxyCompactList}\item 
char const $\ast$ \hyperlink{classmeow_1_1Photo_a93fdf3b617d8b1c751823074fca049a9}{ctype} () const 
\begin{DoxyCompactList}\small\item\em 回傳class的type \end{DoxyCompactList}\item 
std\-::string \hyperlink{classmeow_1_1Photo_a84cf3012af5e67b4aafc1ee7eafd70d1}{type} () const 
\begin{DoxyCompactList}\small\item\em 回傳class的type \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Additional Inherited Members}


\subsection{Detailed Description}
\subsubsection*{template$<$class Pixel$>$class meow\-::\-Photo$<$ Pixel $>$}

底片 

基本上就是一個 {\ttfamily \hyperlink{classmeow_1_1Bitmap}{Bitmap}} 加上 {\ttfamily focal} 

\begin{DoxyAuthor}{Author}
cat\-\_\-leopard 
\end{DoxyAuthor}


Definition at line 31 of file Photo.\-h.



\subsection{Constructor \& Destructor Documentation}
\hypertarget{classmeow_1_1Photo_a84b9bae13da85ab5d1caf02cdede7092}{\index{meow\-::\-Photo@{meow\-::\-Photo}!Photo@{Photo}}
\index{Photo@{Photo}!meow::Photo@{meow\-::\-Photo}}
\subsubsection[{Photo}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Pixel$>$ {\bf meow\-::\-Photo}$<$ Pixel $>$\-::{\bf Photo} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Photo_a84b9bae13da85ab5d1caf02cdede7092}


constructor 

focal 預設為 1 

Definition at line 59 of file Photo.\-h.

\hypertarget{classmeow_1_1Photo_a85f96086c9c4041ae14f0c1c9c6d23f8}{\index{meow\-::\-Photo@{meow\-::\-Photo}!Photo@{Photo}}
\index{Photo@{Photo}!meow::Photo@{meow\-::\-Photo}}
\subsubsection[{Photo}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Pixel$>$ {\bf meow\-::\-Photo}$<$ Pixel $>$\-::{\bf Photo} (
\begin{DoxyParamCaption}
\item[{{\bf Photo}$<$ Pixel $>$ const \&}]{b}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Photo_a85f96086c9c4041ae14f0c1c9c6d23f8}


constructor 

複製資料


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em b} & 資料來源 \\
\hline
\end{DoxyParams}


Definition at line 70 of file Photo.\-h.

\hypertarget{classmeow_1_1Photo_a66e6f809ee030d4b3d5c0d1edd7b641e}{\index{meow\-::\-Photo@{meow\-::\-Photo}!Photo@{Photo}}
\index{Photo@{Photo}!meow::Photo@{meow\-::\-Photo}}
\subsubsection[{Photo}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Pixel$>$ {\bf meow\-::\-Photo}$<$ Pixel $>$\-::{\bf Photo} (
\begin{DoxyParamCaption}
\item[{{\bf Bitmap}$<$ Pixel $>$ const \&}]{bmp}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Photo_a66e6f809ee030d4b3d5c0d1edd7b641e}


constructor 

直接給定圖片, 焦距用猜的


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em bmp} & 給定的圖片 \\
\hline
\end{DoxyParams}


Definition at line 80 of file Photo.\-h.

\hypertarget{classmeow_1_1Photo_a68137359863914ebedb467782b8ef440}{\index{meow\-::\-Photo@{meow\-::\-Photo}!Photo@{Photo}}
\index{Photo@{Photo}!meow::Photo@{meow\-::\-Photo}}
\subsubsection[{Photo}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Pixel$>$ {\bf meow\-::\-Photo}$<$ Pixel $>$\-::{\bf Photo} (
\begin{DoxyParamCaption}
\item[{{\bf Bitmap}$<$ Pixel $>$ const \&}]{bmp, }
\item[{{\bf double}}]{f}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Photo_a68137359863914ebedb467782b8ef440}


constructor 

直接給定圖片與焦距


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em bmp} & 給定的圖片 \\
\hline
\mbox{\tt in}  & {\em f} & 給定的焦距 \\
\hline
\end{DoxyParams}


Definition at line 92 of file Photo.\-h.

\hypertarget{classmeow_1_1Photo_af69dcdd4ccd4c15227cf0b104325d8de}{\index{meow\-::\-Photo@{meow\-::\-Photo}!Photo@{Photo}}
\index{Photo@{Photo}!meow::Photo@{meow\-::\-Photo}}
\subsubsection[{Photo}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Pixel$>$ {\bf meow\-::\-Photo}$<$ Pixel $>$\-::{\bf Photo} (
\begin{DoxyParamCaption}
\item[{{\bf Bitmap}$<$ Pixel $>$ const \&}]{bmp, }
\item[{{\bf double}}]{f, }
\item[{{\bf Vector2\-D}$<$ {\bf double} $>$ const \&}]{c}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Photo_af69dcdd4ccd4c15227cf0b104325d8de}


constructor 

直接給定圖片, 焦距與中心點位置


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em bmp} & 給定的圖片 \\
\hline
\mbox{\tt in}  & {\em f} & 給定的焦距 \\
\hline
\mbox{\tt in}  & {\em c} & 中心點作標 \\
\hline
\end{DoxyParams}


Definition at line 105 of file Photo.\-h.

\hypertarget{classmeow_1_1Photo_ad3ba33208243966fe72db6c3a519e22d}{\index{meow\-::\-Photo@{meow\-::\-Photo}!$\sim$\-Photo@{$\sim$\-Photo}}
\index{$\sim$\-Photo@{$\sim$\-Photo}!meow::Photo@{meow\-::\-Photo}}
\subsubsection[{$\sim$\-Photo}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Pixel$>$ {\bf meow\-::\-Photo}$<$ Pixel $>$\-::$\sim${\bf Photo} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Photo_ad3ba33208243966fe72db6c3a519e22d}


destructor 



Definition at line 112 of file Photo.\-h.



\subsection{Member Function Documentation}
\hypertarget{classmeow_1_1Photo_a49ada6e814bd2280af12183897227e62}{\index{meow\-::\-Photo@{meow\-::\-Photo}!bitmap@{bitmap}}
\index{bitmap@{bitmap}!meow::Photo@{meow\-::\-Photo}}
\subsubsection[{bitmap}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Pixel$>$ {\bf Bitmap}$<$Pixel$>$ const\& {\bf meow\-::\-Photo}$<$ Pixel $>$\-::bitmap (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Photo_a49ada6e814bd2280af12183897227e62}


回傳{\ttfamily bitmap} 



Definition at line 178 of file Photo.\-h.

\hypertarget{classmeow_1_1Photo_a511f65855ee9f102c2472ce236ba7d3c}{\index{meow\-::\-Photo@{meow\-::\-Photo}!bitmap@{bitmap}}
\index{bitmap@{bitmap}!meow::Photo@{meow\-::\-Photo}}
\subsubsection[{bitmap}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Pixel$>$ {\bf Bitmap}$<$Pixel$>$ const\& {\bf meow\-::\-Photo}$<$ Pixel $>$\-::bitmap (
\begin{DoxyParamCaption}
\item[{{\bf Bitmap}$<$ Pixel $>$ const \&}]{bmp}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Photo_a511f65855ee9f102c2472ce236ba7d3c}


設定bitmap 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em bmp} & 新的 bitmap \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
新的 {\ttfamily bitmap} 
\end{DoxyReturn}


Definition at line 195 of file Photo.\-h.

\hypertarget{classmeow_1_1Photo_a07c8ca1846fc97005a7d960c5fc703a7}{\index{meow\-::\-Photo@{meow\-::\-Photo}!bitmap\-Get@{bitmap\-Get}}
\index{bitmap\-Get@{bitmap\-Get}!meow::Photo@{meow\-::\-Photo}}
\subsubsection[{bitmap\-Get}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Pixel$>$ {\bf Bitmap}$<$Pixel$>$\& {\bf meow\-::\-Photo}$<$ Pixel $>$\-::bitmap\-Get (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Photo_a07c8ca1846fc97005a7d960c5fc703a7}


回傳{\ttfamily bitmap} 的參照(非constant) 



Definition at line 185 of file Photo.\-h.

\hypertarget{classmeow_1_1Photo_a1a81a5be069f31e16e2e665ff97e778c}{\index{meow\-::\-Photo@{meow\-::\-Photo}!center@{center}}
\index{center@{center}!meow::Photo@{meow\-::\-Photo}}
\subsubsection[{center}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Pixel$>$ {\bf Vector2\-D}$<${\bf double}$>$ const\& {\bf meow\-::\-Photo}$<$ Pixel $>$\-::center (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Photo_a1a81a5be069f31e16e2e665ff97e778c}


取得照片中心點底片座標 

\begin{DoxyReturn}{Returns}
一個二維vector 
\end{DoxyReturn}


Definition at line 240 of file Photo.\-h.

\hypertarget{classmeow_1_1Photo_a563850b9827f24d6d0be5c63e408d253}{\index{meow\-::\-Photo@{meow\-::\-Photo}!center@{center}}
\index{center@{center}!meow::Photo@{meow\-::\-Photo}}
\subsubsection[{center}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Pixel$>$ {\bf Vector2\-D}$<${\bf double}$>$ const\& {\bf meow\-::\-Photo}$<$ Pixel $>$\-::center (
\begin{DoxyParamCaption}
\item[{{\bf Vector2\-D}$<$ {\bf double} $>$ const \&}]{c}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Photo_a563850b9827f24d6d0be5c63e408d253}


設定照片中心點底片座標 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em c} & 新的座標\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
新的座標 
\end{DoxyReturn}


Definition at line 260 of file Photo.\-h.

\hypertarget{classmeow_1_1Photo_a19976fbe55a9d7e17baac9460d5b829c}{\index{meow\-::\-Photo@{meow\-::\-Photo}!center\-Get@{center\-Get}}
\index{center\-Get@{center\-Get}!meow::Photo@{meow\-::\-Photo}}
\subsubsection[{center\-Get}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Pixel$>$ {\bf Vector2\-D}$<${\bf double}$>$\& {\bf meow\-::\-Photo}$<$ Pixel $>$\-::center\-Get (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Photo_a19976fbe55a9d7e17baac9460d5b829c}


取得照片中心點底片座標 (non-\/constant reference) 

\begin{DoxyReturn}{Returns}
一個二維vector 
\end{DoxyReturn}


Definition at line 249 of file Photo.\-h.

\hypertarget{classmeow_1_1Photo_aad526a7b9aecbcfebb12be76979ce7d1}{\index{meow\-::\-Photo@{meow\-::\-Photo}!color@{color}}
\index{color@{color}!meow::Photo@{meow\-::\-Photo}}
\subsubsection[{color}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Pixel$>$ Pixel {\bf meow\-::\-Photo}$<$ Pixel $>$\-::color (
\begin{DoxyParamCaption}
\item[{{\bf Vector2\-D}$<$ {\bf double} $>$ const \&}]{yx}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Photo_aad526a7b9aecbcfebb12be76979ce7d1}


取得給照片座標中某點的色彩 

用浮點數vector傳入, 所以色彩是經過渲染過的


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em yx} & 底片座標(原點為center)\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
pixel 
\end{DoxyReturn}


Definition at line 329 of file Photo.\-h.

\hypertarget{classmeow_1_1Photo_a95c01aa8e4b620c8290a3054663e41f4}{\index{meow\-::\-Photo@{meow\-::\-Photo}!color@{color}}
\index{color@{color}!meow::Photo@{meow\-::\-Photo}}
\subsubsection[{color}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Pixel$>$ Pixel {\bf meow\-::\-Photo}$<$ Pixel $>$\-::color (
\begin{DoxyParamCaption}
\item[{{\bf Vector3\-D}$<$ {\bf double} $>$ const \&}]{p}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Photo_a95c01aa8e4b620c8290a3054663e41f4}


取得給照片座標中某點的色彩 

這次是輸入大地座標


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em p} & 大地座標p \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
pixel 
\end{DoxyReturn}


Definition at line 354 of file Photo.\-h.

\hypertarget{classmeow_1_1Photo_a53bc0c60fb3abd9e95999990c6f132e6}{\index{meow\-::\-Photo@{meow\-::\-Photo}!copy\-From@{copy\-From}}
\index{copy\-From@{copy\-From}!meow::Photo@{meow\-::\-Photo}}
\subsubsection[{copy\-From}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Pixel$>$ {\bf Photo}\& {\bf meow\-::\-Photo}$<$ Pixel $>$\-::copy\-From (
\begin{DoxyParamCaption}
\item[{{\bf Photo}$<$ Pixel $>$ const \&}]{b}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Photo_a53bc0c60fb3abd9e95999990c6f132e6}


複製資料 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em b} & 資料來源 \\
\hline
\end{DoxyParams}


Definition at line 120 of file Photo.\-h.

\hypertarget{classmeow_1_1Photo_a0e947011dcb0db21760c89663acd2208}{\index{meow\-::\-Photo@{meow\-::\-Photo}!copy\-From@{copy\-From}}
\index{copy\-From@{copy\-From}!meow::Photo@{meow\-::\-Photo}}
\subsubsection[{copy\-From}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Pixel$>$ {\bf Obj\-Base}$\ast$ {\bf meow\-::\-Photo}$<$ Pixel $>$\-::copy\-From (
\begin{DoxyParamCaption}
\item[{{\bf Obj\-Base} const $\ast$}]{b}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}}\label{classmeow_1_1Photo_a0e947011dcb0db21760c89663acd2208}


複製資料 

輸入型別是 {\ttfamily \hyperlink{classmeow_1_1ObjBase}{Obj\-Base}} {\ttfamily const$\ast$} 這裡假設實體其實是 {\ttfamily \hyperlink{classmeow_1_1Bitmap}{Bitmap}}. 事實上這個method就只是幫忙轉型然後呼叫原本的{\ttfamily copy\-From} 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em b} & 資料來源 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
this 
\end{DoxyReturn}


Reimplemented from \hyperlink{classmeow_1_1ObjBase_a79725f50866832762db87184eb528619}{meow\-::\-Obj\-Base}.



Definition at line 420 of file Photo.\-h.

\hypertarget{classmeow_1_1Photo_a449f74fa427154f943d6abee255431aa}{\index{meow\-::\-Photo@{meow\-::\-Photo}!create@{create}}
\index{create@{create}!meow::Photo@{meow\-::\-Photo}}
\subsubsection[{create}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Pixel$>$ {\bf Obj\-Base}$\ast$ {\bf meow\-::\-Photo}$<$ Pixel $>$\-::create (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}}\label{classmeow_1_1Photo_a449f74fa427154f943d6abee255431aa}


new一個自己 

\begin{DoxyReturn}{Returns}
一個new出來的\-Photo$<$\-Pixel$>$ 
\end{DoxyReturn}


Reimplemented from \hyperlink{classmeow_1_1ObjBase_ac9114e6917bca03b8f3c89694214b57c}{meow\-::\-Obj\-Base}.



Definition at line 407 of file Photo.\-h.

\hypertarget{classmeow_1_1Photo_a93fdf3b617d8b1c751823074fca049a9}{\index{meow\-::\-Photo@{meow\-::\-Photo}!ctype@{ctype}}
\index{ctype@{ctype}!meow::Photo@{meow\-::\-Photo}}
\subsubsection[{ctype}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Pixel$>$ char const$\ast$ {\bf meow\-::\-Photo}$<$ Pixel $>$\-::ctype (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}}\label{classmeow_1_1Photo_a93fdf3b617d8b1c751823074fca049a9}


回傳class的type 

\begin{DoxyReturn}{Returns}
{\ttfamily char} {\ttfamily const{\ttfamily $\ast$} 形式的typename} 
\end{DoxyReturn}


Reimplemented from \hyperlink{classmeow_1_1ObjBase_a4aae58e8005739abe6d091d8b55a21e8}{meow\-::\-Obj\-Base}.



Definition at line 428 of file Photo.\-h.

\hypertarget{classmeow_1_1Photo_ab7b4b1f6b3f8100ea670500f168cb1e4}{\index{meow\-::\-Photo@{meow\-::\-Photo}!focal@{focal}}
\index{focal@{focal}!meow::Photo@{meow\-::\-Photo}}
\subsubsection[{focal}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Pixel$>$ {\bf double} {\bf meow\-::\-Photo}$<$ Pixel $>$\-::focal (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Photo_ab7b4b1f6b3f8100ea670500f168cb1e4}


回傳focal length 



Definition at line 203 of file Photo.\-h.

\hypertarget{classmeow_1_1Photo_a1fbde3a8b2be3662cf67a035cf887be9}{\index{meow\-::\-Photo@{meow\-::\-Photo}!focal@{focal}}
\index{focal@{focal}!meow::Photo@{meow\-::\-Photo}}
\subsubsection[{focal}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Pixel$>$ {\bf double} {\bf meow\-::\-Photo}$<$ Pixel $>$\-::focal (
\begin{DoxyParamCaption}
\item[{{\bf double}}]{f}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Photo_a1fbde3a8b2be3662cf67a035cf887be9}


設定 focal length 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em f} & 新的 focal length \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
新的 {\ttfamily focal} length 
\end{DoxyReturn}


Definition at line 213 of file Photo.\-h.

\hypertarget{classmeow_1_1Photo_a0fc9394bbee567c1961500808a5f9a9d}{\index{meow\-::\-Photo@{meow\-::\-Photo}!height@{height}}
\index{height@{height}!meow::Photo@{meow\-::\-Photo}}
\subsubsection[{height}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Pixel$>$ size\-\_\-t {\bf meow\-::\-Photo}$<$ Pixel $>$\-::height (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Photo_a0fc9394bbee567c1961500808a5f9a9d}


回傳bitmap高 



Definition at line 275 of file Photo.\-h.

\hypertarget{classmeow_1_1Photo_ae1d328ee4c0971d4a90fb1f05bea1e66}{\index{meow\-::\-Photo@{meow\-::\-Photo}!inside@{inside}}
\index{inside@{inside}!meow::Photo@{meow\-::\-Photo}}
\subsubsection[{inside}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Pixel$>$ bool {\bf meow\-::\-Photo}$<$ Pixel $>$\-::inside (
\begin{DoxyParamCaption}
\item[{{\bf Vector2\-D}$<$ {\bf double} $>$ const \&}]{yx}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Photo_ae1d328ee4c0971d4a90fb1f05bea1e66}


檢查某點是否在底片範圍內 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em yx} & 底片座標\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily true/false} 
\end{DoxyReturn}


Definition at line 301 of file Photo.\-h.

\hypertarget{classmeow_1_1Photo_a43ac8952d85ea584dc9ea9a0424dbb98}{\index{meow\-::\-Photo@{meow\-::\-Photo}!inside@{inside}}
\index{inside@{inside}!meow::Photo@{meow\-::\-Photo}}
\subsubsection[{inside}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Pixel$>$ bool {\bf meow\-::\-Photo}$<$ Pixel $>$\-::inside (
\begin{DoxyParamCaption}
\item[{{\bf Vector3\-D}$<$ {\bf double} $>$ const \&}]{p}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Photo_a43ac8952d85ea584dc9ea9a0424dbb98}


檢查某點是否在底片範圍內 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em p} & 大地座標\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily true/false} 
\end{DoxyReturn}


Definition at line 315 of file Photo.\-h.

\hypertarget{classmeow_1_1Photo_ab97f03da439edeb8834fd6e7a3487f65}{\index{meow\-::\-Photo@{meow\-::\-Photo}!operator=@{operator=}}
\index{operator=@{operator=}!meow::Photo@{meow\-::\-Photo}}
\subsubsection[{operator=}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Pixel$>$ {\bf Photo}\& {\bf meow\-::\-Photo}$<$ Pixel $>$\-::operator= (
\begin{DoxyParamCaption}
\item[{{\bf Photo}$<$ Pixel $>$ const \&}]{b}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Photo_ab97f03da439edeb8834fd6e7a3487f65}


same as {\ttfamily }.copy\-From(b) 



Definition at line 361 of file Photo.\-h.

\hypertarget{classmeow_1_1Photo_a3489796a4101da9291fff280cb89728e}{\index{meow\-::\-Photo@{meow\-::\-Photo}!pixel@{pixel}}
\index{pixel@{pixel}!meow::Photo@{meow\-::\-Photo}}
\subsubsection[{pixel}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Pixel$>$ Pixel {\bf meow\-::\-Photo}$<$ Pixel $>$\-::pixel (
\begin{DoxyParamCaption}
\item[{size\-\_\-t}]{y, }
\item[{size\-\_\-t}]{x}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Photo_a3489796a4101da9291fff280cb89728e}


回傳bitmap的某pixel 



Definition at line 282 of file Photo.\-h.

\hypertarget{classmeow_1_1Photo_a38c943a8bd30b309a8042599dcf9f1e7}{\index{meow\-::\-Photo@{meow\-::\-Photo}!pixel@{pixel}}
\index{pixel@{pixel}!meow::Photo@{meow\-::\-Photo}}
\subsubsection[{pixel}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Pixel$>$ Pixel {\bf meow\-::\-Photo}$<$ Pixel $>$\-::pixel (
\begin{DoxyParamCaption}
\item[{size\-\_\-t}]{y, }
\item[{size\-\_\-t}]{x, }
\item[{Pixel const \&}]{p}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Photo_a38c943a8bd30b309a8042599dcf9f1e7}


設定某pixel 



Definition at line 289 of file Photo.\-h.

\hypertarget{classmeow_1_1Photo_a9fed32356d142cc4ee2c141ff894a49a}{\index{meow\-::\-Photo@{meow\-::\-Photo}!projection@{projection}}
\index{projection@{projection}!meow::Photo@{meow\-::\-Photo}}
\subsubsection[{projection}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Pixel$>$ {\bf Photo\-Projection}$<${\bf double}$>$ {\bf meow\-::\-Photo}$<$ Pixel $>$\-::projection (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Photo_a9fed32356d142cc4ee2c141ff894a49a}


回傳相應的 photo projection 



Definition at line 221 of file Photo.\-h.

\hypertarget{classmeow_1_1Photo_aeb8878b9c809b8c6385bfadd3c0dd984}{\index{meow\-::\-Photo@{meow\-::\-Photo}!projection@{projection}}
\index{projection@{projection}!meow::Photo@{meow\-::\-Photo}}
\subsubsection[{projection}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Pixel$>$ {\bf Photo\-Projection}$<${\bf double}$>$ {\bf meow\-::\-Photo}$<$ Pixel $>$\-::projection (
\begin{DoxyParamCaption}
\item[{{\bf Photo\-Projection}$<$ {\bf double} $>$ const \&}]{p}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Photo_aeb8878b9c809b8c6385bfadd3c0dd984}


設定 photo projection 



Definition at line 228 of file Photo.\-h.

\hypertarget{classmeow_1_1Photo_a97cc535d734fdf53457c84ef5f0bdc50}{\index{meow\-::\-Photo@{meow\-::\-Photo}!read@{read}}
\index{read@{read}!meow::Photo@{meow\-::\-Photo}}
\subsubsection[{read}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Pixel$>$ bool {\bf meow\-::\-Photo}$<$ Pixel $>$\-::read (
\begin{DoxyParamCaption}
\item[{F\-I\-L\-E $\ast$}]{f, }
\item[{bool}]{bin, }
\item[{unsigned {\bf int}}]{fg}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}}\label{classmeow_1_1Photo_a97cc535d734fdf53457c84ef5f0bdc50}


將資料讀入 

\begin{DoxyNote}{Note}
未完成 
\end{DoxyNote}


Reimplemented from \hyperlink{classmeow_1_1ObjBase_a4c1f5cb4b05559197148a8f6524bfc34}{meow\-::\-Obj\-Base}.



Definition at line 388 of file Photo.\-h.

\hypertarget{classmeow_1_1Photo_a1d51d273f9847c8c81de3acaafdf893f}{\index{meow\-::\-Photo@{meow\-::\-Photo}!refernece\-From@{refernece\-From}}
\index{refernece\-From@{refernece\-From}!meow::Photo@{meow\-::\-Photo}}
\subsubsection[{refernece\-From}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Pixel$>$ {\bf Photo}\& {\bf meow\-::\-Photo}$<$ Pixel $>$\-::refernece\-From (
\begin{DoxyParamCaption}
\item[{{\bf Photo}$<$ Pixel $>$ const \&}]{b}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Photo_a1d51d273f9847c8c81de3acaafdf893f}


參照 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em b} & 參照來源 \\
\hline
\end{DoxyParams}


Definition at line 130 of file Photo.\-h.

\hypertarget{classmeow_1_1Photo_ab5a901c44b8c5523def9b40f27a5fda3}{\index{meow\-::\-Photo@{meow\-::\-Photo}!reset@{reset}}
\index{reset@{reset}!meow::Photo@{meow\-::\-Photo}}
\subsubsection[{reset}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Pixel$>$ void {\bf meow\-::\-Photo}$<$ Pixel $>$\-::reset (
\begin{DoxyParamCaption}
\item[{{\bf Bitmap}$<$ Pixel $>$ const \&}]{bmp}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Photo_ab5a901c44b8c5523def9b40f27a5fda3}


重設bitmap, focal 用猜的 

focal直接代對角線, center代bitmap中心點


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em bmp} & 新的 {\ttfamily bitmap} \\
\hline
\end{DoxyParams}


Definition at line 142 of file Photo.\-h.

\hypertarget{classmeow_1_1Photo_aed3ed47ee1ddae0732e24af71b91a7b0}{\index{meow\-::\-Photo@{meow\-::\-Photo}!reset@{reset}}
\index{reset@{reset}!meow::Photo@{meow\-::\-Photo}}
\subsubsection[{reset}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Pixel$>$ void {\bf meow\-::\-Photo}$<$ Pixel $>$\-::reset (
\begin{DoxyParamCaption}
\item[{{\bf Bitmap}$<$ Pixel $>$ const \&}]{bmp, }
\item[{{\bf double}}]{f}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Photo_aed3ed47ee1ddae0732e24af71b91a7b0}


重設bitmap, focal 

center代bitmap中心點


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em bmp} & 新的 {\ttfamily bitmap} \\
\hline
\mbox{\tt in}  & {\em f} & 新的 {\ttfamily focal} \\
\hline
\end{DoxyParams}


Definition at line 156 of file Photo.\-h.

\hypertarget{classmeow_1_1Photo_a4d237ed59e6227940c20831cdce797a8}{\index{meow\-::\-Photo@{meow\-::\-Photo}!reset@{reset}}
\index{reset@{reset}!meow::Photo@{meow\-::\-Photo}}
\subsubsection[{reset}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Pixel$>$ void {\bf meow\-::\-Photo}$<$ Pixel $>$\-::reset (
\begin{DoxyParamCaption}
\item[{{\bf Bitmap}$<$ Pixel $>$ const \&}]{bmp, }
\item[{{\bf double}}]{f, }
\item[{{\bf Vector2\-D}$<$ {\bf double} $>$ const \&}]{c}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Photo_a4d237ed59e6227940c20831cdce797a8}


重設bitmap, focal, center 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em bmp} & 新的 {\ttfamily bitmap} \\
\hline
\mbox{\tt in}  & {\em f} & 新的 {\ttfamily focal} \\
\hline
\mbox{\tt in}  & {\em c} & 新的中心點作標 \\
\hline
\end{DoxyParams}


Definition at line 169 of file Photo.\-h.

\hypertarget{classmeow_1_1Photo_a84cf3012af5e67b4aafc1ee7eafd70d1}{\index{meow\-::\-Photo@{meow\-::\-Photo}!type@{type}}
\index{type@{type}!meow::Photo@{meow\-::\-Photo}}
\subsubsection[{type}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Pixel$>$ std\-::string {\bf meow\-::\-Photo}$<$ Pixel $>$\-::type (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}}\label{classmeow_1_1Photo_a84cf3012af5e67b4aafc1ee7eafd70d1}


回傳class的type 

\begin{DoxyReturn}{Returns}
{\ttfamily std\-::string} 形式的typename 
\end{DoxyReturn}


Reimplemented from \hyperlink{classmeow_1_1ObjBase_a63a4911bb073281820fe9b7a9908ba72}{meow\-::\-Obj\-Base}.



Definition at line 436 of file Photo.\-h.

\hypertarget{classmeow_1_1Photo_a1a0582b5c3683264fcad5ca67b376f7c}{\index{meow\-::\-Photo@{meow\-::\-Photo}!width@{width}}
\index{width@{width}!meow::Photo@{meow\-::\-Photo}}
\subsubsection[{width}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Pixel$>$ size\-\_\-t {\bf meow\-::\-Photo}$<$ Pixel $>$\-::width (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Photo_a1a0582b5c3683264fcad5ca67b376f7c}


回傳bitmap寬 



Definition at line 268 of file Photo.\-h.

\hypertarget{classmeow_1_1Photo_ab92324c852686bcad5e374aa9ae8e952}{\index{meow\-::\-Photo@{meow\-::\-Photo}!write@{write}}
\index{write@{write}!meow::Photo@{meow\-::\-Photo}}
\subsubsection[{write}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Pixel$>$ bool {\bf meow\-::\-Photo}$<$ Pixel $>$\-::write (
\begin{DoxyParamCaption}
\item[{F\-I\-L\-E $\ast$}]{f, }
\item[{bool}]{bin, }
\item[{unsigned {\bf int}}]{fg}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}}\label{classmeow_1_1Photo_ab92324c852686bcad5e374aa9ae8e952}


將資料寫入檔案 

\begin{DoxyNote}{Note}
未完成 
\end{DoxyNote}


Reimplemented from \hyperlink{classmeow_1_1ObjBase_ae9e9e5c664b7a92e54a3616983f39ba8}{meow\-::\-Obj\-Base}.



Definition at line 369 of file Photo.\-h.



The documentation for this class was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
meowpp/gra/\hyperlink{Photo_8h}{Photo.\-h}\end{DoxyCompactItemize}