MCPcopy Create free account
hub / github.com/alicevision/AliceVision / EUnwrapMethod_enumToString

Function EUnwrapMethod_enumToString

src/aliceVision/mesh/Texturing.cpp:65–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63}
64
65std::string EUnwrapMethod_enumToString(EUnwrapMethod method)
66{
67 switch (method)
68 {
69 case EUnwrapMethod::Basic:
70 return "Basic";
71 case EUnwrapMethod::ABF:
72 return "ABF";
73 case EUnwrapMethod::LSCM:
74 return "LSCM";
75 }
76 throw std::out_of_range("Unrecognized EUnwrapMethod");
77}
78
79EVisibilityRemappingMethod EVisibilityRemappingMethod_stringToEnum(const std::string& method)
80{

Callers 2

unwrapMethod · 0.85
aliceVision_mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected