file_io.h File Reference

#include <iostream>
#include <dirent.h>
#include <vector>
#include <algorithm>
#include <pcl/common/impl/file_io.hpp>
Include dependency graph for file_io.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


Detailed Description

Define some helper functions for reading and writing files.

Definition in file file_io.h.

Namespaces

namespace  pcl

Functions

void pcl::getAllPcdFilesInDirectory (const std::string &directory, std::vector< std::string > &file_names)
 Find all *.pcd files in the directory and return them sorted.
std::string pcl::getFilenameWithoutPath (const std::string &input)
 Remove the path from the given string and return only the filename (the remaining string after the last '/').
std::string pcl::getFilenameWithoutExtension (const std::string &input)
 Remove the extension from the given string and return only the filename (everything before the last '.
std::string pcl::getFileExtension (const std::string &input)
 Get the file extension from the given string (the remaining string after the last '.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 16 Oct 2012 for Point Cloud Library (PCL) by  doxygen 1.6.1