30 #include <RobotAPI/interface/visualization/DebugDrawerInterface.h>
34 #include <VisionX/interface/components/PointCloudSegmenter.h>
37 #include <MemoryX/interface/components/WorkingMemoryInterface.h>
61 defineOptionalProperty<std::string>(
62 "WorkingMemoryName",
"WorkingMemory",
"Name of WorkingMemory component");
63 defineOptionalProperty<PLANE_VISUALIZATION_METHOD>(
64 "PlaneVisualizationMethod",
66 "Visualize planes as boxes, as rectangles or as convex hulls")
71 .map(
"ConvexHull",
Hull)
89 virtual public visionx::PointCloudSegmentationListener,
99 return "PrimitiveVisualization";
139 void clearDebugLayer();
143 viz::Color getPrimitiveColor(
const memoryx::EnvironmentalPrimitiveBasePtr& primitive);
145 void visualizePrimitive(
const memoryx::EnvironmentalPrimitiveBasePtr& primitive,
147 void visualizePlane(
const memoryx::PlanePrimitiveBasePtr& plane,
viz::Color color);
148 void visualizeSphere(
const memoryx::SpherePrimitiveBasePtr& sphere,
viz::Color color);
149 void visualizeCylinder(
const memoryx::CylinderPrimitiveBasePtr& cylinder,
viz::Color color);