Accessor for human profile files.
More...
#include <VisionX/libraries/armem_human/Info.h>
|
| using | path = std::filesystem::path |
| |
| using | Person = armarx::human::arondto::Person |
| |
Accessor for human profile files.
Definition at line 19 of file Info.h.
◆ path
| using path = std::filesystem::path |
◆ Person
| using Person = armarx::human::arondto::Person |
◆ Info()
| Info |
( |
const std::string & | packageName, |
|
|
const path & | absPackageDataDir, |
|
|
const path & | relativePath, |
|
|
const std::string & | id ) |
Info.
- Parameters
-
| packageName | The ArmarX package. |
| absPackageDataDir | Absolute path to the package's data directory. |
| relativePath | The path where human profiles are stored in the data directory. |
| id | The human profile ID. |
Definition at line 25 of file Info.cpp.
◆ ~Info()
◆ checkPaths()
| bool checkPaths |
( |
| ) |
const |
|
virtual |
Checks the existence of expected files.
If a file is does not exist, emits a warning returns false.
- Returns
- True if all existing files are found, false otherwise.
Definition at line 163 of file Info.cpp.
◆ faceImageDir()
◆ faceImages()
| std::vector< PackagePath > faceImages |
( |
const std::vector< std::string > & | extensions = {".png", ".jpg"} | ) |
const |
◆ file()
| PackagePath file |
( |
const std::string & | extension, |
|
|
const std::string & | suffix = "" ) const |
◆ id()
◆ loadProfile()
| std::optional< Info::Person > loadProfile |
( |
const bool | loadFaceImages = true | ) |
const |
◆ package()
| std::string package |
( |
| ) |
const |
◆ profileJson()
◆ setLogError()
| void setLogError |
( |
bool | enabled | ) |
|
◆ sub_directory()
| PackagePath sub_directory |
( |
const std::string & | suffix | ) |
const |
The documentation for this class was generated from the following files:
- VisionX/libraries/armem_human/Info.h
- VisionX/libraries/armem_human/Info.cpp