#include <MemoryX/libraries/importers/ArmarXObjectsToMemory.h>
|
| ArmarXObjectsToMemory () |
|
void | importObjectsToPriorKnowledge (std::vector< armarx::ObjectInfo > const &objectInfos, memoryx::GridFileManagerPtr const &gridFileManager, memoryx::PersistentObjectClassSegmentBasePrx const &objectClassesSegment, std::string const &mongoDbName) const |
|
bool | importObjectToWorkingMemory (const armarx::objects::SceneObject &object, memoryx::PersistentObjectClassSegmentBasePrx const &objectClassesSegment, memoryx::ObjectInstanceMemorySegmentBasePrx const &objectInstancesSegment, std::map< std::string, std::unordered_set< std::string >> &instancesPerClass) const |
|
bool | importObjectToWorkingMemory (std::string const &className, Eigen::Vector3f const &position, Eigen::Quaternionf const &quat, memoryx::PersistentObjectClassSegmentBasePrx const &objectClassesSegment, memoryx::ObjectInstanceMemorySegmentBasePrx const &objectInstancesSegment, std::map< std::string, std::unordered_set< std::string >> &instancesPerClass) const |
|
bool | importSceneAsSnapshot (const std::string &snapshotName, std::filesystem::path const &sceneJsonFile, memoryx::LongtermMemoryInterfacePrx const &longtermMemory, memoryx::WorkingMemoryInterfacePrx const &workingMemory, memoryx::PersistentObjectClassSegmentBasePrx const &objectClassesSegment, memoryx::ObjectInstanceMemorySegmentBasePrx const &objectInstancesSegment) const |
|
void | importScenesAsSnapshots (std::filesystem::path const &scenesDirectory, memoryx::LongtermMemoryInterfacePrx const &longtermMemory, memoryx::WorkingMemoryInterfacePrx const &workingMemory, memoryx::PersistentObjectClassSegmentBasePrx const &objectClassesSegment, const std::unordered_set< std::string > &scenes) const |
|
|
bool | dryRun = false |
| If true, don't actually change anything. More...
|
|
Definition at line 40 of file ArmarXObjectsToMemory.h.
◆ ArmarXObjectsToMemory()
◆ importObjectsToPriorKnowledge()
void importObjectsToPriorKnowledge |
( |
std::vector< armarx::ObjectInfo > const & |
objectInfos, |
|
|
memoryx::GridFileManagerPtr const & |
gridFileManager, |
|
|
memoryx::PersistentObjectClassSegmentBasePrx const & |
objectClassesSegment, |
|
|
std::string const & |
mongoDbName |
|
) |
| const |
◆ importObjectToWorkingMemory() [1/2]
bool importObjectToWorkingMemory |
( |
const armarx::objects::SceneObject & |
object, |
|
|
memoryx::PersistentObjectClassSegmentBasePrx const & |
objectClassesSegment, |
|
|
memoryx::ObjectInstanceMemorySegmentBasePrx const & |
objectInstancesSegment, |
|
|
std::map< std::string, std::unordered_set< std::string >> & |
instancesPerClass |
|
) |
| const |
◆ importObjectToWorkingMemory() [2/2]
bool importObjectToWorkingMemory |
( |
std::string const & |
className, |
|
|
Eigen::Vector3f const & |
position, |
|
|
Eigen::Quaternionf const & |
quat, |
|
|
memoryx::PersistentObjectClassSegmentBasePrx const & |
objectClassesSegment, |
|
|
memoryx::ObjectInstanceMemorySegmentBasePrx const & |
objectInstancesSegment, |
|
|
std::map< std::string, std::unordered_set< std::string >> & |
instancesPerClass |
|
) |
| const |
◆ importSceneAsSnapshot()
bool importSceneAsSnapshot |
( |
const std::string & |
snapshotName, |
|
|
std::filesystem::path const & |
sceneJsonFile, |
|
|
memoryx::LongtermMemoryInterfacePrx const & |
longtermMemory, |
|
|
memoryx::WorkingMemoryInterfacePrx const & |
workingMemory, |
|
|
memoryx::PersistentObjectClassSegmentBasePrx const & |
objectClassesSegment, |
|
|
memoryx::ObjectInstanceMemorySegmentBasePrx const & |
objectInstancesSegment |
|
) |
| const |
◆ importScenesAsSnapshots()
void importScenesAsSnapshots |
( |
std::filesystem::path const & |
scenesDirectory, |
|
|
memoryx::LongtermMemoryInterfacePrx const & |
longtermMemory, |
|
|
memoryx::WorkingMemoryInterfacePrx const & |
workingMemory, |
|
|
memoryx::PersistentObjectClassSegmentBasePrx const & |
objectClassesSegment, |
|
|
const std::unordered_set< std::string > & |
scenes |
|
) |
| const |
◆ dryRun
The documentation for this class was generated from the following files: