6#include <pcl/filters/filter.h>
12#include <SimoxUtility/algorithm/string.h>
40 "Number of point clouds before exiting. 0 or negative value means 'do not exit'.");
41 def->optional(p.removeNaNs,
43 "If enabled, invalid points will be removed from the point cloud.");
45 def->optional(p.pointtype,
"pc.PointType",
"The Type of the point cloud.");
48 def->optional(p.targetMemoryName,
50 "The Memory Name of the Memory that should receive the PCs");
97 if (not processing.exchange(
true))
102 getDataAndSendToMemory<pcl::PointXYZ, arondto::PointCloudXYZ>();
105 getDataAndSendToMemory<pcl::PointXYZL, arondto::PointCloudXYZL>();
108 getDataAndSendToMemory<pcl::PointXYZRGBA, arondto::PointCloudXYZRGBA>();
111 getDataAndSendToMemory<pcl::PointXYZRGBL, arondto::PointCloudXYZRGBL>();
119 ARMARX_INFO <<
"Already processing a point cloud...";
127 return "PointCloudToArMem";
#define ARMARX_REGISTER_COMPONENT_EXECUTABLE(ComponentT, applicationName)
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...
static std::string GetDefaultName()
void onInitPointCloudProcessor() override
Setup the vision component.
std::string getDefaultName() const override
Retrieve default name of component.
#define ARMARX_INFO
The normal logging level.
IceUtil::Handle< class PropertyDefinitionContainer > PropertyDefinitionsPtr
PropertyDefinitions smart pointer type.
std::map< std::string, PointType > String2PointType