Public Member Functions | 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>

Public Member Functions

const PointCloudPlyWriteroperator= (const PointCloudPlyWriter &)=delete
 
 PointCloudPlyWriter (const PointCloudPlyWriter &)=delete
 

Static Public Member Functions

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...
 

Private Member Functions

 PointCloudPlyWriter ()
 
virtual ~PointCloudPlyWriter ()
 

Detailed Description

Class for writing point clouds to PLY files.

Definition at line 28 of file PointCloudPlyWriter.h.

Constructor & Destructor Documentation

◆ PointCloudPlyWriter() [1/2]

visionary::PointCloudPlyWriter::PointCloudPlyWriter ( const PointCloudPlyWriter )
delete

◆ PointCloudPlyWriter() [2/2]

visionary::PointCloudPlyWriter::PointCloudPlyWriter ( )
privatedefault

◆ ~PointCloudPlyWriter()

visionary::PointCloudPlyWriter::~PointCloudPlyWriter ( )
privatevirtualdefault

Member Function Documentation

◆ operator=()

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

◆ WriteFormatPLY() [1/4]

bool visionary::PointCloudPlyWriter::WriteFormatPLY ( const char *  filename,
const std::vector< PointXYZ > &  points,
bool  useBinary,
InvalidPointPresentation  presentation = INVALID_AS_NAN 
)
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
presentationDefinition 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
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
presentationDefinition 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
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
presentationDefinition 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
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
presentationDefinition 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:


sick_visionary_ros
Author(s): SICK AG TechSupport 3D Snapshot
autogenerated on Thu Feb 8 2024 04:38:18