28 #include <RobotAPI/interface/visualization/DebugDrawerInterface.h>
31 #include <MemoryX/interface/components/WorkingMemoryInterface.h>
35 #include <VisionX/interface/components/PointCloudSegmenter.h>
60 defineOptionalProperty<std::string>(
"WorkingMemoryName",
"WorkingMemory",
"Name of WorkingMemory component");
61 defineOptionalProperty<PLANE_VISUALIZATION_METHOD>(
"PlaneVisualizationMethod",
Hull,
"Visualize planes as boxes, as rectangles or as convex hulls")
66 .map(
"ConvexHull",
Hull)
85 virtual public visionx::PointCloudSegmentationListener,
94 return "PrimitiveVisualization";
137 void clearDebugLayer();
141 viz::Color getPrimitiveColor(
const memoryx::EnvironmentalPrimitiveBasePtr& primitive);
143 void visualizePrimitive(
const memoryx::EnvironmentalPrimitiveBasePtr& primitive,
viz::Color color);
144 void visualizePlane(
const memoryx::PlanePrimitiveBasePtr& plane,
viz::Color color);
145 void visualizeSphere(
const memoryx::SpherePrimitiveBasePtr& sphere,
viz::Color color);
146 void visualizeCylinder(
const memoryx::CylinderPrimitiveBasePtr& cylinder,
viz::Color color);