Public Member Functions
cob_3d_mapping_common::PPMReader Class Reference

2D image PPM file format reader. More...

#include <io.h>

List of all members.

Public Member Functions

int mapLabels (const std::string &file_name, pcl::PointCloud< pcl::PointXYZRGB > &cloud, bool remove_undef_points=false)
 Reads a 2D image from .ppm ASCII format and maps the RGB values on a PointCloud.
int mapRGB (const std::string &file_name, pcl::PointCloud< pcl::PointXYZRGB > &cloud, bool remove_undef_points=false)
 PPMReader ()
 ~PPMReader ()

Detailed Description

2D image PPM file format reader.

Definition at line 76 of file io.h.


Constructor & Destructor Documentation

Empty constructor

Definition at line 80 of file io.h.

Empty destructor

Definition at line 82 of file io.h.


Member Function Documentation

int cob_3d_mapping_common::PPMReader::mapLabels ( const std::string &  file_name,
pcl::PointCloud< pcl::PointXYZRGB > &  cloud,
bool  remove_undef_points = false 
)

Reads a 2D image from .ppm ASCII format and maps the RGB values on a PointCloud.

Parameters:
[in]file_namethe input path of the .ppm ASCII file
[out]cloudthe point cloud with RGB fields to which the .ppm is mapped
Returns:
< 0 (-1) on error, else 0

Definition at line 72 of file io.cpp.

int cob_3d_mapping_common::PPMReader::mapRGB ( const std::string &  file_name,
pcl::PointCloud< pcl::PointXYZRGB > &  cloud,
bool  remove_undef_points = false 
)

Definition at line 172 of file io.cpp.


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


cob_3d_mapping_common
Author(s): Georg Arbeiter
autogenerated on Wed Aug 26 2015 11:02:19