Private Types | Private Member Functions | Private Attributes | List of all members
depth_image_proc::PointCloudXyzRgbRadialNodelet Class Reference
Inheritance diagram for depth_image_proc::PointCloudXyzRgbRadialNodelet:
Inheritance graph
[legend]

Private Types

typedef message_filters::Synchronizer< ExactSyncPolicyExactSynchronizer
 
typedef sensor_msgs::PointCloud2 PointCloud
 
typedef message_filters::Synchronizer< SyncPolicySynchronizer
 

Private Member Functions

void connectCb ()
 
template<typename T >
void convert_depth (const sensor_msgs::ImageConstPtr &depth_msg, PointCloud::Ptr &cloud_msg)
 
void convert_rgb (const sensor_msgs::ImageConstPtr &rgb_msg, PointCloud::Ptr &cloud_msg, int red_offset, int green_offset, int blue_offset, int color_step)
 
void imageCb (const sensor_msgs::ImageConstPtr &depth_msg, const sensor_msgs::ImageConstPtr &rgb_msg_in, const sensor_msgs::CameraInfoConstPtr &info_msg)
 
cv::Mat initMatrix (cv::Mat cameraMatrix, cv::Mat distCoeffs, int width, int height, bool radial)
 
virtual void onInit ()
 

Private Attributes

boost::mutex connect_mutex_
 
std::vector< double > D_
 
boost::shared_ptr< image_transport::ImageTransportdepth_it_
 
boost::shared_ptr< ExactSynchronizerexact_sync_
 
int height_
 
boost::array< double, 9 > K_
 
image_geometry::PinholeCameraModel model_
 
ros::Publisher pub_point_cloud_
 
int queue_size_
 
boost::shared_ptr< image_transport::ImageTransportrgb_it_
 
ros::NodeHandlePtr rgb_nh_
 
image_transport::SubscriberFilter sub_depth_
 
message_filters::Subscriber< sensor_msgs::CameraInfo > sub_info_
 
image_transport::SubscriberFilter sub_rgb_
 
boost::shared_ptr< Synchronizersync_
 
cv::Mat transform_
 
int width_
 

Additional Inherited Members

- Public Member Functions inherited from nodelet::Nodelet
void init (const std::string &name, const M_string &remapping_args, const V_string &my_argv, ros::CallbackQueueInterface *st_queue=NULL, ros::CallbackQueueInterface *mt_queue=NULL)
 
 Nodelet ()
 
virtual ~Nodelet ()
 
- Protected Member Functions inherited from nodelet::Nodelet
ros::CallbackQueueInterfacegetMTCallbackQueue () const
 
ros::NodeHandlegetMTNodeHandle () const
 
ros::NodeHandlegetMTPrivateNodeHandle () const
 
const V_stringgetMyArgv () const
 
const std::string & getName () const
 
ros::NodeHandlegetNodeHandle () const
 
ros::NodeHandlegetPrivateNodeHandle () const
 
const M_stringgetRemappingArgs () const
 
ros::CallbackQueueInterfacegetSTCallbackQueue () const
 
std::string getSuffixedName (const std::string &suffix) const
 

Detailed Description

Definition at line 90 of file point_cloud_xyzrgb_radial.cpp.

Member Typedef Documentation

◆ ExactSynchronizer

Definition at line 108 of file point_cloud_xyzrgb_radial.cpp.

◆ PointCloud

typedef sensor_msgs::PointCloud2 depth_image_proc::PointCloudXyzRgbRadialNodelet::PointCloud
private

Definition at line 103 of file point_cloud_xyzrgb_radial.cpp.

◆ Synchronizer

Definition at line 107 of file point_cloud_xyzrgb_radial.cpp.

Member Function Documentation

◆ connectCb()

void depth_image_proc::PointCloudXyzRgbRadialNodelet::connectCb ( )
private

Definition at line 217 of file point_cloud_xyzrgb_radial.cpp.

◆ convert_depth()

template<typename T >
void depth_image_proc::PointCloudXyzRgbRadialNodelet::convert_depth ( const sensor_msgs::ImageConstPtr &  depth_msg,
PointCloud::Ptr &  cloud_msg 
)
private

Definition at line 401 of file point_cloud_xyzrgb_radial.cpp.

◆ convert_rgb()

void depth_image_proc::PointCloudXyzRgbRadialNodelet::convert_rgb ( const sensor_msgs::ImageConstPtr &  rgb_msg,
PointCloud::Ptr &  cloud_msg,
int  red_offset,
int  green_offset,
int  blue_offset,
int  color_step 
)
private

Definition at line 435 of file point_cloud_xyzrgb_radial.cpp.

◆ imageCb()

void depth_image_proc::PointCloudXyzRgbRadialNodelet::imageCb ( const sensor_msgs::ImageConstPtr &  depth_msg,
const sensor_msgs::ImageConstPtr &  rgb_msg_in,
const sensor_msgs::CameraInfoConstPtr &  info_msg 
)
private

Definition at line 248 of file point_cloud_xyzrgb_radial.cpp.

◆ initMatrix()

cv::Mat depth_image_proc::PointCloudXyzRgbRadialNodelet::initMatrix ( cv::Mat  cameraMatrix,
cv::Mat  distCoeffs,
int  width,
int  height,
bool  radial 
)
private

Definition at line 140 of file point_cloud_xyzrgb_radial.cpp.

◆ onInit()

void depth_image_proc::PointCloudXyzRgbRadialNodelet::onInit ( )
privatevirtual

Implements nodelet::Nodelet.

Definition at line 182 of file point_cloud_xyzrgb_radial.cpp.

Member Data Documentation

◆ connect_mutex_

boost::mutex depth_image_proc::PointCloudXyzRgbRadialNodelet::connect_mutex_
private

Definition at line 102 of file point_cloud_xyzrgb_radial.cpp.

◆ D_

std::vector<double> depth_image_proc::PointCloudXyzRgbRadialNodelet::D_
private

Definition at line 112 of file point_cloud_xyzrgb_radial.cpp.

◆ depth_it_

boost::shared_ptr<image_transport::ImageTransport> depth_image_proc::PointCloudXyzRgbRadialNodelet::depth_it_
private

Definition at line 95 of file point_cloud_xyzrgb_radial.cpp.

◆ exact_sync_

boost::shared_ptr<ExactSynchronizer> depth_image_proc::PointCloudXyzRgbRadialNodelet::exact_sync_
private

Definition at line 110 of file point_cloud_xyzrgb_radial.cpp.

◆ height_

int depth_image_proc::PointCloudXyzRgbRadialNodelet::height_
private

Definition at line 116 of file point_cloud_xyzrgb_radial.cpp.

◆ K_

boost::array<double, 9> depth_image_proc::PointCloudXyzRgbRadialNodelet::K_
private

Definition at line 113 of file point_cloud_xyzrgb_radial.cpp.

◆ model_

image_geometry::PinholeCameraModel depth_image_proc::PointCloudXyzRgbRadialNodelet::model_
private

Definition at line 119 of file point_cloud_xyzrgb_radial.cpp.

◆ pub_point_cloud_

ros::Publisher depth_image_proc::PointCloudXyzRgbRadialNodelet::pub_point_cloud_
private

Definition at line 104 of file point_cloud_xyzrgb_radial.cpp.

◆ queue_size_

int depth_image_proc::PointCloudXyzRgbRadialNodelet::queue_size_
private

Definition at line 99 of file point_cloud_xyzrgb_radial.cpp.

◆ rgb_it_

boost::shared_ptr<image_transport::ImageTransport> depth_image_proc::PointCloudXyzRgbRadialNodelet::rgb_it_
private

Definition at line 95 of file point_cloud_xyzrgb_radial.cpp.

◆ rgb_nh_

ros::NodeHandlePtr depth_image_proc::PointCloudXyzRgbRadialNodelet::rgb_nh_
private

Definition at line 92 of file point_cloud_xyzrgb_radial.cpp.

◆ sub_depth_

image_transport::SubscriberFilter depth_image_proc::PointCloudXyzRgbRadialNodelet::sub_depth_
private

Definition at line 96 of file point_cloud_xyzrgb_radial.cpp.

◆ sub_info_

message_filters::Subscriber<sensor_msgs::CameraInfo> depth_image_proc::PointCloudXyzRgbRadialNodelet::sub_info_
private

Definition at line 97 of file point_cloud_xyzrgb_radial.cpp.

◆ sub_rgb_

image_transport::SubscriberFilter depth_image_proc::PointCloudXyzRgbRadialNodelet::sub_rgb_
private

Definition at line 96 of file point_cloud_xyzrgb_radial.cpp.

◆ sync_

boost::shared_ptr<Synchronizer> depth_image_proc::PointCloudXyzRgbRadialNodelet::sync_
private

Definition at line 109 of file point_cloud_xyzrgb_radial.cpp.

◆ transform_

cv::Mat depth_image_proc::PointCloudXyzRgbRadialNodelet::transform_
private

Definition at line 118 of file point_cloud_xyzrgb_radial.cpp.

◆ width_

int depth_image_proc::PointCloudXyzRgbRadialNodelet::width_
private

Definition at line 115 of file point_cloud_xyzrgb_radial.cpp.


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


depth_image_proc
Author(s): Patrick Mihelich
autogenerated on Wed Jan 24 2024 03:57:15