Go to the documentation of this file.
28 #include <RobotAPI/interface/visualization/DebugDrawerInterface.h>
30 #include <VisionX/interface/core/PointCloudProviderInterface.h>
31 #include <VisionX/interface/core/DataTypes.h>
32 #include <VisionX/interface/components/PointCloudVisualization.h>
40 class PointCloudVisualization;
72 defineOptionalProperty<std::string>(
"PointCloudProviders",
"",
"Comma-separated list of point cloud provider names");
73 defineOptionalProperty<std::string>(
"InitiallyDisabledVisualizations",
"",
"Comma-separated list of point cloud provider names, which should not be visualized by default");
74 defineOptionalProperty<std::string>(
"DebugDrawerTopicName",
"DebugDrawerUpdates",
"Name of the debug drawer topic");
75 defineOptionalProperty<std::string>(
"DefaultVisualizationType",
"Plain",
"Default point cloud visualization type.");
94 virtual public PointCloudVisualizationInterface,
103 return "PointCloudVisualization";
108 template<
typename Po
intT>
113 PointCloudProviderVisualizationInfoList
getAvailableProviders(
const Ice::Current&
c = Ice::emptyCurrent)
override;
114 void enablePointCloudVisualization(
const std::string& providerName, visionx::PointContentType type,
bool enable,
const Ice::Current&
c = Ice::emptyCurrent)
override;
std::map< std::string, PointCloudVisualizationCollection > visualizations
void processPointCloud(const std::string &providerName)
PointCloudVisualizationPropertyDefinitions(std::string prefix)
std::map< std::string, int > debugDrawerVisualizationIteration
std::shared_ptr< armarx::DebugDrawer24BitColoredPointCloud > DebugDrawerPointCloudPtr
void processPointCloudProvider()
std::map< visionx::PointContentType, DebugDrawerPointCloudPtr > PointCloudVisualizationCollection
std::string prefix
Prefix of the properties such as namespace, domain, component name, etc.
Brief description of class PointCloudVisualization.
void processPointCloudProvider(const std::string &providerName)
std::string pointCloudTypeToText(visionx::PointContentType type)
void onConnectPointCloudProcessor() override
std::mutex pointCloudMutex
PointCloudVisualizationHandler(PointCloudVisualization *component, const std::string &providerName)
armarx::RunningTask< PointCloudVisualizationHandler >::pointer_type task
PointCloudProviderVisualizationInfoList getAvailableProviders(const Ice::Current &c=Ice::emptyCurrent) override
The PointCloudProcessor class provides an interface for access to PointCloudProviders via Ice and sha...
visionx::PointContentType pointCloudTextToType(std::string text)
std::map< std::string, bool > enabledFlags
std::shared_ptr< PointCloudVisualizationHandler > PointCloudVisualizationHandlerPtr
void updateVisualization(const std::string &providerName)
void onExitPointCloudProcessor() override
~PointCloudVisualizationHandler()
void onInitPointCloudProcessor() override
void enablePointCloudVisualization(const std::string &providerName, visionx::PointContentType type, bool enable, const Ice::Current &c=Ice::emptyCurrent) override
bool waitForNewPointCloud(const std::string &providerName)
Default component property definition container.
PointCloudVisualization * component
armarx::DebugDrawerInterfacePrx debugDrawerTopicPrx
PointCloudVisualizationInfo getCurrentPointCloudVisualizationInfo(const std::string &providerName, const Ice::Current &c=Ice::emptyCurrent) override
std::map< std::string, PointCloudVisualizationHandlerPtr > providerHandlers
std::map< std::string, visionx::MetaPointCloudFormatPtr > pointCloudFormats
ComponentPropertyDefinitions(std::string prefix, bool hasObjectNameParameter=true)
std::vector< std::string > providerNames
armarx::PropertyDefinitionsPtr createPropertyDefinitions() override
This file offers overloads of toIce() and fromIce() functions for STL container types.
std::map< std::string, visionx::PointContentType > visualizationTypes
std::string getDefaultName() const override
void onDisconnectPointCloudProcessor() override