aboutsummaryrefslogtreecommitdiffstats
path: root/doc/latex/classmeow_1_1Bitmap.tex
blob: 5b15bacc4e9b091da354c324a2cbadf1df19fe89 (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
859
860
861
862
863
864
865
866
867
868
869
870
871
872
\hypertarget{classmeow_1_1Bitmap}{\section{meow\-:\-:Bitmap$<$ Pixel $>$ Class Template Reference}
\label{classmeow_1_1Bitmap}\index{meow\-::\-Bitmap$<$ Pixel $>$@{meow\-::\-Bitmap$<$ Pixel $>$}}
}


二維點陣資料  




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

Inheritance diagram for meow\-:\-:Bitmap$<$ Pixel $>$\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classmeow_1_1Bitmap}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classmeow_1_1Bitmap_ab313e096befabd933633cb75b870f75c}{Bitmap} ()
\begin{DoxyCompactList}\small\item\em constructor, 產生一個空的\-Bitmap \end{DoxyCompactList}\item 
\hyperlink{classmeow_1_1Bitmap_a2621e8833933b59c0e82e8776f1a6f11}{Bitmap} (\hyperlink{classmeow_1_1Bitmap}{Bitmap} const \&b)
\begin{DoxyCompactList}\small\item\em constructor, 複製一個bitmap \end{DoxyCompactList}\item 
\hyperlink{classmeow_1_1Bitmap_af4c9896dc2cdc714be5106bef45430c8}{Bitmap} (size\-\_\-t h, size\-\_\-t w, Pixel const \&p)
\begin{DoxyCompactList}\small\item\em constructor, 指定寬高, 預設{\ttfamily Pixel} \end{DoxyCompactList}\item 
\hyperlink{classmeow_1_1Bitmap_a73386b915d50c06f8e15cb6b53e9eb0e}{$\sim$\-Bitmap} ()
\begin{DoxyCompactList}\small\item\em destructor \end{DoxyCompactList}\item 
\hyperlink{classmeow_1_1Bitmap}{Bitmap} \& \hyperlink{classmeow_1_1Bitmap_a5e08b5d3c78c91b33b83da02b658539b}{copy\-From} (\hyperlink{classmeow_1_1Bitmap}{Bitmap} const \&b)
\begin{DoxyCompactList}\small\item\em 複製 \end{DoxyCompactList}\item 
\hyperlink{classmeow_1_1Bitmap}{Bitmap} \& \hyperlink{classmeow_1_1Bitmap_affd5f41b44fa6afc55f2a3eb3f01cc4d}{reference\-From} (\hyperlink{classmeow_1_1Bitmap}{Bitmap} const \&b)
\begin{DoxyCompactList}\small\item\em reference \end{DoxyCompactList}\item 
void \hyperlink{classmeow_1_1Bitmap_ae7bcc670d666a784d6e5e8f14b74aa3d}{reset} (size\-\_\-t h, size\-\_\-t w, Pixel const \&p)
\begin{DoxyCompactList}\small\item\em 全部重設 \end{DoxyCompactList}\item 
void \hyperlink{classmeow_1_1Bitmap_a573af36148f56209f9b537ee446e2867}{clear} ()
\begin{DoxyCompactList}\small\item\em 清除資料, 寬高階規零 \end{DoxyCompactList}\item 
size\-\_\-t \hyperlink{classmeow_1_1Bitmap_a2290360ab49bdf1f33dc717fce71d5df}{height} () const 
\begin{DoxyCompactList}\small\item\em 回傳高度 \end{DoxyCompactList}\item 
size\-\_\-t \hyperlink{classmeow_1_1Bitmap_ad8476258a0f9deefdb7170d53949d3ed}{width} () const 
\begin{DoxyCompactList}\small\item\em 回傳寬度 \end{DoxyCompactList}\item 
size\-\_\-t \hyperlink{classmeow_1_1Bitmap_a13b986e9310eb100c100fd62fa548233}{size} () const 
\begin{DoxyCompactList}\small\item\em 回傳高度乘以寬度 \end{DoxyCompactList}\item 
size\-\_\-t \hyperlink{classmeow_1_1Bitmap_a3887d1c54026fe8ed27fd21a294d8d0a}{height} (size\-\_\-t h2, Pixel const \&p)
\begin{DoxyCompactList}\small\item\em 修改高度 \end{DoxyCompactList}\item 
size\-\_\-t \hyperlink{classmeow_1_1Bitmap_a49731792bf45d5c230da50e3897e3061}{width} (size\-\_\-t w2, Pixel const \&p)
\begin{DoxyCompactList}\small\item\em 修改寬度 \end{DoxyCompactList}\item 
size\-\_\-t \hyperlink{classmeow_1_1Bitmap_aef0bc77675e4652f885baf03cbcc25ef}{size} (size\-\_\-t h2, size\-\_\-t w2, Pixel const \&p)
\begin{DoxyCompactList}\small\item\em 修改寬高 \end{DoxyCompactList}\item 
Pixel \hyperlink{classmeow_1_1Bitmap_ac8f41ae97e068549565e9ac83ffef888}{pixel} (size\-\_\-t y, size\-\_\-t x) const 
\begin{DoxyCompactList}\small\item\em 取得 (y, x) 的pixel \end{DoxyCompactList}\item 
Pixel \hyperlink{classmeow_1_1Bitmap_afe97efe50d112a71ee45da6d2bc3e9dc}{pixel} (size\-\_\-t y, size\-\_\-t x, Pixel const \&p)
\begin{DoxyCompactList}\small\item\em 修改 (y, x) 的pixel \end{DoxyCompactList}\item 
void \hyperlink{classmeow_1_1Bitmap_a17f92dec30f314d832f040257d6d5584}{pixels} (ssize\-\_\-t y\-First, ssize\-\_\-t y\-Last, ssize\-\_\-t x\-First, ssize\-\_\-t x\-Last, Pixel const \&p)
\begin{DoxyCompactList}\small\item\em 區塊修改 \end{DoxyCompactList}\item 
\hyperlink{classmeow_1_1Matrix}{Matrix}$<$ Pixel $>$ const \& \hyperlink{classmeow_1_1Bitmap_a953dfea2b7d257d43a386e28a2bbbc95}{matrix} () const 
\begin{DoxyCompactList}\small\item\em 回傳矩陣形式 \end{DoxyCompactList}\item 
\hyperlink{classmeow_1_1Matrix}{Matrix}$<$ Pixel $>$ \& \hyperlink{classmeow_1_1Bitmap_a2c3ed8ebcceb2d5c5267df832e3aa3df}{matrix\-Get} ()
\begin{DoxyCompactList}\small\item\em 回傳矩陣形式 (non-\/constant form) \end{DoxyCompactList}\item 
\hyperlink{classmeow_1_1Matrix}{Matrix}$<$ Pixel $>$ const \& \hyperlink{classmeow_1_1Bitmap_a04ae618cb658a075b9bbe2ec2b9d9f2d}{matrix} (\hyperlink{classmeow_1_1Matrix}{Matrix}$<$ Pixel $>$ const \&p)
\begin{DoxyCompactList}\small\item\em 直接設定 \end{DoxyCompactList}\item 
\hyperlink{classmeow_1_1Bitmap}{Bitmap} \hyperlink{classmeow_1_1Bitmap_a499f3f0ceb101cb92ea8cd030b3d9952}{gaussian} (\hyperlink{classdouble}{double} radius\-Y, \hyperlink{classdouble}{double} radius\-X) const 
\begin{DoxyCompactList}\small\item\em 回傳高斯模糊 \end{DoxyCompactList}\item 
\hyperlink{classmeow_1_1Bitmap}{Bitmap}$<$ Pixel $>$ \& \hyperlink{classmeow_1_1Bitmap_a0aae89f4f8dbc1ba2b8f43e29a4a592e}{gaussianed} (\hyperlink{classdouble}{double} radius\-Y, \hyperlink{classdouble}{double} radius\-X)
\begin{DoxyCompactList}\small\item\em 把自己高斯模糊 \end{DoxyCompactList}\item 
\hyperlink{classmeow_1_1Bitmap}{Bitmap}$<$ Pixel $>$ \hyperlink{classmeow_1_1Bitmap_aaf5c0c592084c80bce532801f4cdeb22}{gradiance\-X} (\hyperlink{classdouble}{double} radius\-Y, \hyperlink{classdouble}{double} radius\-X) const 
\begin{DoxyCompactList}\small\item\em 回傳對x偏微分 \end{DoxyCompactList}\item 
\hyperlink{classmeow_1_1Bitmap}{Bitmap}$<$ Pixel $>$ \& \hyperlink{classmeow_1_1Bitmap_a1630de00aebe37d58e04d6b9fc69eafb}{gradianced\-X} (\hyperlink{classdouble}{double} radius\-Y, \hyperlink{classdouble}{double} radius\-X)
\begin{DoxyCompactList}\small\item\em 把自己對x偏微分 \end{DoxyCompactList}\item 
\hyperlink{classmeow_1_1Bitmap}{Bitmap}$<$ Pixel $>$ \hyperlink{classmeow_1_1Bitmap_aa08c848b01a304f4569f0e45f3ccee12}{gradiance\-Y} (\hyperlink{classdouble}{double} radius\-Y, \hyperlink{classdouble}{double} radius\-X) const 
\begin{DoxyCompactList}\small\item\em 回傳對y偏微分 \end{DoxyCompactList}\item 
\hyperlink{classmeow_1_1Bitmap}{Bitmap}$<$ Pixel $>$ \& \hyperlink{classmeow_1_1Bitmap_ae8d8985bd64971590862b165e2949faf}{gradianced\-Y} (\hyperlink{classdouble}{double} radius\-Y, \hyperlink{classdouble}{double} radius\-X)
\begin{DoxyCompactList}\small\item\em 把自己對y偏微分 \end{DoxyCompactList}\item 
\hyperlink{classmeow_1_1Bitmap}{Bitmap} \& \hyperlink{classmeow_1_1Bitmap_aba3ea0e5f48b63363c91ae4168dbd0bb}{operator=} (\hyperlink{classmeow_1_1Bitmap}{Bitmap} const \&b)
\begin{DoxyCompactList}\small\item\em same as {\ttfamily copy\-From(b)} \end{DoxyCompactList}\item 
Pixel \hyperlink{classmeow_1_1Bitmap_a646c781896c74a7af4814da06cabf9e5}{operator()} (size\-\_\-t y, size\-\_\-t x) const 
\begin{DoxyCompactList}\small\item\em same as {\ttfamily pixel(y, x)} \end{DoxyCompactList}\item 
Pixel const \& \hyperlink{classmeow_1_1Bitmap_a6ebb5310e9e24cee25fc748a0b9fef28}{operator()} (size\-\_\-t y, size\-\_\-t x, Pixel const \&p) const 
\begin{DoxyCompactList}\small\item\em same as {\ttfamily pixel(y, x, p)} \end{DoxyCompactList}\item 
bool \hyperlink{classmeow_1_1Bitmap_aad700e26eae54cb653919c165dcc98dd}{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_1Bitmap_a3b13a4923d68de65bb7e21712185bec8}{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_1Bitmap_a07b1eb689498112691ca72e8c6ae453f}{create} () const 
\begin{DoxyCompactList}\small\item\em new一個自己 \end{DoxyCompactList}\item 
\hyperlink{classmeow_1_1ObjBase}{Obj\-Base} $\ast$ \hyperlink{classmeow_1_1Bitmap_a998a6a9607f8552ace65cce0d251042c}{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_1Bitmap_af8debba04055594b8507c77b3dbd0ff7}{ctype} () const 
\begin{DoxyCompactList}\small\item\em 回傳class的type \end{DoxyCompactList}\item 
std\-::string \hyperlink{classmeow_1_1Bitmap_a7f282d9a1ebb07ca5fe12d8ae73121d1}{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\-::\-Bitmap$<$ Pixel $>$}

二維點陣資料 

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


Definition at line 23 of file Bitmap.\-h.



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


constructor, 產生一個空的\-Bitmap 



Definition at line 81 of file Bitmap.\-h.

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


constructor, 複製一個bitmap 



Definition at line 87 of file Bitmap.\-h.

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


constructor, 指定寬高, 預設{\ttfamily Pixel} 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em h} & 高 \\
\hline
\mbox{\tt in}  & {\em w} & 寬 \\
\hline
\mbox{\tt in}  & {\em p} & 預設pixel \\
\hline
\end{DoxyParams}


Definition at line 97 of file Bitmap.\-h.

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


destructor 



Definition at line 103 of file Bitmap.\-h.



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


清除資料, 寬高階規零 



Definition at line 137 of file Bitmap.\-h.

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


複製 



Definition at line 109 of file Bitmap.\-h.

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


複製資料 

輸入型別是 {\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 405 of file Bitmap.\-h.

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


new一個自己 

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


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



Definition at line 392 of file Bitmap.\-h.

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


回傳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 413 of file Bitmap.\-h.

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


回傳高斯模糊 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em radius\-Y} & 高斯模糊的\-Y軸方向的sigma \\
\hline
\mbox{\tt in}  & {\em radius\-X} & 高斯模糊的\-X軸方向的sigma \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
一個{\ttfamily \hyperlink{classmeow_1_1Bitmap}{Bitmap}} , 是自己被高斯模糊後的結果 
\end{DoxyReturn}


Definition at line 266 of file Bitmap.\-h.

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


把自己高斯模糊 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em radius\-Y} & 高斯模糊的\-Y軸方向的sigma \\
\hline
\mbox{\tt in}  & {\em radius\-X} & 高斯模糊的\-X軸方向的sigma \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
$\ast$this 
\end{DoxyReturn}


Definition at line 278 of file Bitmap.\-h.

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


把自己對x偏微分 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em radius\-Y} & 高斯模糊的\-Y軸方向的sigma \\
\hline
\mbox{\tt in}  & {\em radius\-X} & 高斯模糊的\-X軸方向的sigma \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
$\ast$this 
\end{DoxyReturn}


Definition at line 302 of file Bitmap.\-h.

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


把自己對y偏微分 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em radius\-Y} & 高斯模糊的\-Y軸方向的sigma \\
\hline
\mbox{\tt in}  & {\em radius\-X} & 高斯模糊的\-X軸方向的sigma \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
$\ast$this 
\end{DoxyReturn}


Definition at line 325 of file Bitmap.\-h.

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


回傳對x偏微分 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em radius\-Y} & 高斯模糊的\-Y軸方向的sigma \\
\hline
\mbox{\tt in}  & {\em radius\-X} & 高斯模糊的\-X軸方向的sigma \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
一個{\ttfamily \hyperlink{classmeow_1_1Bitmap}{Bitmap}} , 是自己被偏微分後的結果 
\end{DoxyReturn}


Definition at line 290 of file Bitmap.\-h.

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


回傳對y偏微分 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em radius\-Y} & 高斯模糊的\-Y軸方向的sigma \\
\hline
\mbox{\tt in}  & {\em radius\-X} & 高斯模糊的\-X軸方向的sigma \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
一個{\ttfamily \hyperlink{classmeow_1_1Bitmap}{Bitmap}} , 是自己被偏微分後的結果 
\end{DoxyReturn}


Definition at line 313 of file Bitmap.\-h.

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


回傳高度 



Definition at line 144 of file Bitmap.\-h.

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


修改高度 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em h2} & 新的高 \\
\hline
\mbox{\tt in}  & {\em p} & 如果高有變大, 則新長出來的地方用此 pixel填補 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
新的高 
\end{DoxyReturn}


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

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


回傳矩陣形式 



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

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


直接設定 



Definition at line 254 of file Bitmap.\-h.

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


回傳矩陣形式 (non-\/constant form) 



Definition at line 247 of file Bitmap.\-h.

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


same as {\ttfamily pixel(y, x)} 



Definition at line 339 of file Bitmap.\-h.

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


same as {\ttfamily pixel(y, x, p)} 



Definition at line 346 of file Bitmap.\-h.

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


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



Definition at line 332 of file Bitmap.\-h.

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


取得 (y, x) 的pixel 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em y} & \\
\hline
\mbox{\tt in}  & {\em x} & \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
該pixel 的 constant reference 
\end{DoxyReturn}


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

\hypertarget{classmeow_1_1Bitmap_afe97efe50d112a71ee45da6d2bc3e9dc}{\index{meow\-::\-Bitmap@{meow\-::\-Bitmap}!pixel@{pixel}}
\index{pixel@{pixel}!meow::Bitmap@{meow\-::\-Bitmap}}
\subsubsection[{pixel}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Pixel$>$ Pixel {\bf meow\-::\-Bitmap}$<$ 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_1Bitmap_afe97efe50d112a71ee45da6d2bc3e9dc}


修改 (y, x) 的pixel 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em y} & \\
\hline
\mbox{\tt in}  & {\em x} & \\
\hline
\mbox{\tt in}  & {\em p} & 指定的顏色 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
該pixel 的 constant reference 
\end{DoxyReturn}


Definition at line 215 of file Bitmap.\-h.

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


區塊修改 

一口氣將一個矩形區塊修改成指定的顏色


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em y\-First} & y軸方向最小值(含) \\
\hline
\mbox{\tt in}  & {\em y\-Last} & y軸方向最大值(含) \\
\hline
\mbox{\tt in}  & {\em x\-First} & x軸方向最小值(含) \\
\hline
\mbox{\tt in}  & {\em x\-Last} & x軸方向最大值(含) \\
\hline
\mbox{\tt in}  & {\em p} & 指定的顏色 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}\end{DoxyReturn}


Definition at line 231 of file Bitmap.\-h.

\hypertarget{classmeow_1_1Bitmap_a3b13a4923d68de65bb7e21712185bec8}{\index{meow\-::\-Bitmap@{meow\-::\-Bitmap}!read@{read}}
\index{read@{read}!meow::Bitmap@{meow\-::\-Bitmap}}
\subsubsection[{read}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Pixel$>$ bool {\bf meow\-::\-Bitmap}$<$ 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_1Bitmap_a3b13a4923d68de65bb7e21712185bec8}


將資料讀入 

\begin{DoxyNote}{Note}
未完成, 輸入參數 fg 無用 
\end{DoxyNote}


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



Definition at line 373 of file Bitmap.\-h.

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


reference 



Definition at line 117 of file Bitmap.\-h.

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


全部重設 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em h} & 高 \\
\hline
\mbox{\tt in}  & {\em w} & 寬 \\
\hline
\mbox{\tt in}  & {\em p} & 預設pixel \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}\end{DoxyReturn}


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

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


回傳高度乘以寬度 



Definition at line 158 of file Bitmap.\-h.

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


修改寬高 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em h2} & 新的高 \\
\hline
\mbox{\tt in}  & {\em w2} & 新的寬 \\
\hline
\mbox{\tt in}  & {\em p} & 如果寬or高有變大, 則新長出來的地方用此 pixel填補 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
新的size 
\end{DoxyReturn}


Definition at line 192 of file Bitmap.\-h.

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


回傳class的type 

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


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



Definition at line 421 of file Bitmap.\-h.

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


回傳寬度 



Definition at line 151 of file Bitmap.\-h.

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


修改寬度 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em w2} & 新的寬 \\
\hline
\mbox{\tt in}  & {\em p} & 如果寬有變大, 則新長出來的地方用此 pixel填補 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
新的寬 
\end{DoxyReturn}


Definition at line 180 of file Bitmap.\-h.

\hypertarget{classmeow_1_1Bitmap_aad700e26eae54cb653919c165dcc98dd}{\index{meow\-::\-Bitmap@{meow\-::\-Bitmap}!write@{write}}
\index{write@{write}!meow::Bitmap@{meow\-::\-Bitmap}}
\subsubsection[{write}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Pixel$>$ bool {\bf meow\-::\-Bitmap}$<$ 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_1Bitmap_aad700e26eae54cb653919c165dcc98dd}


將資料寫入檔案 

\begin{DoxyNote}{Note}
未完成, 輸入參數 fg 無用 
\end{DoxyNote}


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



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



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