UNPKG

@itk-wasm/mesh-to-poly-data

Version:

Convert an ITK Mesh to a simple data structure compatible with vtkPolyData.

20 lines 831 B
// Generated file. To retain edits, remove this comment. // Generated file. To retain edits, remove this comment. import { getPipelinesBaseUrl as itkWasmGetPipelinesBaseUrl } from 'itk-wasm'; import version from './version.js'; let pipelinesBaseUrl; let defaultPipelinesBaseUrl = `https://cdn.jsdelivr.net/npm/@itk-wasm/mesh-to-poly-data@${version}/dist/pipelines`; export function setPipelinesBaseUrl(baseUrl) { pipelinesBaseUrl = baseUrl; } export function getPipelinesBaseUrl() { if (typeof pipelinesBaseUrl !== 'undefined') { return pipelinesBaseUrl; } const itkWasmPipelinesBaseUrl = itkWasmGetPipelinesBaseUrl(); if (typeof itkWasmPipelinesBaseUrl !== 'undefined') { return itkWasmPipelinesBaseUrl; } return defaultPipelinesBaseUrl; } //# sourceMappingURL=pipelines-base-url.js.map