Represents visual models in the SignatureDB, part of the Elem hirarchy. More...
#include <Descriptor.h>
Public Member Functions | |
Descriptor (Class *classref) | |
Descriptor () | |
virtual void | Evaluate (const double eval, const double weight) |
Class * | GetClass () |
Reading * | GetLastMatchedImage () |
const RelPose * | GetLastMatchedPose () const |
RelPose * | GetLastMatchedPose () |
virtual std::string | GetNodeName () const |
double | GetQuality () |
virtual bool | GetShape (GeometricShape &objectShape) const |
virtual void | PropagatePose (RelPose *pose) |
virtual void | SaveTo (XMLTag *tag) |
void | SetClass (Class *cl) |
void | SetLastMatchedImage (Reading *img, RelPose *pose) |
virtual void | Show (RelPose *, Sensor *) |
virtual | ~Descriptor () |
Protected Member Functions | |
virtual void | SetData (XMLTag *tag) |
Protected Attributes | |
Class * | m_class |
Reading * | m_imgLastMatchReading |
RelPose * | m_poseLastMatchReading |
double | m_qualityMeasure |
Represents visual models in the SignatureDB, part of the Elem hirarchy.
class Descriptor
Definition at line 48 of file Descriptor.h.
Descriptor::Descriptor | ( | Class * | classref | ) |
Empty Constructor
Definition at line 35 of file Descriptor.cpp.
Definition at line 44 of file Descriptor.cpp.
Descriptor::~Descriptor | ( | ) | [virtual] |
Empty Destructor
Definition at line 93 of file Descriptor.cpp.
virtual void cop::Descriptor::Evaluate | ( | const double | eval, |
const double | weight | ||
) | [inline, virtual] |
Reimplemented from cop::Elem.
Definition at line 104 of file Descriptor.h.
Class * Descriptor::GetClass | ( | ) |
Definition at line 88 of file Descriptor.cpp.
Reading* cop::Descriptor::GetLastMatchedImage | ( | ) | [inline] |
Definition at line 82 of file Descriptor.h.
const RelPose* cop::Descriptor::GetLastMatchedPose | ( | ) | const [inline] |
Definition at line 88 of file Descriptor.h.
RelPose* cop::Descriptor::GetLastMatchedPose | ( | ) | [inline] |
Definition at line 89 of file Descriptor.h.
virtual std::string cop::Descriptor::GetNodeName | ( | ) | const [inline, virtual] |
returns the name that a will be used in the xml. This should be replaced by any derivative of Elem
Reimplemented from cop::Elem.
Reimplemented in cop::NamedDescriptor< Content >.
Definition at line 119 of file Descriptor.h.
double cop::Descriptor::GetQuality | ( | ) | [inline] |
Definition at line 95 of file Descriptor.h.
virtual bool cop::Descriptor::GetShape | ( | GeometricShape & | objectShape | ) | const [inline, virtual] |
Definition at line 139 of file Descriptor.h.
virtual void cop::Descriptor::PropagatePose | ( | RelPose * | pose | ) | [inline, virtual] |
Definition at line 140 of file Descriptor.h.
void Descriptor::SaveTo | ( | XMLTag * | ) | [virtual] |
Overwrite to save additional data, will be called during saving
Reimplemented from cop::Elem.
Definition at line 108 of file Descriptor.cpp.
void cop::Descriptor::SetClass | ( | Class * | cl | ) | [inline] |
Definition at line 130 of file Descriptor.h.
void Descriptor::SetData | ( | XMLTag * | data | ) | [protected, virtual] |
Overwrite to set additional data on creation, will be called directly after creation
Reimplemented from cop::Elem.
Definition at line 52 of file Descriptor.cpp.
void Descriptor::SetLastMatchedImage | ( | Reading * | img, |
RelPose * | pose | ||
) |
Definition at line 122 of file Descriptor.cpp.
virtual void cop::Descriptor::Show | ( | RelPose * | , |
Sensor * | |||
) | [inline, virtual] |
Definition at line 113 of file Descriptor.h.
Class* cop::Descriptor::m_class [protected] |
Definition at line 146 of file Descriptor.h.
Reading* cop::Descriptor::m_imgLastMatchReading [protected] |
Definition at line 147 of file Descriptor.h.
RelPose* cop::Descriptor::m_poseLastMatchReading [protected] |
Definition at line 148 of file Descriptor.h.
double cop::Descriptor::m_qualityMeasure [protected] |
Definition at line 150 of file Descriptor.h.