![]() |
Templates -- Meow
1.1.2
不能,也不應該先編譯成obj-file的templates
|
#include "Camera.h"
Public Types | |
typedef IdentityPoints< int, 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 > const & | photo () const |
取得 photo More... | |
Photo< Pixel > & | photoGet () |
取得 photo (non-constant) More... | |
Photo< Pixel > const & | photo (Photo< Pixel > const &pho) |
設定 photo More... | |
Rotation3D< double > const & | rotation () const |
取得rotation More... | |
Rotation3D< double > & | rotationGet () |
取得rotation (non-constant) More... | |
Rotation3D< double > const & | rotation (Rotation3D< double > const &rot) |
設定rotation More... | |
FixedPoints2D const & | fixedPoints2D () const |
取得所有FixedPoint More... | |
FixedPoints2D & | fixedPoints2DGet () const |
取得所有FixedPoint(non-constant reference) More... | |
FixedPoints2D const & | fixedPoints2D (FixedPoints2D const &fps2d) const |
設定FixedPoint More... | |
Vector< double > | fixedPoints2D (int i) |
取得編號為i的fixed points 2d More... | |
bool | inside (Vector3D< double > p) const |
詢問某點是否在底片範圍內 More... | |
Pixel | color (Vector3D< double > 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 () |
Static Public Member Functions | |
static double | boundleAdjustment2D (std::vector< Camera > *cs, double threshold) |
將數台camera用fixed points做boundle adjustment More... | |
![]() | |
static char const * | ctypeBase () |
用C-style string回傳base的type name More... | |
static std::string | typeBase () |
用std::string回傳base的type name More... | |
Additional Inherited Members | |
![]() | |
ObjBase () | |
實際上就是一個 Photo
加上一個 Rotation3D
. 另外附有 fixedPoint, 可以用來定位時參考
typedef IdentityPoints<int, double> meow::Camera< Pixel >::FixedPoints2D |
|
inline |
constructor
|
inline |
copy constructor
|
inline |
destructor
|
inlinestatic |
將數台camera用fixed points做boundle adjustment
[in] | cs | 要調整的cameras |
[in] | threshold | 允許誤差值 |
|
inline |
取得底片color
|
inline |
複製資料
|
inlinevirtual |
複製資料
輸入型別是 \c ObjBase \c const* 事實上這個method就只是幫忙轉型然後呼叫原本的\c copyFrom
[in] | b | 資料來源 |
Reimplemented from meow::ObjBase.
|
inlinevirtual |
|
inlinevirtual |
|
inline |
取得所有FixedPoint
|
inline |
設定FixedPoint
|
inline |
取得編號為i的fixed points 2d
|
inline |
取得所有FixedPoint(non-constant reference)
|
inline |
詢問某點是否在底片範圍內
|
inline |
same as copyFrom(b)
|
inline |
取得 photo
|
inline |
設定 photo
|
inline |
取得 photo (non-constant)
|
inlinevirtual |
|
inline |
參照
|
inline |
取得rotation
|
inline |
設定rotation
|
inline |
取得rotation (non-constant)
|
inlinevirtual |
|
inlinevirtual |