PointCloudPlyWriter.h
Go to the documentation of this file.
1 //
2 // Copyright (c) 2023 SICK AG, Waldkirch
3 //
4 // SPDX-License-Identifier: Unlicense
5 
6 #pragma once
7 
8 #include <cstdint>
9 #include <vector>
10 
11 #include "PointXYZ.h"
12 
13 namespace visionary {
14 
16 {
19 
22 
25 };
26 
29 {
30 public:
32  const PointCloudPlyWriter& operator=(const PointCloudPlyWriter&) = delete;
38  static bool WriteFormatPLY(const char* filename,
39  const std::vector<PointXYZ>& points,
40  bool useBinary,
42 
49  static bool WriteFormatPLY(const char* filename,
50  const std::vector<PointXYZ>& points,
51  const std::vector<uint32_t>& rgbaMap,
52  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,
66 
74  static bool WriteFormatPLY(const char* filename,
75  const std::vector<PointXYZ>& points,
76  const std::vector<uint32_t>& rgbaMap,
77  const std::vector<uint16_t>& intensityMap,
78  bool useBinary,
80 
81 private:
82  // No instantiations
84  virtual ~PointCloudPlyWriter();
85 };
86 
87 } // namespace visionary
visionary::PointCloudPlyWriter::~PointCloudPlyWriter
virtual ~PointCloudPlyWriter()
visionary::INVALID_AS_NAN
@ INVALID_AS_NAN
Not a Number = nan.
Definition: PointCloudPlyWriter.h:18
visionary
Definition: MD5.cpp:44
visionary::INVALID_AS_ZERO
@ INVALID_AS_ZERO
Zero = 0.0.
Definition: PointCloudPlyWriter.h:21
visionary::INVALID_SKIP
@ INVALID_SKIP
Skip => don't print the number.
Definition: PointCloudPlyWriter.h:24
PointXYZ.h
visionary::PointCloudPlyWriter::WriteFormatPLY
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....
Definition: PointCloudPlyWriter.cpp:15
visionary::PointCloudPlyWriter
Class for writing point clouds to PLY files.
Definition: PointCloudPlyWriter.h:28
visionary::PointCloudPlyWriter::PointCloudPlyWriter
PointCloudPlyWriter()
visionary::PointCloudPlyWriter::operator=
const PointCloudPlyWriter & operator=(const PointCloudPlyWriter &)=delete
visionary::InvalidPointPresentation
InvalidPointPresentation
Definition: PointCloudPlyWriter.h:15


sick_visionary_ros
Author(s): SICK AG TechSupport 3D Snapshot
autogenerated on Thu Feb 8 2024 03:45:47