Data structure for handling of sets of features, represented as instances of CFeatureEntry (resp. subclasses of). More...
#include <TexturedFeatureSet.h>
Public Member Functions | |
bool | AddFeature (CFeatureEntry *pFeatureEntry, bool bAddUniqueOnly=true) |
void | Clear () |
CTexturedFeatureSet (const char *pName) | |
int | DeleteAllMatches (const CFeatureEntry *pElement) |
bool | DeleteElement (int nElement) |
const CFeatureEntry * | FindBestMatch (const CFeatureEntry *pFeature, float &error) const |
const CFeatureEntry * | GetFeature (int nIndex) const |
const char * | GetModelFilePath () const |
const char * | GetName () const |
int | GetSize () const |
bool | LoadFromFile (const char *pFileName) |
bool | SaveToFile (const char *pFileName) |
void | SetCornerPoints (Vec2d &point1, Vec2d &point2, Vec2d &point3, Vec2d &point4) |
void | SetCornerPoints3D (Vec3d &point1, Vec3d &point2, Vec3d &point3, Vec3d &point4) |
void | SetModelFilePath (const char *pFilePath) |
~CTexturedFeatureSet () | |
Public Member Functions inherited from CDynamicArrayElement | |
CDynamicArrayElement () | |
virtual bool | Equivalent (const CDynamicArrayElement *pElement) const |
virtual float | Error (const CDynamicArrayElement *pElement) const |
virtual | ~CDynamicArrayElement () |
Public Attributes | |
Vec3d | m_3dPoint1 |
Vec3d | m_3dPoint2 |
Vec3d | m_3dPoint3 |
Vec3d | m_3dPoint4 |
Vec2d | m_center |
Vec2d | m_point1 |
Vec2d | m_point2 |
Vec2d | m_point3 |
Vec2d | m_point4 |
Public Attributes inherited from CDynamicArrayElement | |
bool | bDelete |
Private Attributes | |
CDynamicArray * | m_pFeatureArray |
std::string | m_sName |
std::string | m_sOivFilePath |
Data structure for handling of sets of features, represented as instances of CFeatureEntry (resp. subclasses of).
Definition at line 39 of file TexturedFeatureSet.h.
CTexturedFeatureSet::CTexturedFeatureSet | ( | const char * | pName | ) |
CTexturedFeatureSet::~CTexturedFeatureSet | ( | ) |
bool CTexturedFeatureSet::AddFeature | ( | CFeatureEntry * | pFeatureEntry, |
bool | bAddUniqueOnly = true |
||
) |
void CTexturedFeatureSet::Clear | ( | ) |
int CTexturedFeatureSet::DeleteAllMatches | ( | const CFeatureEntry * | pElement | ) |
bool CTexturedFeatureSet::DeleteElement | ( | int | nElement | ) |
const CFeatureEntry* CTexturedFeatureSet::FindBestMatch | ( | const CFeatureEntry * | pFeature, |
float & | error | ||
) | const |
const CFeatureEntry* CTexturedFeatureSet::GetFeature | ( | int | nIndex | ) | const |
|
inline |
Definition at line 61 of file TexturedFeatureSet.h.
|
inline |
Definition at line 60 of file TexturedFeatureSet.h.
int CTexturedFeatureSet::GetSize | ( | ) | const |
bool CTexturedFeatureSet::LoadFromFile | ( | const char * | pFileName | ) |
bool CTexturedFeatureSet::SaveToFile | ( | const char * | pFileName | ) |
void CTexturedFeatureSet::SetCornerPoints | ( | Vec2d & | point1, |
Vec2d & | point2, | ||
Vec2d & | point3, | ||
Vec2d & | point4 | ||
) |
void CTexturedFeatureSet::SetCornerPoints3D | ( | Vec3d & | point1, |
Vec3d & | point2, | ||
Vec3d & | point3, | ||
Vec3d & | point4 | ||
) |
void CTexturedFeatureSet::SetModelFilePath | ( | const char * | pFilePath | ) |
Vec3d CTexturedFeatureSet::m_3dPoint1 |
Definition at line 82 of file TexturedFeatureSet.h.
Vec3d CTexturedFeatureSet::m_3dPoint2 |
Definition at line 83 of file TexturedFeatureSet.h.
Vec3d CTexturedFeatureSet::m_3dPoint3 |
Definition at line 84 of file TexturedFeatureSet.h.
Vec3d CTexturedFeatureSet::m_3dPoint4 |
Definition at line 85 of file TexturedFeatureSet.h.
Vec2d CTexturedFeatureSet::m_center |
Definition at line 80 of file TexturedFeatureSet.h.
|
private |
Definition at line 70 of file TexturedFeatureSet.h.
Vec2d CTexturedFeatureSet::m_point1 |
Definition at line 76 of file TexturedFeatureSet.h.
Vec2d CTexturedFeatureSet::m_point2 |
Definition at line 77 of file TexturedFeatureSet.h.
Vec2d CTexturedFeatureSet::m_point3 |
Definition at line 78 of file TexturedFeatureSet.h.
Vec2d CTexturedFeatureSet::m_point4 |
Definition at line 79 of file TexturedFeatureSet.h.
|
private |
Definition at line 72 of file TexturedFeatureSet.h.
|
private |
Definition at line 73 of file TexturedFeatureSet.h.