Templates -- Meow
1.2.11
A C++ template contains kinds of interesting classes and functions
|
多個camera, 一個offset, 一個rotation More...
#include "WatchBall.h"
Public Types | |
typedef std::vector< Camera < Pixel > > | Cameras |
Public Member Functions | |
WatchBall () | |
constructor More... | |
WatchBall (WatchBall const &b) | |
copy constructor More... | |
~WatchBall () | |
destructor More... | |
WatchBall & | copyFrom (WatchBall const &b) |
copy data More... | |
WatchBall & | referenceFrom (WatchBall const &b) |
reference More... | |
size_t | cameraSize () const |
取得有幾個camera More... | |
Cameras | cameras () const |
取得 cameras More... | |
Cameras & | camerasGet () |
取得 cameras (non-constant) More... | |
Cameras | cameras (Cameras const &c) |
設定 camera More... | |
Camera< Pixel > | camera (size_t i) const |
取得第i個camera More... | |
Camera< Pixel > & | cameraGet (size_t i) |
取得第i個camera (non-constant reference) More... | |
Camera< Pixel > | camera (size_t i, Camera< Pixel > const &c) |
設定第i個camera More... | |
Vector3D< double > | offset () const |
取得offset More... | |
Vector3D< double > & | offsetGet () |
取得offset (non-constant reference) More... | |
Vector3D< double > | offset (Vector3D< double > const &ofs) |
設定offset More... | |
Pixel | color (Vector3D< double > p) const |
取得底片color More... | |
Bitmap< Pixel > | expand (double radius) const |
輸出展開圖 More... | |
WatchBall & | operator= (WatchBall 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... | |
Public Member Functions inherited from meow::ObjBase | |
virtual | ~ObjBase () |
Additional Inherited Members | |
Static Public Member Functions inherited from meow::ObjBase | |
static char const * | ctypeBase () |
用C-style string回傳base的type name More... | |
static std::string | typeBase () |
用std::string回傳base的type name More... | |
Protected Member Functions inherited from meow::ObjBase | |
ObjBase () | |
Constructor with doing nothing. More... | |
多個camera, 一個offset, 一個rotation
Definition at line 22 of file WatchBall.h.
typedef std::vector<Camera<Pixel> > meow::WatchBall< Pixel >::Cameras |
Definition at line 24 of file WatchBall.h.
|
inline |
constructor
Definition at line 45 of file WatchBall.h.
|
inline |
copy constructor
Definition at line 51 of file WatchBall.h.
|
inline |
destructor
Definition at line 57 of file WatchBall.h.
|
inline |
取得第i個camera
Definition at line 108 of file WatchBall.h.
|
inline |
設定第i個camera
Definition at line 122 of file WatchBall.h.
|
inline |
取得第i個camera (non-constant reference)
Definition at line 115 of file WatchBall.h.
|
inline |
取得 cameras
Definition at line 86 of file WatchBall.h.
|
inline |
設定 camera
Definition at line 100 of file WatchBall.h.
|
inline |
取得 cameras (non-constant)
Definition at line 93 of file WatchBall.h.
|
inline |
取得有幾個camera
Definition at line 79 of file WatchBall.h.
|
inline |
取得底片color
Definition at line 152 of file WatchBall.h.
|
inline |
copy data
Definition at line 63 of file WatchBall.h.
|
inlinevirtual |
複製資料
輸入型別是 ObjBase
const*
事實上這個method就只是幫忙轉型然後呼叫原本的copyFrom
[in] | b | 資料來源 |
Reimplemented from meow::ObjBase.
Definition at line 229 of file WatchBall.h.
|
inlinevirtual |
new一個自己
Reimplemented from meow::ObjBase.
Definition at line 216 of file WatchBall.h.
|
inlinevirtual |
回傳class的type
char
const*
形式的typename
Reimplemented from meow::ObjBase.
Definition at line 237 of file WatchBall.h.
|
inline |
|
inline |
取得offset
Definition at line 130 of file WatchBall.h.
|
inline |
設定offset
Definition at line 144 of file WatchBall.h.
|
inline |
取得offset (non-constant reference)
Definition at line 137 of file WatchBall.h.
|
inline |
same as copyFrom(b)
Definition at line 192 of file WatchBall.h.
|
inlinevirtual |
|
inline |
reference
Definition at line 71 of file WatchBall.h.
|
inlinevirtual |
回傳class的type
std::string
形式的typename Reimplemented from meow::ObjBase.
Definition at line 245 of file WatchBall.h.
|
inlinevirtual |