Go to the documentation of this file.
22 #ifndef OV_TYPE_LANDMARKREPRESENTATION_H
23 #define OV_TYPE_LANDMARKREPRESENTATION_H
58 return "GLOBAL_FULL_INVERSE_DEPTH";
62 return "ANCHORED_FULL_INVERSE_DEPTH";
64 return "ANCHORED_MSCKF_INVERSE_DEPTH";
66 return "ANCHORED_INVERSE_DEPTH_SINGLE";
77 if (feat_representation ==
"GLOBAL_3D")
79 if (feat_representation ==
"GLOBAL_FULL_INVERSE_DEPTH")
81 if (feat_representation ==
"ANCHORED_3D")
83 if (feat_representation ==
"ANCHORED_FULL_INVERSE_DEPTH")
85 if (feat_representation ==
"ANCHORED_MSCKF_INVERSE_DEPTH")
87 if (feat_representation ==
"ANCHORED_INVERSE_DEPTH_SINGLE")
98 return (feat_representation == Representation::ANCHORED_3D || feat_representation == Representation::ANCHORED_FULL_INVERSE_DEPTH ||
99 feat_representation == Representation::ANCHORED_MSCKF_INVERSE_DEPTH ||
100 feat_representation == Representation::ANCHORED_INVERSE_DEPTH_SINGLE);
113 #endif // OV_TYPE_LANDMARKREPRESENTATION_H
static Representation from_string(const std::string &feat_representation)
Returns a string representation of this enum value. Used to debug print out what the user has selecte...
@ ANCHORED_MSCKF_INVERSE_DEPTH
Representation
What feature representation our state can use.
@ GLOBAL_FULL_INVERSE_DEPTH
@ ANCHORED_FULL_INVERSE_DEPTH
Class has useful feature representation types.
@ ANCHORED_INVERSE_DEPTH_SINGLE
static bool is_relative_representation(Representation feat_representation)
Helper function that checks if the passed feature representation is a relative or global.
Dynamic type system types.
static std::string as_string(Representation feat_representation)
Returns a string representation of this enum value. Used to debug print out what the user has selecte...
ov_core
Author(s): Patrick Geneva
, Kevin Eckenhoff , Guoquan Huang
autogenerated on Mon Dec 16 2024 03:06:46