constants.h
Go to the documentation of this file.
1 #pragma once
2 
3 // PCL
4 #include <pcl/point_types.h>
5 
6 // core
8 
9 // memory
11 
13 {
14  const constexpr char* POINTXYZ_CORE_SEGMENT_NAME = "PointCloudXYZ";
15  const constexpr char* POINTXYZL_CORE_SEGMENT_NAME = "PointCloudXYZL";
16  const constexpr char* POINTXYZRGBA_CORE_SEGMENT_NAME = "PointCloudXYZRGBA";
17  const constexpr char* POINTXYZRGBL_CORE_SEGMENT_NAME = "PointCloudXYZRGBL";
18 
19  const constexpr char* ENTITY_NAME = "PointCloud";
20 
21  template <class PointT>
22  inline std::string
24  {
26  {
28  }
30  {
32  }
34  {
36  }
38  {
40  }
41  throw armarx::LocalException("Could not map a pcl::PointT to a known core segment.");
42  }
43 } // namespace visionx::armem::pointcloud
LocalException.h
MemoryID.h
visionx::armem::pointcloud::POINTXYZRGBL_CORE_SEGMENT_NAME
const constexpr char * POINTXYZRGBL_CORE_SEGMENT_NAME
Definition: constants.h:17
visionx::armem::pointcloud::ENTITY_NAME
const constexpr char * ENTITY_NAME
Definition: constants.h:19
cxxopts::value
std::shared_ptr< Value > value()
Definition: cxxopts.hpp:926
visionx::armem::pointcloud::GetCoreSegmentNameFor
std::string GetCoreSegmentNameFor()
Definition: constants.h:23
visionx::armem::pointcloud
Definition: constants.cpp:3
visionx::armem::pointcloud::POINTXYZL_CORE_SEGMENT_NAME
const constexpr char * POINTXYZL_CORE_SEGMENT_NAME
Definition: constants.h:15
visionx::armem::pointcloud::POINTXYZRGBA_CORE_SEGMENT_NAME
const constexpr char * POINTXYZRGBA_CORE_SEGMENT_NAME
Definition: constants.h:16
visionx::armem::pointcloud::POINTXYZ_CORE_SEGMENT_NAME
const constexpr char * POINTXYZ_CORE_SEGMENT_NAME
Definition: constants.h:14