aboutsummaryrefslogblamecommitdiffstats
path: root/doc/latex/classmeow_1_1Bitmap.tex
blob: 5b15bacc4e9b091da354c324a2cbadf1df19fe89 (plain) (tree)






















































                                                                                                                                                                                          





                                                                                                                                                                                                        










































                                                                                                                                                                                                                                  



                                         











                                                                                                                                            



                                         










                                                                                                                                            



                                         





















                                                                                                                                            



                                         












                                                                                                                                                          



                                          











                                                                                                                                         



                                          










                                                                                                                                                             



                                          










                                                                                                                                                                    
                                                                                                                                                                                                                                                                       












                                                                                                           



                                          

















                                                                                                                                                            



                                          

















                                                                                                                                                     



                                          





















                                                                                                                                                       



                                          





















                                                                                                                                                                        



                                          





















                                                                                                                                                                              



                                          





















                                                                                                                                                                              



                                          





















                                                                                                                                                                          



                                          





















                                                                                                                                                                          



                                          










                                                                                                                                                  



                                          





















                                                                                                                                                  
















































                                                                                                                                                                          











                                                                                                                                                    



                                          












                                                                                                                                                            



                                          










                                                                                                                                                           



                                          





















                                                                                                                                          



                                          
























                                                                                                                                          



                                          
































                                                                                                                                           



                                          



















                                                                                                                                       



                                          










                                                                                                                                                                       



                                          
























                                                                                                                                         



                                          










                                                                                                                                              



                                          
























                                                                                                                                              



                                          

















                                                                                                                                                



                                          










                                                                                                                                                



                                          





















                                                                                                                                                



                                          





















                                                                                                                                         



                                          


                                                                                                   
\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}