Base class for the representation of local features. More...
#include <FeatureEntry.h>
Public Types | |
enum | eFeatureType { tSIFT, tMSER, tPatch, tCCH, tLCCH, tNLCCH } |
Public Member Functions | |
CFeatureEntry (int nSize, float x, float y, float angle, float scale, Vec3d point3d=Math3d::zero_vec) | |
CFeatureEntry (const float *pFeature, int nSize, float x, float y, float angle, float scale, Vec3d point3d=Math3d::zero_vec) | |
CFeatureEntry (const CFeatureEntry &featureEntry) | |
virtual CFeatureEntry * | Clone () const =0 |
virtual float | Error (const CDynamicArrayElement *pElement) const =0 |
int | GetSize () const |
virtual int | GetSizeOnDisk () const |
virtual eFeatureType | GetType () const =0 |
virtual bool | ReadFromFile (FILE *pFile) |
virtual bool | ReadFromFileOld (FILE *pFile) |
virtual bool | WriteToFile (FILE *pFile) const |
~CFeatureEntry () | |
Public Attributes | |
float | angle |
float * | m_pFeature |
Vec2d | point |
Vec3d | point3d |
float | scale |
Protected Attributes | |
int | m_nSize |
Base class for the representation of local features.
Definition at line 72 of file FeatureEntry.h.
Definition at line 76 of file FeatureEntry.h.
CFeatureEntry::CFeatureEntry | ( | int | nSize, |
float | x, | ||
float | y, | ||
float | angle, | ||
float | scale, | ||
Vec3d | point3d = Math3d::zero_vec |
||
) | [inline] |
Definition at line 80 of file FeatureEntry.h.
CFeatureEntry::CFeatureEntry | ( | const float * | pFeature, |
int | nSize, | ||
float | x, | ||
float | y, | ||
float | angle, | ||
float | scale, | ||
Vec3d | point3d = Math3d::zero_vec |
||
) | [inline] |
Definition at line 95 of file FeatureEntry.h.
CFeatureEntry::CFeatureEntry | ( | const CFeatureEntry & | featureEntry | ) | [inline] |
Definition at line 108 of file FeatureEntry.h.
CFeatureEntry::~CFeatureEntry | ( | ) | [inline] |
Definition at line 121 of file FeatureEntry.h.
virtual CFeatureEntry* CFeatureEntry::Clone | ( | ) | const [pure virtual] |
Implemented in CPatchFeatureEntry, and CSIFTFeatureEntry.
virtual float CFeatureEntry::Error | ( | const CDynamicArrayElement * | pElement | ) | const [pure virtual] |
Reimplemented from CDynamicArrayElement.
Implemented in CPatchFeatureEntry, and CSIFTFeatureEntry.
int CFeatureEntry::GetSize | ( | ) | const [inline] |
Definition at line 245 of file FeatureEntry.h.
virtual int CFeatureEntry::GetSizeOnDisk | ( | ) | const [inline, virtual] |
Definition at line 247 of file FeatureEntry.h.
virtual eFeatureType CFeatureEntry::GetType | ( | ) | const [pure virtual] |
Implemented in CPatchFeatureEntry, and CSIFTFeatureEntry.
virtual bool CFeatureEntry::ReadFromFile | ( | FILE * | pFile | ) | [inline, virtual] |
Definition at line 161 of file FeatureEntry.h.
virtual bool CFeatureEntry::ReadFromFileOld | ( | FILE * | pFile | ) | [inline, virtual] |
Definition at line 129 of file FeatureEntry.h.
virtual bool CFeatureEntry::WriteToFile | ( | FILE * | pFile | ) | const [inline, virtual] |
Definition at line 200 of file FeatureEntry.h.
float CFeatureEntry::angle |
Definition at line 267 of file FeatureEntry.h.
int CFeatureEntry::m_nSize [protected] |
Definition at line 261 of file FeatureEntry.h.
float* CFeatureEntry::m_pFeature |
Definition at line 264 of file FeatureEntry.h.
Definition at line 265 of file FeatureEntry.h.
Definition at line 266 of file FeatureEntry.h.
float CFeatureEntry::scale |
Definition at line 268 of file FeatureEntry.h.