PointCloudPlyWriter.h
Go to the documentation of this file.
1 // -- BEGIN LICENSE BLOCK ----------------------------------------------
20 // -- END LICENSE BLOCK ------------------------------------------------
21 
22 #pragma once
23 
24 #include <cstdint>
25 #include <string>
26 #include <vector>
27 
28 #include "PointXYZ.h"
29 
30 namespace visionary {
31 
34 {
35 public:
41  static bool
42  WriteFormatPLY(const char* filename, const std::vector<PointXYZ>& points, bool useBinary);
43 
50  static bool WriteFormatPLY(const char* filename,
51  const std::vector<PointXYZ>& points,
52  const std::vector<uint32_t>& rgbaMap,
53  bool useBinary);
54 
61  static bool WriteFormatPLY(const char* filename,
62  const std::vector<PointXYZ>& points,
63  const std::vector<uint16_t>& intensityMap,
64  bool useBinary);
65 
73  static bool WriteFormatPLY(const char* filename,
74  const std::vector<PointXYZ>& points,
75  const std::vector<uint32_t>& rgbaMap,
76  const std::vector<uint16_t>& intensityMap,
77  bool useBinary);
78 
79 private:
80  // No instantiations
82  virtual ~PointCloudPlyWriter();
85 };
86 
87 } // namespace visionary
visionary::PointCloudPlyWriter::~PointCloudPlyWriter
virtual ~PointCloudPlyWriter()
Definition: PointCloudPlyWriter.cpp:154
visionary
Definition: AuthenticationLegacy.h:25
visionary::PointCloudPlyWriter::operator=
const PointCloudPlyWriter & operator=(const PointCloudPlyWriter &)
PointXYZ.h
visionary::PointCloudPlyWriter
Class for writing point clouds to PLY files.
Definition: PointCloudPlyWriter.h:33
visionary::PointCloudPlyWriter::PointCloudPlyWriter
PointCloudPlyWriter()
Definition: PointCloudPlyWriter.cpp:152
visionary::PointCloudPlyWriter::WriteFormatPLY
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....
Definition: PointCloudPlyWriter.cpp:30


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