66 std::stringstream objName;
67 objName <<
obj->getName();
71 g_log.
debug(
"Cache not found for Object with name " + objName.str());
75 int noOfTriangles = 0, noOfPoints = 0;
76 std::vector<double> Points;
77 std::vector<uint32_t> Faces;
78 std::stringstream buff;
80 buff << pEle->getAttribute(
"NumberOfPoints");
84 buff << pEle->getAttribute(
"NumberOfPolys");
85 buff >> noOfTriangles;
89 Element *pPts = pEle->getChildElement(
"Points")->getChildElement(
"DataArray");
93 Element *pTris = pEle->getChildElement(
"Polys")->getChildElement(
"DataArray");
97 std::shared_ptr<GeometryHandler> handle =
obj->getGeometryHandler();
98 handle->setGeometryCache(noOfPoints, noOfTriangles, std::move(Points), std::move(Faces));