Static Public Member Functions | Private Member Functions | List of all members
visionary::PointCloudPlyWriter Class Reference

Class for writing point clouds to PLY files. More...

#include <PointCloudPlyWriter.h>

Static Public Member Functions

static bool WriteFormatPLY (const char *filename, const std::vector< PointXYZ > &points, bool useBinary)
 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)
 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)
 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)
 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">Specification More...
 

Private Member Functions

const PointCloudPlyWriteroperator= (const PointCloudPlyWriter &)
 
 PointCloudPlyWriter ()
 
 PointCloudPlyWriter (const PointCloudPlyWriter &)
 
virtual ~PointCloudPlyWriter ()
 

Detailed Description

Class for writing point clouds to PLY files.

Definition at line 33 of file PointCloudPlyWriter.h.

Constructor & Destructor Documentation

◆ PointCloudPlyWriter() [1/2]

visionary::PointCloudPlyWriter::PointCloudPlyWriter ( )
private

Definition at line 152 of file PointCloudPlyWriter.cpp.

◆ ~PointCloudPlyWriter()

visionary::PointCloudPlyWriter::~PointCloudPlyWriter ( )
privatevirtual

Definition at line 154 of file PointCloudPlyWriter.cpp.

◆ PointCloudPlyWriter() [2/2]

visionary::PointCloudPlyWriter::PointCloudPlyWriter ( const PointCloudPlyWriter )
private

Member Function Documentation

◆ operator=()

const PointCloudPlyWriter& visionary::PointCloudPlyWriter::operator= ( const PointCloudPlyWriter )
private

◆ WriteFormatPLY() [1/4]

bool visionary::PointCloudPlyWriter::WriteFormatPLY ( const char *  filename,
const std::vector< PointXYZ > &  points,
bool  useBinary 
)
static

Save a point cloud to a file in Polygon File Format (PLY), see: https://en.wikipedia.org/wiki/PLY_%28file_format%29

Parameters
filenameThe file to save the point cloud to
pointsThe points to save
useBinaryIf the output file is binary or ascii
Returns
Returns true if write was successful and false otherwise

Definition at line 30 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 
)
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
filenameThe file to save the point cloud to
pointsThe points to save
intensityMapIntensities for each point, must be same length as points
useBinaryIf the output file is binary or ascii
Returns
Returns true if write was successful and false otherwise

Definition at line 46 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 
)
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
filenameThe file to save the point cloud to
pointsThe points to save
rgbaMapRGBA colors for each point, must be same length as points
useBinaryIf the output file is binary or ascii
Returns
Returns true if write was successful and false otherwise

Definition at line 38 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 
)
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">Specification

Parameters
filenameThe file to save the point cloud to
pointsThe points to save
rgbaMapRGBA colors for each point, must be same length as points
intensityMapIntensities for each point, must be same length as points
useBinaryIf the output file is binary or ascii
Returns
Returns true if write was successful and false otherwise

Definition at line 54 of file PointCloudPlyWriter.cpp.


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


sick_safevisionary_base
Author(s):
autogenerated on Sat Oct 21 2023 02:24:26