![]() |
Templates -- Meow
1.2.9
A C++ template contains kinds of interesting classes and functions
|
#include "Camera.h"
Public Types | |
typedef IdentityPoints< int, double, Vector2D< double > > | FixedPoints2D |
Public Member Functions | |
Camera () | |
constructor More... | |
Camera (Camera const &b) | |
copy constructor More... | |
~Camera () | |
destructor More... | |
Camera & | copyFrom (Camera const &b) |
複製資料 More... | |
Camera & | referenceFrom (Camera const &b) |
參照 More... | |
Photo< Pixel > | photo () const |
取得 photo More... | |
Photo< Pixel > & | photoGet () |
取得 photo (non-constant) More... | |
Photo< Pixel > | photo (Photo< Pixel > const &pho) |
設定 photo More... | |
Rotation3D< double > | rotation () const |
取得rotation More... | |
Rotation3D< double > & | rotationGet () |
取得rotation (non-constant) More... | |
Rotation3D< double > | rotation (Rotation3D< double > const &rot) |
設定rotation More... | |
FixedPoints2D | fixedPoints2D () const |
取得所有FixedPoint More... | |
FixedPoints2D & | fixedPoints2DGet () const |
取得所有FixedPoint(non-constant reference) More... | |
FixedPoints2D | fixedPoints2D (FixedPoints2D const &fps2d) const |
設定FixedPoint More... | |
Vector< double > | fixedPoint2D (int i) |
取得編號為i的fixed points 2d More... | |
bool | inside (Vector3D< double > const &p) const |
詢問某點是否在底片範圍內 More... | |
Pixel | color (Vector3D< double > const &p) const |
取得底片color More... | |
Camera & | operator= (Camera 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 () |
Additional Inherited Members | |
![]() | |
static char const * | ctypeBase () |
用C-style string回傳base的type name More... | |
static std::string | typeBase () |
用std::string回傳base的type name More... | |
![]() | |
ObjBase () | |
Constructor with doing nothing. More... | |
實際上就是一個 Photo
加上一個 Rotation3D
. 另外附有 fixedPoint, 可以用來定位時參考
typedef IdentityPoints<int, double, Vector2D<double> > meow::Camera< Pixel >::FixedPoints2D |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
複製資料
輸入型別是 ObjBase
const*
事實上這個method就只是幫忙轉型然後呼叫原本的copyFrom
[in] | b | 資料來源 |
Reimplemented from meow::ObjBase.
|
inlinevirtual |
|
inlinevirtual |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
|
inlinevirtual |