Accessor for human profile files.
More...
#include <VisionX/libraries/armem_human/Info.h>
|
using | path = std::filesystem::path |
|
using | Profile = armarx::human::arondto::Profile |
|
Accessor for human profile files.
Definition at line 20 of file Info.h.
◆ path
using path = std::filesystem::path |
◆ Profile
using Profile = armarx::human::arondto::Profile |
◆ 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 152 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()
◆ 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