RestPose tools class.
More...
#include <RestPose.hh>
|
| static void | loadFromYml (const std::string &file_name, const std::string &object_name, std::vector< ignition::math::Pose3d > &rest_poses, const bool as_pose=true, const bool as_matrix=false) |
| | Load set of rest poses from yml file. More...
|
| |
| static void | writeToYml (const std::string &file_name, const std::string &object_name, const std::vector< ignition::math::Pose3d > &rest_poses, const bool as_pose=true, const bool as_matrix=false) |
| | Writes set of rest poses to yml file. More...
|
| |
| void loadFromYml |
( |
const std::string & |
file_name, |
|
|
const std::string & |
object_name, |
|
|
std::vector< ignition::math::Pose3d > & |
rest_poses, |
|
|
const bool |
as_pose = true, |
|
|
const bool |
as_matrix = false |
|
) |
| |
|
static |
Load set of rest poses from yml file.
- Parameters
-
| file_name | Input file name |
| object_name | Target object name |
| rest_poses | Set of rest poses retrieved from file |
| as_pose | Import from 6D pose field |
| as_matrix | Import from 4x4 homogeneous transform matrix field |
| void writeToYml |
( |
const std::string & |
file_name, |
|
|
const std::string & |
object_name, |
|
|
const std::vector< ignition::math::Pose3d > & |
rest_poses, |
|
|
const bool |
as_pose = true, |
|
|
const bool |
as_matrix = false |
|
) |
| |
|
static |
Writes set of rest poses to yml file.
- Parameters
-
| file_name | Output file name |
| object_name | Target object name |
| rest_poses | Set of rest poses to write from file |
| as_pose | Export as 6D pose |
| as_matrix | Export as first 3 rows of 4x4 homogeneous transform matrix |
The documentation for this class was generated from the following files: