Searched refs:carPartsMap (Results 1 – 3 of 3) sorted by relevance
/packages/services/Car/surround_view/service-impl/ |
D | ObjReader.cpp | 72 bool ReadObjFromFile(const std::string& objFilename, std::map<std::string, CarPart>* carPartsMap) { in ReadObjFromFile() argument 73 return ReadObjFromFile(objFilename, ReadObjOptions(), carPartsMap); in ReadObjFromFile() 77 std::map<std::string, CarPart>* carPartsMap) { in ReadObjFromFile() argument 121 if (carPartsMap->find(currentGroupName) != carPartsMap->end()) { in ReadObjFromFile() 126 carPartsMap->emplace( in ReadObjFromFile() 137 carPartsMap->emplace( in ReadObjFromFile() 148 carPartsMap->at(currentGroupName).material = CarMaterial(); in ReadObjFromFile() 155 carPartsMap->at(currentGroupName).material.ka = {currentMtlConfig.ka[0], in ReadObjFromFile() 159 carPartsMap->at(currentGroupName).material.kd = {currentMtlConfig.kd[0], in ReadObjFromFile() 163 carPartsMap->at(currentGroupName).material.ks = {currentMtlConfig.ks[0], in ReadObjFromFile() [all …]
|
D | ObjReaderTests.cpp | 37 std::map<std::string, CarPart> carPartsMap; in TEST() local 38 EXPECT_TRUE(ReadObjFromFile("/etc/automotive/sv/cube.obj", &carPartsMap)); in TEST() 39 EXPECT_NE(carPartsMap.size(), 0); in TEST()
|
D | ObjReader.h | 62 bool ReadObjFromFile(const std::string& objFilename, std::map<std::string, CarPart>* carPartsMap); 69 std::map<std::string, CarPart>* carPartsMap);
|