MCPcopy Create free account
hub / github.com/ColmapView/Colmapview.github.io / findSplatFileSources

Function findSplatFileSources

src/utils/fileClassification.ts:130–138  ·  view source on GitHub ↗
(files: Map<string, File>)

Source from the content-addressed store, hash-verified

128}
129
130export function findSplatFileSources(files: Map<string, File>): SplatFileSource[] {
131 return getLocalSplatCandidates(files)
132 .sort((a, b) => compareSplatCandidates(b, a))
133 .map((candidate) => ({
134 id: candidate.path,
135 path: candidate.path,
136 file: candidate.file,
137 }));
138}
139
140/**
141 * Find the preferred splat file in a scanned dataset.

Callers 4

loadManifestSourceFunction · 0.90
loadZipUrlSourceFunction · 0.90
findSplatFilesFunction · 0.85

Calls 2

compareSplatCandidatesFunction · 0.90
getLocalSplatCandidatesFunction · 0.85

Tested by

no test coverage detected