Indexed Face set (IFS) file format reader. More...
#include <pcl/io/ifs_io.h>
|
| enum |
{ IFS_V1_0 = 0 , IFS_V1_1 = 1 } |
| |
we support two versions 1.0 classic 1.1 with texture coordinates addon More...
|
Indexed Face set (IFS) file format reader.
This file format is used for the Brown Mesh Set for instance.
- Author
- Nizar Sallem
Definition at line 52 of file ifs_io.h.
anonymous enum
we support two versions 1.0 classic 1.1 with texture coordinates addon
| Enumerator |
|
IFS_V1_0 |
|
|
IFS_V1_1 |
|
Definition at line 64 of file ifs_io.h.
IFSReader()
| pcl::IFSReader::IFSReader | ( | |
) | | | default |
~IFSReader()
| pcl::IFSReader::~IFSReader | ( | |
) | | | default |
read() [1/3]
| int pcl::IFSReader::read | ( | const std::string & |
file_name, |
| |
pcl::PCLPointCloud2 & |
cloud, |
| | int & |
ifs_version |
| ) | |
|
Read a point cloud data from an IFS file and store it into a pcl/PCLPointCloud2.
- Parameters
-
| [in] |
file_name |
the name of the file containing the actual PointCloud data |
| [out] |
cloud |
the resultant PCLPointCloud2 blob read from disk |
| [out] |
ifs_version |
the IFS version of the file (either IFS_V1_0 or IFS_V1_1) |
- Returns
-
- < 0 (-1) on error
- == 0 on success
Referenced by pcl::io::loadIFSFile().
read() [2/3]
template<typename PointT >
read() [3/3]
| int pcl::IFSReader::read | ( | const std::string & |
file_name, |
| |
pcl::PolygonMesh & |
mesh, |
| | int & |
ifs_version |
| ) | |
|
Read a point cloud data from an IFS file and store it into a PolygonMesh.
- Parameters
-
| [in] |
file_name |
the name of the file containing the mesh data |
| [out] |
mesh |
the resultant PolygonMesh |
| [out] |
ifs_version |
the IFS version of the file (either IFS_V1_0 or IFS_V1_1) |
- Returns
-
- < 0 (-1) on error
- == 0 on success
readHeader()
| int pcl::IFSReader::readHeader | ( | const std::string & |
file_name, |
| |
pcl::PCLPointCloud2 & |
cloud, |
| | int & |
ifs_version, |
| | unsigned int & |
data_idx |
| ) | |
|
Read a point cloud data header from an IFS file.
Load only the meta information (number of points, their types, etc), and not the points themselves, from a given IFS file. Useful for fast evaluation of the underlying data structure.
- Parameters
-
| [in] |
file_name |
the name of the file to load |
| [out] |
cloud |
the resultant point cloud dataset (only header will be filled) |
| [out] |
ifs_version |
the IFS version of the file (IFS_V1_0 or IFS_V1_1) |
| [out] |
data_idx |
the offset of cloud data within the file |
- Returns
-
- < 0 (-1) on error
- == 0 on success
The documentation for this class was generated from the following file: