MCPcopy Create free account
hub / github.com/city-super/Scaffold-GS / writeToFile

Method writeToFile

SIBR_viewers/src/core/assets/InputCamera.cpp:1211–1218  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1209 }
1210
1211 void InputCamera::writeToFile(std::ostream& outfile) const
1212 {
1213 outfile << IBRVIEW_TOPVIEW_SAVEVERSION "\n";
1214 Vector3f v = transform().position();
1215 Quaternionf q = transform().rotation();
1216 outfile << " " << v.x() << " " << v.y() << " " << v.z() << " ";
1217 outfile << q.x() << " " << q.y() << " " << q.z() << " " << q.w();
1218 }
1219
1220 std::string InputCamera::toBundleString(bool negativeZ, bool recomputeFocal) const {
1221

Callers 1

saveMethod · 0.80

Calls 3

positionMethod · 0.45
rotationMethod · 0.45
wMethod · 0.45

Tested by

no test coverage detected