Templates -- Meow
1.1.4
A C++ template which is unable and also not allowed to compile to obj-file first.
|
特徵點 More...
#include "FeaturePoint.h"
Public Member Functions | |
FeaturePoint () | |
constructor More... | |
FeaturePoint (size_t pDim, size_t dDim) | |
constructor More... | |
FeaturePoint (FeaturePoint const &fp) | |
constructor More... | |
~FeaturePoint () | |
destructor More... | |
FeaturePoint & | copyFrom (FeaturePoint const &fp) |
複製 More... | |
FeaturePoint & | referenceFrom (FeaturePoint const &fp) |
參照 More... | |
Vector< Scalar > const & | position () const |
回傳position More... | |
Vector< Scalar > & | positionGet () |
回傳position (non-const reference) More... | |
Vector< Description > const & | description () const |
回傳description More... | |
Vector< Description > & | descriptionGet () |
回傳description (non-const reference) More... | |
Vector< Scalar > const & | position (Vector< Scalar > const &p) const |
修改position More... | |
Vector< Description > const & | description (Vector< Description > const &d) |
修改description More... | |
Scalar | position (size_t index) const |
回傳position的第i個scalar More... | |
Description | description (size_t i) const |
回傳description的第i個Description More... | |
Scalar | position (size_t i, Scalar const &s) |
修改position的第i個scalar More... | |
Description | description (size_t i, Description const &d) |
修改description的第i個Description More... | |
FeaturePoint & | operator= (FeaturePoint const &fp) |
same as copyFrom(fp) More... | |
Scalar const & | operator() (size_t i) const |
same as position(i) More... | |
Description | operator[] (size_t i) const |
same as description(i) More... | |
bool | write (FILE *f, bool bin, unsigned int fg) const |
將物件寫入檔案, 預設implement為直接回傳 false More... | |
bool | read (FILE *f, bool bin, unsigned int fg) |
將物件從檔案讀出, 預設implement為直接回傳 false More... | |
ObjBase * | create () const |
回傳一個new出來的物件, 預設implement為直接回傳 NULL More... | |
ObjBase * | copyFrom (ObjBase const &b) |
char const * | ctype () const |
用C-style string回傳這個class的type name More... | |
std::string | type () const |
用std::string回傳這個class的type name More... | |
Public Member Functions inherited from meow::ObjBase | |
virtual | ~ObjBase () |
virtual ObjBase * | copyFrom (ObjBase const *b) |
複製, 預設使用operator= More... | |
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 () | |
特徵點
Definition at line 21 of file FeaturePoint.h.
|
inline |
constructor
Definition at line 29 of file FeaturePoint.h.
|
inline |
constructor
Definition at line 35 of file FeaturePoint.h.
|
inline |
constructor
Definition at line 42 of file FeaturePoint.h.
|
inline |
destructor
Definition at line 49 of file FeaturePoint.h.
|
inline |
複製
Definition at line 55 of file FeaturePoint.h.
|
inline |
Definition at line 219 of file FeaturePoint.h.
|
inlinevirtual |
回傳一個new出來的物件, 預設implement為直接回傳 NULL
Reimplemented from meow::ObjBase.
Definition at line 215 of file FeaturePoint.h.
|
inlinevirtual |
用C-style string回傳這個class的type name
Reimplemented from meow::ObjBase.
Definition at line 223 of file FeaturePoint.h.
|
inline |
回傳description
Definition at line 87 of file FeaturePoint.h.
|
inline |
修改description
Definition at line 109 of file FeaturePoint.h.
|
inline |
回傳description的第i個Description
Definition at line 124 of file FeaturePoint.h.
|
inline |
修改description的第i個Description
Definition at line 139 of file FeaturePoint.h.
|
inline |
回傳description (non-const reference)
Definition at line 94 of file FeaturePoint.h.
|
inline |
same as position(i)
Definition at line 154 of file FeaturePoint.h.
|
inline |
same as copyFrom(fp)
Definition at line 147 of file FeaturePoint.h.
|
inline |
same as description(i)
Definition at line 161 of file FeaturePoint.h.
|
inline |
回傳position
Definition at line 73 of file FeaturePoint.h.
|
inline |
修改position
Definition at line 101 of file FeaturePoint.h.
|
inline |
回傳position的第i個scalar
Definition at line 117 of file FeaturePoint.h.
|
inline |
修改position的第i個scalar
Definition at line 131 of file FeaturePoint.h.
|
inline |
回傳position (non-const reference)
Definition at line 80 of file FeaturePoint.h.
|
inlinevirtual |
將物件從檔案讀出, 預設implement為直接回傳 false
[in] | f | 檔案 |
[in] | bin | 是否為binary模式 |
[in] | fg | 使用者自訂的argument |
Reimplemented from meow::ObjBase.
Definition at line 189 of file FeaturePoint.h.
|
inline |
參照
Definition at line 64 of file FeaturePoint.h.
|
inlinevirtual |
用std::string回傳這個class的type name
Reimplemented from meow::ObjBase.
Definition at line 227 of file FeaturePoint.h.
|
inlinevirtual |
將物件寫入檔案, 預設implement為直接回傳 false
[in] | f | 檔案 |
[in] | bin | 是否為binary模式 |
[in] | fg | 使用者自訂的argument |
Reimplemented from meow::ObjBase.
Definition at line 165 of file FeaturePoint.h.