3DiVi Face SDK
3.24.2
|
Interface object for working with the template index. More...
#include <TemplatesIndex.h>
Public Types | |
typedef LightSmartPtr < TemplatesIndex >::tPtr | Ptr |
Alias for the type of a smart pointer to TemplatesIndex. | |
Public Member Functions | |
std::string | getMethodName () const |
Get a method name. Thread-safe. More... | |
size_t | size () const |
Get a number of templates in the index. Thread-safe. More... | |
pbio::Template::Ptr | at (size_t i) const |
Get an i-th template. Thread-safe. More... | |
void | reserveSearchMemory (const int queries_count) const |
Reserve memory for temporary buffers used while searching. These temporary buffers require 8 * size() * queries_count bytes. More... | |
Interface object for working with the template index.
|
inline |
Get an i-th template. Thread-safe.
[in] | i | Integer i: 0 <= i < size. |
|
inline |
Get a method name. Thread-safe.
|
inline |
Reserve memory for temporary buffers used while searching. These temporary buffers require 8 * size() * queries_count bytes.
[in] | queries_count | Integer queries_count >= 0 - max size of the queries_templates vector passed to Recognizer::search at once to prepare the buffers for. |
|
inline |
Get a number of templates in the index. Thread-safe.