Public Member Functions | Private Member Functions | Private Attributes | List of all members
pses_kinect_utilities::DepthImageToPCL Class Reference

Class that make the implementation of the PointCloudXYZNodelet nodelet cleaner. More...

#include <depth_image_to_pcl.h>

Public Member Functions

PointCloudPtr convert_to_pcl (const sensor_msgs::Image::ConstPtr rawImgPtr)
 
 DepthImageToPCL ()
 
 DepthImageToPCL (const MetaData &md, const Transform &tf)
 
void init_buffers ()
 
void init_CL (const std::string &kernel_file)
 
void initCloud ()
 
void program_kernel (const std::string &kernel_function)
 
void setMetaData (const MetaData &md)
 
void setTFData (const Transform &tf)
 

Private Member Functions

void fill_buffer (const unsigned char *image)
 
void read_buffer ()
 

Private Attributes

bool buffer_init
 
std::vector< BufferPtrbuffers
 
bool cl_init
 
PointCloud cloud
 
ContextPtr context
 
DevicePtr device
 
KernelPtr kernel
 
StringPtr kernel_definition
 
bool kernel_init
 
MetaData md
 
ProgramPtr program
 
QueuePtr queue
 
Transform tf
 

Detailed Description

Class that make the implementation of the PointCloudXYZNodelet nodelet cleaner.

Definition at line 72 of file depth_image_to_pcl.h.

Constructor & Destructor Documentation

pses_kinect_utilities::DepthImageToPCL::DepthImageToPCL ( )

Definition at line 12 of file depth_image_to_pcl.cpp.

pses_kinect_utilities::DepthImageToPCL::DepthImageToPCL ( const MetaData md,
const Transform tf 
)

Definition at line 19 of file depth_image_to_pcl.cpp.

Member Function Documentation

PointCloudPtr pses_kinect_utilities::DepthImageToPCL::convert_to_pcl ( const sensor_msgs::Image::ConstPtr  rawImgPtr)

Definition at line 68 of file depth_image_to_pcl.cpp.

void pses_kinect_utilities::DepthImageToPCL::fill_buffer ( const unsigned char *  image)
private

Definition at line 81 of file depth_image_to_pcl.cpp.

void pses_kinect_utilities::DepthImageToPCL::init_buffers ( )

Definition at line 52 of file depth_image_to_pcl.cpp.

void pses_kinect_utilities::DepthImageToPCL::init_CL ( const std::string &  kernel_file)

Definition at line 33 of file depth_image_to_pcl.cpp.

void pses_kinect_utilities::DepthImageToPCL::initCloud ( )

Definition at line 31 of file depth_image_to_pcl.cpp.

void pses_kinect_utilities::DepthImageToPCL::program_kernel ( const std::string &  kernel_function)

Definition at line 44 of file depth_image_to_pcl.cpp.

void pses_kinect_utilities::DepthImageToPCL::read_buffer ( )
private

Definition at line 86 of file depth_image_to_pcl.cpp.

void pses_kinect_utilities::DepthImageToPCL::setMetaData ( const MetaData md)

Definition at line 28 of file depth_image_to_pcl.cpp.

void pses_kinect_utilities::DepthImageToPCL::setTFData ( const Transform tf)

Definition at line 29 of file depth_image_to_pcl.cpp.

Member Data Documentation

bool pses_kinect_utilities::DepthImageToPCL::buffer_init
private

Definition at line 98 of file depth_image_to_pcl.h.

std::vector<BufferPtr> pses_kinect_utilities::DepthImageToPCL::buffers
private

Definition at line 92 of file depth_image_to_pcl.h.

bool pses_kinect_utilities::DepthImageToPCL::cl_init
private

Definition at line 96 of file depth_image_to_pcl.h.

PointCloud pses_kinect_utilities::DepthImageToPCL::cloud
private

Definition at line 94 of file depth_image_to_pcl.h.

ContextPtr pses_kinect_utilities::DepthImageToPCL::context
private

Definition at line 87 of file depth_image_to_pcl.h.

DevicePtr pses_kinect_utilities::DepthImageToPCL::device
private

Definition at line 86 of file depth_image_to_pcl.h.

KernelPtr pses_kinect_utilities::DepthImageToPCL::kernel
private

Definition at line 91 of file depth_image_to_pcl.h.

StringPtr pses_kinect_utilities::DepthImageToPCL::kernel_definition
private

Definition at line 89 of file depth_image_to_pcl.h.

bool pses_kinect_utilities::DepthImageToPCL::kernel_init
private

Definition at line 97 of file depth_image_to_pcl.h.

MetaData pses_kinect_utilities::DepthImageToPCL::md
private

Definition at line 100 of file depth_image_to_pcl.h.

ProgramPtr pses_kinect_utilities::DepthImageToPCL::program
private

Definition at line 88 of file depth_image_to_pcl.h.

QueuePtr pses_kinect_utilities::DepthImageToPCL::queue
private

Definition at line 90 of file depth_image_to_pcl.h.

Transform pses_kinect_utilities::DepthImageToPCL::tf
private

Definition at line 101 of file depth_image_to_pcl.h.


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


pses_kinect_utilities
Author(s): Nicolas Acero
autogenerated on Sun Nov 26 2017 19:23:52