Go to the documentation of this file.
19 this->
connect(objectPoseStorage);
56 map.emplace(pose.objectID, std::move(pose));
62 std::optional<ObjectPose>
76 std::optional<ObjectPose>
ObjectPoseSeq fetchObjectPoses() const
Fetch all known object poses.
A known object ID of the form "Dataset/ClassName" or "Dataset/ClassName/InstanceName".
std::vector< ObjectPose > ObjectPoseSeq
void fromIce(const Box &box, simox::OrientedBox< float > &oobb)
ObjectFinder objectFinder
ObjectPose * findObjectPoseByID(ObjectPoseSeq &objectPoses, const ObjectID &id)
Find an object pose by the object ID.
std::optional< ObjectPose > fetchObjectPose(const ObjectID &objectID) const
Fetch the pose of a single object.
const ObjectFinder & getObjectFinder() const
Get the internal object finder.
ObjectPoseStorageInterfacePrx objectPoseStorage
Used to find objects in the ArmarX objects repository [1] (formerly [2]).
ObjectPoseMap fetchObjectPosesAsMap() const
Fetch all known object poses.
const ObjectPoseStorageInterfacePrx & getObjectPoseStorage() const
Get the object pose storage's proxy.
This file is part of ArmarX.
ObjectPoseClient()
Construct a disconnected client.
std::optional< ObjectPose > fetchObjectPoseFromProvider(const ObjectID &objectID, const std::string &providerName) const
Fetch the pose of a single object and a single provider.
bool isConnected() const
Indicate whether this client is connected to an object pose storage.
void connect(const ObjectPoseStorageInterfacePrx &objectPoseStorage)
Connect to the given object pose storage.
ObjectPoseSeq fetchObjectPosesFromProvider(const std::string &providerName) const
Fetch object poses from a specific provider.
std::map< ObjectID, ObjectPose > ObjectPoseMap