|
| Photo () |
| constructor More...
|
|
| Photo (Photo const &b) |
| constructor More...
|
|
| Photo (Bitmap< Pixel > const &bmp) |
| constructor More...
|
|
| Photo (Bitmap< Pixel > const &bmp, double f) |
| constructor More...
|
|
| Photo (Bitmap< Pixel > const &bmp, double f, Vector2D< double > const &c) |
| constructor More...
|
|
| ~Photo () |
| destructor More...
|
|
Photo & | copyFrom (Photo const &b) |
| 複製資料 More...
|
|
Photo & | referneceFrom (Photo const &b) |
| 參照 More...
|
|
void | reset (Bitmap< Pixel > const &bmp) |
| 重設bitmap, focal 用猜的 More...
|
|
void | reset (Bitmap< Pixel > const &bmp, double f) |
| 重設bitmap, focal More...
|
|
void | reset (Bitmap< Pixel > const &bmp, double f, Vector2D< double > const &c) |
| 重設bitmap, focal, center More...
|
|
Bitmap< Pixel > | bitmap () const |
| 回傳bitmap More...
|
|
Bitmap< Pixel > & | bitmapGet () |
| 回傳bitmap 的參照(非constant) More...
|
|
Bitmap< Pixel > | bitmap (Bitmap< Pixel > const &bmp) |
| 設定bitmap More...
|
|
double | focal () const |
| 回傳focal length More...
|
|
double | focal (double f) |
| 設定 focal length More...
|
|
PhotoProjection< double > | projection () const |
| 回傳相應的 photo projection More...
|
|
PhotoProjection< double > | projection (PhotoProjection< double > const &p) |
| 設定 photo projection More...
|
|
Vector2D< double > | center () const |
| 取得照片中心點底片座標 More...
|
|
Vector2D< double > & | centerGet () |
| 取得照片中心點底片座標 (non-constant reference) More...
|
|
Vector2D< double > | center (Vector2D< double > const &c) |
| 設定照片中心點底片座標 More...
|
|
size_t | width () const |
| 回傳bitmap寬 More...
|
|
size_t | height () const |
| 回傳bitmap高 More...
|
|
Pixel | pixel (size_t y, size_t x) const |
| 回傳bitmap的某pixel More...
|
|
Pixel | pixel (size_t y, size_t x, Pixel const &p) |
| 設定某pixel More...
|
|
bool | inside (Vector2D< double > const &yx) const |
| 檢查某點是否在底片範圍內 More...
|
|
bool | inside (Vector3D< double > const &p) const |
| 檢查某點是否在底片範圍內 More...
|
|
Pixel | color (Vector2D< double > const &yx) const |
| 取得給照片座標中某點的色彩 More...
|
|
Pixel | color (Vector3D< double > const &p) const |
| 取得給照片座標中某點的色彩 More...
|
|
Photo & | operator= (Photo const &b) |
| same as .copyFrom(b) More...
|
|
bool | write (FILE *f, bool bin, unsigned int fg) const |
| 將資料寫入檔案 More...
|
|
bool | read (FILE *f, bool bin, unsigned int fg) |
| 將資料讀入 More...
|
|
ObjBase * | create () const |
| new一個自己 More...
|
|
ObjBase * | copyFrom (ObjBase const *b) |
| 複製資料 More...
|
|
char const * | ctype () const |
| 回傳class的type More...
|
|
std::string | type () const |
| 回傳class的type More...
|
|
virtual | ~ObjBase () |
|
template<class Pixel>
class meow::Photo< Pixel >
底片
基本上就是一個 Bitmap
加上 focal
- Author
- cat_leopard
Definition at line 31 of file Photo.h.