Drive Engine
1.0.0
Plateforme de reconstruction 3D
|
The feature descriptor datatype interface. More...
#include <IDescriptor.h>
Public Member Functions | |
virtual void | SetBuffer (const char *content, Size length)=0 |
Sets buffer. More... | |
virtual const char * | GetBuffer () const =0 |
Gets the buffer of descriptor. More... | |
virtual Size | GetBufferSize () const =0 |
Gets the buffer size. More... | |
virtual const char * | GetType () const =0 |
Gets the descriptor type. More... | |
Public Member Functions inherited from IExportable | |
virtual void | Delete () const =0 |
Deletes the current object. Needed for memory management. More... | |
The feature descriptor datatype interface.
This interface is not defined.
|
pure virtual |
Gets the buffer of descriptor.
The buffer can be null. If it is null then it was not initialized.
Exception safety : No-throw guarantee. This member function never throws exceptions.
|
pure virtual |
Gets the buffer size.
Exception safety : No-throw guarantee. This member function never throws exceptions.
|
pure virtual |
Gets the descriptor type.
The type is unknown at framework level. It is the responsability of developper to establish the type of descriptor.
Exception safety : No-throw guarantee. This member function never throws exceptions.
|
pure virtual |
Sets buffer.
The content of buffer can be of different formats. Actually the feature extractor and matching algorithmes must know the intern format of the buffer.
Exception safety : Strong exception safety. This member function throws exceptions.
content | The content of buffer of descriptor. |
length | The size of content. |