ObjectInstanceToRobotNodeAttachments Class Reference

This class can be used to visualize object instances from working memory to ArViz. More...

#include <MemoryX/libraries/helpers/VirtualRobotHelpers/ObjectInstanceToRobotNodeAttachments.h>

Public Member Functions

void attachObjectToRobotNode (const memoryx::AttachObjectToRobotNodeInput &attachment)
 
void detachObjectFromRobotNode (const memoryx::DetachObjectFromRobotNodeInput &detachment)
 
std::string getMatchingObjectID (const memoryx::ObjectIdOrClass &object)
 
ObjectInstancePtr getMatchingObjectInstance (const memoryx::ObjectIdOrClass &object)
 
Eigen::Matrix4f getObjectPoseInFrame (ObjectInstancePtr object, const std::string &frame)
 
void initFromProxies (const WorkingMemoryInterfacePrx &workingMemory, const armarx::RobotStateComponentInterfacePrx &robotStateComponent)
 Set the proxies. More...
 
bool isObjectAttached (const std::string &id) const
 
 ObjectInstanceToRobotNodeAttachments ()
 
std::vector< ObjectInstancePtrqueryObjects ()
 Get all entities from objectInstanceSegment and cast them to ObjectInstance. More...
 

Detailed Description

This class can be used to visualize object instances from working memory to ArViz.

Definition at line 23 of file ObjectInstanceToRobotNodeAttachments.h.

Constructor & Destructor Documentation

◆ ObjectInstanceToRobotNodeAttachments()

Member Function Documentation

◆ attachObjectToRobotNode()

void attachObjectToRobotNode ( const memoryx::AttachObjectToRobotNodeInput &  attachment)

Definition at line 34 of file ObjectInstanceToRobotNodeAttachments.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ detachObjectFromRobotNode()

void detachObjectFromRobotNode ( const memoryx::DetachObjectFromRobotNodeInput &  detachment)

Definition at line 62 of file ObjectInstanceToRobotNodeAttachments.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getMatchingObjectID()

std::string getMatchingObjectID ( const memoryx::ObjectIdOrClass &  object)

Definition at line 184 of file ObjectInstanceToRobotNodeAttachments.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getMatchingObjectInstance()

ObjectInstancePtr getMatchingObjectInstance ( const memoryx::ObjectIdOrClass &  object)

Definition at line 200 of file ObjectInstanceToRobotNodeAttachments.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getObjectPoseInFrame()

Eigen::Matrix4f getObjectPoseInFrame ( ObjectInstancePtr  object,
const std::string &  frame 
)

Definition at line 102 of file ObjectInstanceToRobotNodeAttachments.cpp.

+ Here is the caller graph for this function:

◆ initFromProxies()

void initFromProxies ( const WorkingMemoryInterfacePrx &  workingMemory,
const armarx::RobotStateComponentInterfacePrx robotStateComponent 
)

Set the proxies.

Definition at line 20 of file ObjectInstanceToRobotNodeAttachments.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ isObjectAttached()

bool isObjectAttached ( const std::string &  id) const

Definition at line 179 of file ObjectInstanceToRobotNodeAttachments.cpp.

◆ queryObjects()

std::vector< ObjectInstancePtr > queryObjects ( )

Get all entities from objectInstanceSegment and cast them to ObjectInstance.

Definition at line 85 of file ObjectInstanceToRobotNodeAttachments.cpp.

+ Here is the caller graph for this function:

The documentation for this class was generated from the following files: