Public Types | Public Member Functions | Public Attributes | Protected Attributes | List of all members
CFeatureEntry Class Referenceabstract

Base class for the representation of local features. More...

#include <FeatureEntry.h>

Inheritance diagram for CFeatureEntry:
Inheritance graph
[legend]

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 CFeatureEntryClone () 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 Member Functions inherited from CDynamicArrayElement
 CDynamicArrayElement ()
 
virtual bool Equivalent (const CDynamicArrayElement *pElement) const
 
virtual ~CDynamicArrayElement ()
 

Public Attributes

float angle
 
float * m_pFeature
 
Vec2d point
 
Vec3d point3d
 
float scale
 
- Public Attributes inherited from CDynamicArrayElement
bool bDelete
 

Protected Attributes

int m_nSize
 

Detailed Description

Base class for the representation of local features.

Definition at line 72 of file FeatureEntry.h.

Member Enumeration Documentation

Enumerator
tSIFT 
tMSER 
tPatch 
tCCH 
tLCCH 
tNLCCH 

Definition at line 76 of file FeatureEntry.h.

Constructor & Destructor Documentation

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.

Member Function Documentation

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
inlinevirtual

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)
inlinevirtual

Definition at line 161 of file FeatureEntry.h.

virtual bool CFeatureEntry::ReadFromFileOld ( FILE *  pFile)
inlinevirtual

Definition at line 129 of file FeatureEntry.h.

virtual bool CFeatureEntry::WriteToFile ( FILE *  pFile) const
inlinevirtual

Definition at line 200 of file FeatureEntry.h.

Member Data Documentation

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.

Vec2d CFeatureEntry::point

Definition at line 265 of file FeatureEntry.h.

Vec3d CFeatureEntry::point3d

Definition at line 266 of file FeatureEntry.h.

float CFeatureEntry::scale

Definition at line 268 of file FeatureEntry.h.


The documentation for this class was generated from the following file:


asr_ivt
Author(s): Allgeyer Tobias, Hutmacher Robin, Kleinert Daniel, Meißner Pascal, Scholz Jonas, Stöckle Patrick
autogenerated on Mon Dec 2 2019 03:47:28