#include "pcl/point_types.h"#include "pcl/point_cloud.h"#include "rangetocoords.h"#include "../structures/PlanePatch.h"#include <string>#include <arpa/inet.h>

Go to the source code of this file.
Defines | |
| #define | RANGEIMAGEIO_H_ | 
| #define | RAS_MAGIC 0x59a66a95 | 
Typedefs | |
| typedef pcl::PointCloud< PointT > | PointCloud | 
| typedef pcl::PointXYZRGB | PointT | 
Functions | |
| int | getInt (FILE *file) | 
| template<typename DataType > | |
| void | readPGM (FILE *fp, DataType *buffer, unsigned int &col, unsigned int &row) | 
| void | readPointCloudFromABWFile (PointCloud &pointCloud, const std::string &filename, unsigned int &width, unsigned int &height, std::vector< unsigned int > &undefPoints, bool pgm=false) | 
| void | readPointCloudFromPERCEPTRONFile (PointCloud &pointCloud, const std::string &filename, unsigned int &width, unsigned int &height, std::vector< unsigned int > &undefPoints) | 
| template<typename DataType > | |
| void | readRasterfile (FILE *fp, DataType *buffer, unsigned int &cols, unsigned int &rows) | 
| void | writeMSNormals (const std::string &filename, const PlanePatch::PlanePatches &planes) | 
| void | writePGM (const std::string &filename, const unsigned int &width, const unsigned int &height, const std::vector< unsigned char > &data) | 
| void | writeRasterfile (const std::string &filename, const unsigned int &width, const unsigned int &height, const std::vector< unsigned char > &data) | 
| void | writeTimeToFile (const std::string &filename, const double timeInSec) | 
| #define RANGEIMAGEIO_H_ | 
Definition at line 44 of file rangeimageio.h.
| #define RAS_MAGIC 0x59a66a95 | 
Definition at line 45 of file rangeimageio.h.
| typedef pcl::PointCloud<PointT> PointCloud | 
Definition at line 48 of file rangeimageio.h.
| typedef pcl::PointXYZRGB PointT | 
Definition at line 47 of file rangeimageio.h.
| int getInt | ( | FILE * | file | ) | 
Definition at line 40 of file rangeimageio.cpp.
| void readPGM | ( | FILE * | fp, | 
| DataType * | buffer, | ||
| unsigned int & | col, | ||
| unsigned int & | row | ||
| ) | 
Definition at line 53 of file rangeimageio.h.
| void readPointCloudFromABWFile | ( | PointCloud & | pointCloud, | 
| const std::string & | filename, | ||
| unsigned int & | width, | ||
| unsigned int & | height, | ||
| std::vector< unsigned int > & | undefPoints, | ||
| bool | pgm = false  | 
        ||
| ) | 
Definition at line 181 of file rangeimageio.cpp.
| void readPointCloudFromPERCEPTRONFile | ( | PointCloud & | pointCloud, | 
| const std::string & | filename, | ||
| unsigned int & | width, | ||
| unsigned int & | height, | ||
| std::vector< unsigned int > & | undefPoints | ||
| ) | 
Definition at line 250 of file rangeimageio.cpp.
| void readRasterfile | ( | FILE * | fp, | 
| DataType * | buffer, | ||
| unsigned int & | cols, | ||
| unsigned int & | rows | ||
| ) | 
Definition at line 107 of file rangeimageio.h.
| void writeMSNormals | ( | const std::string & | filename, | 
| const PlanePatch::PlanePatches & | planes | ||
| ) | 
Definition at line 158 of file rangeimageio.cpp.
| void writePGM | ( | const std::string & | filename, | 
| const unsigned int & | width, | ||
| const unsigned int & | height, | ||
| const std::vector< unsigned char > & | data | ||
| ) | 
Definition at line 111 of file rangeimageio.cpp.
| void writeRasterfile | ( | const std::string & | filename, | 
| const unsigned int & | width, | ||
| const unsigned int & | height, | ||
| const std::vector< unsigned char > & | data | ||
| ) | 
Definition at line 126 of file rangeimageio.cpp.
| void writeTimeToFile | ( | const std::string & | filename, | 
| const double | timeInSec | ||
| ) | 
Definition at line 172 of file rangeimageio.cpp.