Public Member Functions | Protected Member Functions | Protected Attributes | Private Attributes
PCDLoader Class Reference

sample RT component which has one data input port and one data output port More...

#include <PCDLoader.h>

Inheritance diagram for PCDLoader:
Inheritance graph
[legend]

List of all members.

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

Detailed Description

sample RT component which has one data input port and one data output port

Definition at line 42 of file PCDLoader.h.


Constructor & Destructor Documentation

Constructor.

Parameters:
managerpointer to the Manager

Definition at line 37 of file PCDLoader.cpp.

PCDLoader::~PCDLoader ( ) [virtual]

Destructor.

Definition at line 49 of file PCDLoader.cpp.


Member Function Documentation

bool PCDLoader::load ( const std::string &  filename,
const std::string &  label 
)

Definition at line 363 of file PCDLoader.cpp.

Reimplemented from RTC::RTObject_impl.

Definition at line 266 of file PCDLoader.cpp.

Reimplemented from RTC::RTObject_impl.

Definition at line 272 of file PCDLoader.cpp.

Reimplemented from RTC::RTObject_impl.

Definition at line 278 of file PCDLoader.cpp.

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.

Definition at line 177 of file PCDLoader.cpp.

Definition at line 211 of file PCDLoader.cpp.


Member Data Documentation

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.

Definition at line 132 of file PCDLoader.h.

Definition at line 138 of file PCDLoader.h.


The documentation for this class was generated from the following files:


hrpsys
Author(s): AIST, Fumio Kanehiro
autogenerated on Wed May 15 2019 05:02:20