sample RT component which has one data input port and one data output port More...
#include <PCDLoader.h>
Public Member Functions | |
bool | load (const std::string &filename, const std::string &label) |
virtual RTC::ReturnCode_t | onActivated (RTC::UniqueId ec_id) |
virtual RTC::ReturnCode_t | onDeactivated (RTC::UniqueId ec_id) |
virtual RTC::ReturnCode_t | onExecute (RTC::UniqueId ec_id) |
virtual RTC::ReturnCode_t | onInitialize () |
PCDLoader (RTC::Manager *manager) | |
Constructor. | |
virtual | ~PCDLoader () |
Destructor. | |
Protected Member Functions | |
void | setCloudXYZ (PointCloudTypes::PointCloud &cloud, const pcl::PointCloud< pcl::PointXYZ >::Ptr cloud_raw) |
void | setCloudXYZRGB (PointCloudTypes::PointCloud &cloud, const pcl::PointCloud< pcl::PointXYZRGB >::Ptr cloud_raw) |
void | updateOffsetToCloudXYZ (void) |
void | updateOffsetToCloudXYZRGB (void) |
Protected Attributes | |
PointCloudTypes::PointCloud | m_cloud |
OutPort < PointCloudTypes::PointCloud > | m_cloudOut |
RTC::TimedBoolean | m_isOutput |
OutPort< RTC::TimedBoolean > | m_isOutputOut |
OpenHRP::PCDOffsetSeq | m_offset |
InPort< OpenHRP::PCDOffsetSeq > | m_offsetIn |
RTC::CorbaPort | m_PCDLoaderServicePort |
PCDLoaderService_impl | m_service0 |
Private Attributes | |
int | dummy |
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 |
std::string | m_fields |
std::string | m_path |
sample RT component which has one data input port and one data output port
Definition at line 42 of file PCDLoader.h.
PCDLoader::PCDLoader | ( | RTC::Manager * | manager | ) |
PCDLoader::~PCDLoader | ( | ) | [virtual] |
Destructor.
Definition at line 49 of file PCDLoader.cpp.
bool PCDLoader::load | ( | const std::string & | filename, |
const std::string & | label | ||
) |
Definition at line 363 of file PCDLoader.cpp.
RTC::ReturnCode_t PCDLoader::onActivated | ( | RTC::UniqueId | ec_id | ) | [virtual] |
Reimplemented from RTC::RTObject_impl.
Definition at line 266 of file PCDLoader.cpp.
RTC::ReturnCode_t PCDLoader::onDeactivated | ( | RTC::UniqueId | ec_id | ) | [virtual] |
Reimplemented from RTC::RTObject_impl.
Definition at line 272 of file PCDLoader.cpp.
RTC::ReturnCode_t PCDLoader::onExecute | ( | RTC::UniqueId | ec_id | ) | [virtual] |
Reimplemented from RTC::RTObject_impl.
Definition at line 278 of file PCDLoader.cpp.
RTC::ReturnCode_t PCDLoader::onInitialize | ( | void | ) | [virtual] |
Reimplemented from RTC::RTObject_impl.
Definition at line 55 of file PCDLoader.cpp.
void PCDLoader::setCloudXYZ | ( | PointCloudTypes::PointCloud & | cloud, |
const pcl::PointCloud< pcl::PointXYZ >::Ptr | cloud_raw | ||
) | [protected] |
Definition at line 91 of file PCDLoader.cpp.
void PCDLoader::setCloudXYZRGB | ( | PointCloudTypes::PointCloud & | cloud, |
const pcl::PointCloud< pcl::PointXYZRGB >::Ptr | cloud_raw | ||
) | [protected] |
Definition at line 126 of file PCDLoader.cpp.
void PCDLoader::updateOffsetToCloudXYZ | ( | void | ) | [protected] |
Definition at line 177 of file PCDLoader.cpp.
void PCDLoader::updateOffsetToCloudXYZRGB | ( | void | ) | [protected] |
Definition at line 211 of file PCDLoader.cpp.
int PCDLoader::dummy [private] |
Definition at line 157 of file PCDLoader.h.
PointCloudTypes::PointCloud PCDLoader::m_cloud [protected] |
Definition at line 112 of file PCDLoader.h.
OutPort<PointCloudTypes::PointCloud> PCDLoader::m_cloudOut [protected] |
Definition at line 125 of file PCDLoader.h.
boost::unordered_map<std::string, pcl::PointCloud<pcl::PointXYZ>::Ptr> PCDLoader::m_clouds_xyz [private] |
Definition at line 158 of file PCDLoader.h.
boost::unordered_map<std::string, pcl::PointCloud<pcl::PointXYZRGB>::Ptr> PCDLoader::m_clouds_xyzrgb [private] |
Definition at line 159 of file PCDLoader.h.
std::string PCDLoader::m_fields [private] |
Definition at line 156 of file PCDLoader.h.
RTC::TimedBoolean PCDLoader::m_isOutput [protected] |
Definition at line 114 of file PCDLoader.h.
OutPort<RTC::TimedBoolean> PCDLoader::m_isOutputOut [protected] |
Definition at line 126 of file PCDLoader.h.
OpenHRP::PCDOffsetSeq PCDLoader::m_offset [protected] |
Definition at line 113 of file PCDLoader.h.
InPort<OpenHRP::PCDOffsetSeq> PCDLoader::m_offsetIn [protected] |
Definition at line 119 of file PCDLoader.h.
std::string PCDLoader::m_path [private] |
Definition at line 156 of file PCDLoader.h.
RTC::CorbaPort PCDLoader::m_PCDLoaderServicePort [protected] |
Definition at line 132 of file PCDLoader.h.
PCDLoaderService_impl PCDLoader::m_service0 [protected] |
Definition at line 138 of file PCDLoader.h.