huangcm
2024-12-18 9d29be7f7249789d6ffd0440067187a9f040c2cd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#ifndef DYNAMIC_DEPTH_INTERNAL_DYNAMIC_DEPTH_CONST_H_  // NOLINT
#define DYNAMIC_DEPTH_INTERNAL_DYNAMIC_DEPTH_CONST_H_  // NOLINT
 
#include <array>
#include <map>
#include <string>
#include <vector>
 
namespace dynamic_depth {
 
struct DynamicDepthConst {
  // Dynamic Depth element names.
  static const char* AppInfo();
  static const char* Camera();
  static const char* DepthMap();
  static const char* Device();
  static const char* EarthPose();
  static const char* ImagingModel();
  static const char* LightEstimate();
  static const char* Image();
  static const char* Item();
  static const char* Plane();
  static const char* PointCloud();
  static const char* Pose();
  static const char* Profile();
  static const char* VendorInfo();
 
  // Dynamic Depth type names (not shared with elements).
  static const char* Cameras();
  static const char* Container();
  static const char* Planes();
  static const char* Profiles();
 
  // Maps elements to the names of their XML namespaces.
  static const std::string Namespace(const std::string& node_name);
 
  // Distortion type names.
  // LINT.IfChange
  static constexpr int kNumDistortionTypes = 4;
  static constexpr std::array<const char*, kNumDistortionTypes>
      kDistortionTypeNames = {
          {"None", "BrownsTwoParams", "BrownsThreeParams", "BrownsFiveParams"}};
  // LINT.ThenChange(//depot/google3/photos/editing/formats/dynamic_depth/\
  //                 internal/dynamic_depth/distortion_type.h)
};
 
}  // namespace dynamic_depth
 
#endif  // DYNAMIC_DEPTH_INTERNAL_DYNAMIC_DEPTH_CONST_H_  // NOLINT