30#include <RobotAPI/interface/visualization/DebugDrawerInterface.h>
34#include <VisionX/interface/components/PointCloudSegmenter.h>
37#include <MemoryX/interface/components/WorkingMemoryInterface.h>
62 "WorkingMemoryName",
"WorkingMemory",
"Name of WorkingMemory component");
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);
Provides a ready-to-use ArViz client arviz as member variable.
Default component property definition container.
ComponentPropertyDefinitions(std::string prefix, bool hasObjectNameParameter=true)
Baseclass for all ArmarX ManagedIceObjects requiring properties.
PrimitiveVisualizationPropertyDefinitions(std::string prefix)
Brief description of class PrimitiveVisualization.
void onInitComponent() override
void onDisconnectComponent() override
void reportNewPointCloudSegmentation(const Ice::Current &c=Ice::emptyCurrent) override
armarx::PropertyDefinitionsPtr createPropertyDefinitions() override
void onConnectComponent() override
memoryx::WorkingMemoryInterfacePrx workingMemory
void onExitComponent() override
memoryx::EnvironmentalPrimitiveSegmentBasePrx environmentalPrimitiveSegment
std::string getDefaultName() const override
DebugDrawerInterfacePrx debugDrawer
std::string prefix
Prefix of the properties such as namespace, domain, component name, etc.
PropertyDefinition< PropertyType > & defineOptionalProperty(const std::string &name, PropertyType defaultValue, const std::string &description="", PropertyDefinitionBase::PropertyConstness constness=PropertyDefinitionBase::eConstant)
This file offers overloads of toIce() and fromIce() functions for STL container types.
IceUtil::Handle< class PropertyDefinitionContainer > PropertyDefinitionsPtr
PropertyDefinitions smart pointer type.
PLANE_VISUALIZATION_METHOD
::IceInternal::ProxyHandle<::IceProxy::armarx::DebugDrawerInterface > DebugDrawerInterfacePrx