armarx::armem::objects Namespace Reference

Namespaces

namespace  constants
 This file is part of ArmarX.
 

Classes

class  ObjectInstanceToIndex
 

Functions

armarx::armem::arondto::FamiliarObjectInstance createFamiliarObjectInstanceFromManipulationObject (const VirtualRobot::ManipulationObject &manipulationObject, const armarx::ObjectID &objectID)
 createFamiliarObjectInstanceFromManipulationObject Create a FamiliarObjectInstance from a known ManipulationObject.
 
armem::MemoryID reconstructObjectInstanceID (const objpose::ObjectPose &objectPose)
 
pcl::PointCloud< pcl::PointXYZRGBA > samplePointCloudFromTriMesh (const VirtualRobot::TriMeshModel &mesh, int sampleCount)
 

Variables

const MemoryID attachmentsSegmentID = memoryID.withCoreSegmentName("Attachments")
 
const MemoryID classSegmentID = memoryID.withCoreSegmentName("Class")
 
const MemoryID familiarObjectInstaceSegmentID
 
const MemoryID instaceSegmentID = memoryID.withCoreSegmentName("Instance")
 
const MemoryID memoryID {"Object"}
 

Function Documentation

◆ createFamiliarObjectInstanceFromManipulationObject()

armarx::armem::arondto::FamiliarObjectInstance createFamiliarObjectInstanceFromManipulationObject ( const VirtualRobot::ManipulationObject & manipulationObject,
const armarx::ObjectID & objectID )

createFamiliarObjectInstanceFromManipulationObject Create a FamiliarObjectInstance from a known ManipulationObject.

This function creates a FamiliarObjectInstance from the provided ManipulationObject by sampling the mesh points.

Parameters
manipulationObjectThe ManipulationObject to create the FamiliarObjectInstance from.
objectIDThe ObjectID to assign to the FamiliarObjectInstance.
Returns
The created FamiliarObjectInstance.

Definition at line 115 of file utils.cpp.

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

◆ reconstructObjectInstanceID()

MemoryID reconstructObjectInstanceID ( const objpose::ObjectPose & objectPose)

Definition at line 104 of file utils.cpp.

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

◆ samplePointCloudFromTriMesh()

pcl::PointCloud< pcl::PointXYZRGBA > samplePointCloudFromTriMesh ( const VirtualRobot::TriMeshModel & mesh,
int sampleCount )

Variable Documentation

◆ attachmentsSegmentID

const MemoryID attachmentsSegmentID = memoryID.withCoreSegmentName("Attachments")
extern

Definition at line 30 of file memory_ids.cpp.

◆ classSegmentID

const MemoryID classSegmentID = memoryID.withCoreSegmentName("Class")
extern

Definition at line 31 of file memory_ids.cpp.

◆ familiarObjectInstaceSegmentID

const MemoryID familiarObjectInstaceSegmentID
extern
Initial value:
=
memoryID.withCoreSegmentName("FamiliarObjectInstance")
const MemoryID memoryID

Definition at line 33 of file memory_ids.cpp.

◆ instaceSegmentID

const MemoryID instaceSegmentID = memoryID.withCoreSegmentName("Instance")
extern

Definition at line 32 of file memory_ids.cpp.

◆ memoryID

const MemoryID memoryID {"Object"}
extern

Definition at line 28 of file memory_ids.cpp.