Skip to content
Snippets Groups Projects
Commit 330fcba9 authored by Rainer Kartmann's avatar Rainer Kartmann
Browse files

Make objpose::Box a class to allow it being null

parent f84a2c0a
No related branches found
No related tags found
1 merge request!75Make box optional in object pose observer
......@@ -48,13 +48,17 @@ module armarx
sequence<ObjectID> ObjectIDSeq;
struct AABB
class AABB
{
Vector3Base center;
Vector3Base extents;
};
struct Box
/**
* @brief A 3D box.
* Box is a a class to allow it being null.
*/
class Box
{
Vector3Base position;
QuaternionBase orientation;
......@@ -84,7 +88,7 @@ module armarx
/// Source timestamp.
long timestampMicroSeconds = -1;
/// Object bounding box in object's local coordinate frame.
/// Object bounding box in object's local coordinate frame. May be null.
Box localOOBB;
};
sequence<ProvidedObjectPose> ProvidedObjectPoseSeq;
......@@ -114,7 +118,7 @@ module armarx
/// Source timestamp.
long timestampMicroSeconds = -1;
/// Object bounding box in object's local coordinate frame.
/// Object bounding box in object's local coordinate frame. May be null.
Box localOOBB;
};
sequence<ObjectPose> ObjectPoseSeq;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment