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

Function getMapNameFromFileType

src/aliceVision/mvsUtils/mapIO.cpp:29–61  ·  view source on GitHub ↗

* @brief Get the map name from the given fileType enum * @param[in] fileType the map fileType enum * @return map type string */

Source from the content-addressed store, hash-verified

27 * @return map type string
28 */
29std::string getMapNameFromFileType(EFileType fileType)
30{
31 switch (fileType)
32 {
33 case EFileType::depthMap:
34 return "depth map";
35 break;
36 case EFileType::depthMapFiltered:
37 return "filtered depth map";
38 break;
39 case EFileType::simMap:
40 return "similarity map";
41 break;
42 case EFileType::simMapFiltered:
43 return "filtered similarity map";
44 break;
45 case EFileType::normalMap:
46 return "normal map";
47 break;
48 case EFileType::normalMapFiltered:
49 return "filtered normal map";
50 break;
51 case EFileType::thicknessMap:
52 return "thickness map";
53 break;
54 case EFileType::pixSizeMap:
55 return "pixSize map";
56 break;
57 default:
58 break;
59 }
60 return "unknown map";
61}
62
63/**
64 * @brief Get tile map ROI from file metadata.

Callers 3

getTilePathListFunction · 0.85
readMapFromFileOrTilesFunction · 0.85
deleteMapTilesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected