13 #include <rtm/idl/BasicDataType.hh> 14 #include "hrpsys/idl/pointcloud.hh" 15 #include "hrpsys/idl/PCDLoaderService.hh" 17 #include <rtm/DataFlowComponentBase.h> 21 #include <rtm/idl/BasicDataTypeSkel.h> 22 #include <pcl/io/pcd_io.h> 23 #include <boost/unordered_map.hpp> 58 virtual RTC::ReturnCode_t onInitialize();
104 bool load(
const std::string&
filename,
const std::string& label);
147 void setCloudXYZ(PointCloudTypes::PointCloud& cloud,
const pcl::PointCloud<pcl::PointXYZ>::Ptr cloud_raw);
149 void setCloudXYZRGB(PointCloudTypes::PointCloud& cloud,
const pcl::PointCloud<pcl::PointXYZRGB>::Ptr cloud_raw);
151 void updateOffsetToCloudXYZ(
void);
153 void updateOffsetToCloudXYZRGB(
void);
158 boost::unordered_map<std::string, pcl::PointCloud<pcl::PointXYZ>::Ptr>
m_clouds_xyz;
159 boost::unordered_map<std::string, pcl::PointCloud<pcl::PointXYZRGB>::Ptr>
m_clouds_xyzrgb;
168 #endif // PCD_LOADER_H
boost::unordered_map< std::string, pcl::PointCloud< pcl::PointXYZ >::Ptr > m_clouds_xyz
boost::unordered_map< std::string, pcl::PointCloud< pcl::PointXYZRGB >::Ptr > m_clouds_xyzrgb
PCDLoaderService_impl m_service0
InPort< OpenHRP::PCDOffsetSeq > m_offsetIn
ExecutionContextHandle_t UniqueId
OutPort< PointCloudTypes::PointCloud > m_cloudOut
OutPort< RTC::TimedBoolean > m_isOutputOut
sample RT component which has one data input port and one data output port
OpenHRP::PCDOffsetSeq m_offset
RTC::CorbaPort m_PCDLoaderServicePort
PointCloudTypes::PointCloud m_cloud
RTC::TimedBoolean m_isOutput
void PCDLoaderInit(RTC::Manager *manager)