MCPcopy Create free account
hub / github.com/MrNeRF/LichtFeld-Studio / addSplatFileToScene

Method addSplatFileToScene

src/visualizer/core/data_loading_service.cpp:256–266  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

254 }
255
256 void DataLoadingService::addSplatFileToScene(const std::filesystem::path& path) {
257 if (isSOGFile(path)) {
258 addSOGToScene(path);
259 } else if (isPLYFile(path)) {
260 addPLYToScene(path);
261 } else {
262 // Generic add
263 std::string name = lfs::core::path_to_utf8(path.stem());
264 scene_manager_->addSplatFile(path, name);
265 }
266 }
267
268 std::expected<void, std::string> DataLoadingService::loadDataset(const std::filesystem::path& path) {
269 LOG_TIMER("LoadDataset");

Callers 2

updateMethod · 0.80
addSplatFileMethod · 0.80

Calls 2

path_to_utf8Function · 0.85
addSplatFileMethod · 0.45

Tested by

no test coverage detected