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

Method hasMasks

src/dataset/DatasetManager.ts:141–144  ·  view source on GitHub ↗

Check if the dataset has masks available

()

Source from the content-addressed store, hash-verified

139
140 /** Check if the dataset has masks available */
141 hasMasks(): boolean {
142 const state = this.getState();
143 return this.getSourceAdapter(state)?.hasMasks(state) ?? false;
144 }
145}

Callers 7

useImageDetailFilesFunction · 0.45
prepareSplatPsnrImageFunction · 0.45
ExportPanel.tsxFile · 0.45
useImageGalleryViewModelFunction · 0.45

Calls 1

getSourceAdapterMethod · 0.95

Tested by

no test coverage detected