MCPcopy Create free account
hub / github.com/city-super/Octree-GS / getInfos

Method getInfos

SIBR_viewers/src/core/view/MultiMeshManager.cpp:151–166  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

149 }
150
151 std::string MeshData::getInfos() const
152 {
153 if (!meshPtr) {
154 return "no mesh";
155 }
156
157 std::stringstream s;
158 s << meshPtr->vertices().size() << " vertices \n" <<
159 meshPtr->triangles().size() << " triangles \n" <<
160 "hasNormals() : " << meshPtr->hasNormals() << "\n" <<
161 "hasColors() : " << meshPtr->hasColors() << "\n" <<
162 "hasTexCoords() : " << meshPtr->hasTexCoords() << "\n"
163 ;
164
165 return s.str();
166 }
167
168 MeshData & MeshData::setColor(const Vector3f & col)
169 {

Callers 1

list_mesh_onGUIMethod · 0.80

Calls 6

hasNormalsMethod · 0.80
hasColorsMethod · 0.80
hasTexCoordsMethod · 0.80
verticesMethod · 0.60
trianglesMethod · 0.60
sizeMethod · 0.45

Tested by

no test coverage detected