Classes | Typedefs | Functions | Variables
pses_kinect_utilities Namespace Reference

This namespace is used by the nodelets inside our package pses_kinect_utilities. More...

Classes

class  DepthImageToPCL
 Class that make the implementation of the PointCloudXYZNodelet nodelet cleaner. More...
 
class  MedianFilterNodelet
 Class of the median filter nodelet. More...
 
struct  MetaData
 Contains some parameters and metada data of the camera. More...
 
class  PointCloudXYZNodelet
 Class of the PointCloudXYZNodelet nodelet, which converts a depth image into a point cloud containing x, y and z coordinates. More...
 
struct  Transform
 Contains the camera calibration. More...
 
class  VoxelGridFilterNodelet
 Class of the voxel grid filter nodelet. More...
 

Typedefs

typedef std::shared_ptr< cl::Buffer > BufferPtr
 
typedef std::shared_ptr< cl::Context > ContextPtr
 
typedef std::shared_ptr< DepthImageToPCLDepthConvPtr
 Shortcut for a Pointer to a DepthImageToPCL Object. More...
 
typedef std::shared_ptr< cl::Device > DevicePtr
 
typedef std::shared_ptr< cl::Kernel > KernelPtr
 
typedef std::shared_ptr< cl::Program > ProgramPtr
 
typedef std::shared_ptr< cl::CommandQueue > QueuePtr
 
typedef std::shared_ptr< std::string > StringPtr
 

Functions

ProgramPtr build_ocl_program (DevicePtr device, ContextPtr context, StringPtr kernel)
 
template<typename T >
BufferPtr create_ocl_buffer (ContextPtr context, unsigned int n_elements, int access_type)
 
QueuePtr create_ocl_command_queue (ContextPtr context, DevicePtr device)
 
KernelPtr create_ocl_kernel (ProgramPtr program, const std::string &program_name)
 
ContextPtr get_ocl_context (DevicePtr device)
 
DevicePtr get_ocl_default_device ()
 
StringPtr load_kernel_definition (const std::string &path)
 
template<typename T >
void read_ocl_buffer (QueuePtr queue, BufferPtr buffer, std::vector< T > &array)
 
template<typename T >
void read_ocl_buffer (QueuePtr queue, BufferPtr buffer, const unsigned int size, T *array)
 
template<typename T >
void write_ocl_buffer (QueuePtr queue, BufferPtr buffer, std::vector< T > &array)
 
template<typename T >
void write_ocl_buffer (QueuePtr queue, BufferPtr buffer, const unsigned int size, const T *array)
 

Variables

static const int R_ACCESS = 1
 
static const int RW_ACCESS = 2
 
static const int W_ACCESS = 0
 

Detailed Description

This namespace is used by the nodelets inside our package pses_kinect_utilities.

Typedef Documentation

typedef std::shared_ptr<cl::Buffer> pses_kinect_utilities::BufferPtr

Definition at line 31 of file ocl_library_wrapper.h.

typedef std::shared_ptr<cl::Context> pses_kinect_utilities::ContextPtr

Definition at line 26 of file ocl_library_wrapper.h.

Shortcut for a Pointer to a DepthImageToPCL Object.

Definition at line 40 of file point_cloud_xyz.h.

typedef std::shared_ptr<cl::Device> pses_kinect_utilities::DevicePtr

Definition at line 25 of file ocl_library_wrapper.h.

typedef std::shared_ptr<cl::Kernel> pses_kinect_utilities::KernelPtr

Definition at line 30 of file ocl_library_wrapper.h.

typedef std::shared_ptr<cl::Program> pses_kinect_utilities::ProgramPtr

Definition at line 27 of file ocl_library_wrapper.h.

typedef std::shared_ptr<cl::CommandQueue> pses_kinect_utilities::QueuePtr

Definition at line 29 of file ocl_library_wrapper.h.

typedef std::shared_ptr<std::string> pses_kinect_utilities::StringPtr

Definition at line 28 of file ocl_library_wrapper.h.

Function Documentation

ProgramPtr pses_kinect_utilities::build_ocl_program ( DevicePtr  device,
ContextPtr  context,
StringPtr  kernel 
)

Definition at line 69 of file ocl_library_wrapper.cpp.

template<typename T >
BufferPtr pses_kinect_utilities::create_ocl_buffer ( ContextPtr  context,
unsigned int  n_elements,
int  access_type 
)

Definition at line 52 of file ocl_library_wrapper.h.

QueuePtr pses_kinect_utilities::create_ocl_command_queue ( ContextPtr  context,
DevicePtr  device 
)

Definition at line 86 of file ocl_library_wrapper.cpp.

KernelPtr pses_kinect_utilities::create_ocl_kernel ( ProgramPtr  program,
const std::string &  program_name 
)

Definition at line 92 of file ocl_library_wrapper.cpp.

ContextPtr pses_kinect_utilities::get_ocl_context ( DevicePtr  device)

Definition at line 48 of file ocl_library_wrapper.cpp.

DevicePtr pses_kinect_utilities::get_ocl_default_device ( )

Definition at line 12 of file ocl_library_wrapper.cpp.

StringPtr pses_kinect_utilities::load_kernel_definition ( const std::string &  path)

Definition at line 56 of file ocl_library_wrapper.cpp.

template<typename T >
void pses_kinect_utilities::read_ocl_buffer ( QueuePtr  queue,
BufferPtr  buffer,
std::vector< T > &  array 
)

Definition at line 96 of file ocl_library_wrapper.h.

template<typename T >
void pses_kinect_utilities::read_ocl_buffer ( QueuePtr  queue,
BufferPtr  buffer,
const unsigned int  size,
T *  array 
)

Definition at line 103 of file ocl_library_wrapper.h.

template<typename T >
void pses_kinect_utilities::write_ocl_buffer ( QueuePtr  queue,
BufferPtr  buffer,
std::vector< T > &  array 
)

Definition at line 82 of file ocl_library_wrapper.h.

template<typename T >
void pses_kinect_utilities::write_ocl_buffer ( QueuePtr  queue,
BufferPtr  buffer,
const unsigned int  size,
const T *  array 
)

Definition at line 89 of file ocl_library_wrapper.h.

Variable Documentation

const int pses_kinect_utilities::R_ACCESS = 1
static

Definition at line 34 of file ocl_library_wrapper.h.

const int pses_kinect_utilities::RW_ACCESS = 2
static

Definition at line 35 of file ocl_library_wrapper.h.

const int pses_kinect_utilities::W_ACCESS = 0
static

Definition at line 33 of file ocl_library_wrapper.h.



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