Public Member Functions | Protected Attributes | List of all members
DepthToPointCloud Class Reference

#include <depth_to_pointcloud.h>

Public Member Functions

template<typename Point2D_T , typename Point3D_T >
void depthTo3DPoint (Point2D_T &image_pos, float depth, Point3D_T &point)
 
 DepthToPointCloud ()
 
void initialize (sensor_msgs::ImageConstPtr depth_msg, sensor_msgs::CameraInfoConstPtr camera_info_msg)
 
virtual ~DepthToPointCloud ()
 

Protected Attributes

std::vector< float > projection_map_x_
 
std::vector< float > projection_map_y_
 

Detailed Description

Definition at line 45 of file depth_to_pointcloud.h.

Constructor & Destructor Documentation

◆ DepthToPointCloud()

DepthToPointCloud::DepthToPointCloud ( )

Definition at line 40 of file depth_to_pointcloud.cpp.

◆ ~DepthToPointCloud()

DepthToPointCloud::~DepthToPointCloud ( )
virtual

Definition at line 46 of file depth_to_pointcloud.cpp.

Member Function Documentation

◆ depthTo3DPoint()

template<typename Point2D_T , typename Point3D_T >
void DepthToPointCloud::depthTo3DPoint ( Point2D_T &  image_pos,
float  depth,
Point3D_T &  point 
)
inline

Definition at line 87 of file depth_to_pointcloud.h.

◆ initialize()

void DepthToPointCloud::initialize ( sensor_msgs::ImageConstPtr  depth_msg,
sensor_msgs::CameraInfoConstPtr  camera_info_msg 
)

Definition at line 51 of file depth_to_pointcloud.cpp.

Member Data Documentation

◆ projection_map_x_

std::vector<float> DepthToPointCloud::projection_map_x_
protected

Definition at line 100 of file depth_to_pointcloud.h.

◆ projection_map_y_

std::vector<float> DepthToPointCloud::projection_map_y_
protected

Definition at line 101 of file depth_to_pointcloud.h.


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


image_cb_detector
Author(s): Vijay Pradeep, Eitan Marder-Eppstein
autogenerated on Tue Mar 1 2022 23:58:48