MCPcopy Create free account
hub / github.com/Kitware/VTK / loadFileByName

Function loadFileByName

Examples/Emscripten/Cxx/GeometryViewer/web/index.js:106–110  ·  view source on GitHub ↗
(filename)

Source from the content-addressed store, hash-verified

104}
105
106async function loadFileByName(filename) {
107 if (!wasmModule || !viewer) return;
108 await viewer.loadDataFile(filename);
109 await postFileLoad();
110}
111
112async function onResetSession() {
113 await viewer.removeAllActors();

Callers 1

onDirectoryChangedFunction · 0.85

Calls 1

postFileLoadFunction · 0.85

Tested by

no test coverage detected