A class to facilitate parallel use of pcl and ros header. More...
#include <header.h>
Public Member Functions | |
void | fromRosHeader (std_msgs::Header rh) |
myHeader () | |
Allows same usage as ros/pcl header. | |
myHeader (pcl::PCLHeader h) | |
Allow implicit conversion from pcl header. | |
myHeader (std_msgs::Header rh) | |
Allow implicit conversion from ros header. | |
myHeader (uint32_t aseq, ros::Time astamp, std::string aframe_id) | |
convenience | |
operator pcl::PCLHeader () | |
Allow implicit conversion to pcl header. | |
operator std_msgs::Header () | |
Allow implicit conversion to ros header. | |
std_msgs::Header | toRosHeader () |
Public Attributes | |
std::string | frame_id |
Allows direct access as for pcl/ros header. | |
uint32_t | seq |
Allows direct access as for pcl/ros header. | |
ros::Time | stamp |
Allows direct access as for pcl/ros header. |
Allows same usage as ros/pcl header.
Definition at line 4 of file header.cpp.
myHeader::myHeader | ( | pcl::PCLHeader | h | ) |
Allow implicit conversion from pcl header.
Definition at line 9 of file header.cpp.
Allow implicit conversion from ros header.
Definition at line 14 of file header.cpp.
myHeader::myHeader | ( | uint32_t | aseq, |
ros::Time | astamp, | ||
std::string | aframe_id | ||
) |
convenience
Definition at line 18 of file header.cpp.
void myHeader::fromRosHeader | ( | std_msgs::Header | rh | ) |
Definition at line 35 of file header.cpp.
myHeader::operator pcl::PCLHeader | ( | ) |
Allow implicit conversion to pcl header.
Definition at line 42 of file header.cpp.
myHeader::operator std_msgs::Header | ( | ) |
Allow implicit conversion to ros header.
Definition at line 46 of file header.cpp.
Definition at line 25 of file header.cpp.
std::string myHeader::frame_id |
uint32_t myHeader::seq |