Class for writing point clouds to PLY files.
More...
#include <PointCloudPlyWriter.h>
|
static bool | WriteFormatPLY (const char *filename, const std::vector< PointXYZ > &points, bool useBinary, InvalidPointPresentation presentation=INVALID_AS_NAN) |
| Save a point cloud to a file in Polygon File Format (PLY), see: https://en.wikipedia.org/wiki/PLY_%28file_format%29 More...
|
|
static bool | WriteFormatPLY (const char *filename, const std::vector< PointXYZ > &points, const std::vector< uint16_t > &intensityMap, bool useBinary, InvalidPointPresentation presentation=INVALID_AS_NAN) |
| Save a point cloud to a file in Polygon File Format (PLY) which has intensities for each point, see: https://en.wikipedia.org/wiki/PLY_%28file_format%29 More...
|
|
static bool | WriteFormatPLY (const char *filename, const std::vector< PointXYZ > &points, const std::vector< uint32_t > &rgbaMap, bool useBinary, InvalidPointPresentation presentation=INVALID_AS_NAN) |
| Save a point cloud to a file in Polygon File Format (PLY) which has colors for each point, see: https://en.wikipedia.org/wiki/PLY_%28file_format%29 More...
|
|
static bool | WriteFormatPLY (const char *filename, const std::vector< PointXYZ > &points, const std::vector< uint32_t > &rgbaMap, const std::vector< uint16_t > &intensityMap, bool useBinary, InvalidPointPresentation presentation=INVALID_AS_NAN) |
| Save a point cloud to a file in Polygon File Format (PLY) which has intensities and colors for each point, see: https://en.wikipedia.org/wiki/PLY_%28file_format%29 More...
|
|
Class for writing point clouds to PLY files.
Definition at line 28 of file PointCloudPlyWriter.h.
◆ PointCloudPlyWriter() [1/2]
◆ PointCloudPlyWriter() [2/2]
visionary::PointCloudPlyWriter::PointCloudPlyWriter |
( |
| ) |
|
|
privatedefault |
◆ ~PointCloudPlyWriter()
visionary::PointCloudPlyWriter::~PointCloudPlyWriter |
( |
| ) |
|
|
privatevirtualdefault |
◆ operator=()
◆ WriteFormatPLY() [1/4]
Save a point cloud to a file in Polygon File Format (PLY), see: https://en.wikipedia.org/wiki/PLY_%28file_format%29
- Parameters
-
filename | The file to save the point cloud to |
points | The points to save |
useBinary | If the output file is binary or ascii |
presentation | Definition how invalid points should be presented inside the PLY file [optional] |
- Returns
- Returns true if write was successful and false otherwise
Definition at line 15 of file PointCloudPlyWriter.cpp.
◆ WriteFormatPLY() [2/4]
bool visionary::PointCloudPlyWriter::WriteFormatPLY |
( |
const char * |
filename, |
|
|
const std::vector< PointXYZ > & |
points, |
|
|
const std::vector< uint16_t > & |
intensityMap, |
|
|
bool |
useBinary, |
|
|
InvalidPointPresentation |
presentation = INVALID_AS_NAN |
|
) |
| |
|
static |
Save a point cloud to a file in Polygon File Format (PLY) which has intensities for each point, see: https://en.wikipedia.org/wiki/PLY_%28file_format%29
- Parameters
-
filename | The file to save the point cloud to |
points | The points to save |
intensityMap | Intensities for each point, must be same length as points |
useBinary | If the output file is binary or ascii |
presentation | Definition how invalid points should be presented inside the PLY file [optional] |
- Returns
- Returns true if write was successful and false otherwise
Definition at line 32 of file PointCloudPlyWriter.cpp.
◆ WriteFormatPLY() [3/4]
bool visionary::PointCloudPlyWriter::WriteFormatPLY |
( |
const char * |
filename, |
|
|
const std::vector< PointXYZ > & |
points, |
|
|
const std::vector< uint32_t > & |
rgbaMap, |
|
|
bool |
useBinary, |
|
|
InvalidPointPresentation |
presentation = INVALID_AS_NAN |
|
) |
| |
|
static |
Save a point cloud to a file in Polygon File Format (PLY) which has colors for each point, see: https://en.wikipedia.org/wiki/PLY_%28file_format%29
- Parameters
-
filename | The file to save the point cloud to |
points | The points to save |
rgbaMap | RGBA colors for each point, must be same length as points |
useBinary | If the output file is binary or ascii |
presentation | Definition how invalid points should be presented inside the PLY file [optional] |
- Returns
- Returns true if write was successful and false otherwise
Definition at line 23 of file PointCloudPlyWriter.cpp.
◆ WriteFormatPLY() [4/4]
bool visionary::PointCloudPlyWriter::WriteFormatPLY |
( |
const char * |
filename, |
|
|
const std::vector< PointXYZ > & |
points, |
|
|
const std::vector< uint32_t > & |
rgbaMap, |
|
|
const std::vector< uint16_t > & |
intensityMap, |
|
|
bool |
useBinary, |
|
|
InvalidPointPresentation |
presentation = INVALID_AS_NAN |
|
) |
| |
|
static |
Save a point cloud to a file in Polygon File Format (PLY) which has intensities and colors for each point, see: https://en.wikipedia.org/wiki/PLY_%28file_format%29
- Parameters
-
filename | The file to save the point cloud to |
points | The points to save |
rgbaMap | RGBA colors for each point, must be same length as points |
intensityMap | Intensities for each point, must be same length as points |
useBinary | If the output file is binary or ascii |
presentation | Definition how invalid points should be presented inside the PLY file [optional] |
- Returns
- Returns true if write was successful and false otherwise
Definition at line 41 of file PointCloudPlyWriter.cpp.
The documentation for this class was generated from the following files: