4#include <pcl/filters/filter.h>
10#include <SimoxUtility/algorithm/string.h>
38 "Number of point clouds before exiting. 0 or negative value means 'do not exit'.");
39 def->optional(p.removeNaNs,
41 "If enabled, invalid points will be removed from the point cloud.");
43 def->optional(p.pointtype,
"pc.PointType",
"The Type of the point cloud.");
46 def->optional(p.targetMemoryName,
48 "The Memory Name of the Memory that should receive the PCs");
95 if (not processing.exchange(
true))
100 getDataAndSendToMemory<pcl::PointXYZ, arondto::PointCloudXYZ>();
103 getDataAndSendToMemory<pcl::PointXYZL, arondto::PointCloudXYZL>();
106 getDataAndSendToMemory<pcl::PointXYZRGBA, arondto::PointCloudXYZRGBA>();
109 getDataAndSendToMemory<pcl::PointXYZRGBL, arondto::PointCloudXYZRGBL>();
117 ARMARX_INFO <<
"Already processing a point cloud...";
std::string getConfigIdentifier()
Retrieve config identifier for this component as set in constructor.
void setComponent(ManagedIceObject *component)
Writer getWriter(const MemoryID &memoryID)
Get a writer to the given memory name.
MemoryNameSystem & memoryNameSystem()
Properties of PointCloudProcessor.
void enableResultPointClouds(std::string resultProviderName="")
Enables visualization.
armarx::PropertyDefinitionsPtr createPropertyDefinitions() override
void process() override
Process the vision component.
void onExitPointCloudProcessor() override
Exit the ImapeProcessor component.
void onConnectPointCloudProcessor() override
Implement this method in the PointCloudProcessor in order execute parts when the component is fully i...
void onDisconnectPointCloudProcessor() override
Implement this method in the PointCloudProcessor in order execute parts when the component looses net...
void onInitPointCloudProcessor() override
Setup the vision component.
#define ARMARX_INFO
The normal logging level.
IceUtil::Handle< class PropertyDefinitionContainer > PropertyDefinitionsPtr
PropertyDefinitions smart pointer type.
std::map< std::string, PointType > String2PointType