23#include <RobotAPI/interface/visualization/DebugDrawerInterface.h>
26#ifndef MEMORYX_WSO_Box_H
27#define MEMORYX_WSO_Box_H
41 Eigen::Matrix4f m = Eigen::Matrix4f::Identity();
42 m.block<3, 1>(0, 3) << xCenter, yCenter, zCenter;
52 inside(
const armarx::FramedPositionBasePtr& p)
const
54 return (
pose->position->x -
extents->x / 2.f) <= p->x &&
64 const std::string& layerName,
65 const std::string& boxName,
66 const armarx::DrawColor& color)
const
68 debugDrawer->setBoxVisu(layerName, boxName,
pose,
extents, color);
IceInternal::Handle< Vector3 > Vector3Ptr
IceInternal::Handle< Pose > PosePtr
::IceInternal::ProxyHandle<::IceProxy::armarx::DebugDrawerInterface > DebugDrawerInterfacePrx
Box(float xCenter, float yCenter, float zCenter, float xExtent, float yExtent, float zExtent)
void drawTo(const armarx::DebugDrawerInterfacePrx &debugDrawer, const std::string &layerName, const std::string &boxName, const armarx::DrawColor &color) const
bool inside(const armarx::FramedPositionBasePtr &p) const
armarx::Vector3Ptr extents