UNPKG

itk-wasm

Version:

High-performance spatial analysis in a web browser, Node.js, and reproducible execution across programming languages and hardware architectures.

14 lines (13 loc) 1.08 kB
import IntTypes from './int-types.js'; import FloatTypes from './float-types.js'; import PixelTypes from './pixel-types.js'; declare class PolyDataType { readonly pointPixelComponentType: typeof IntTypes[keyof typeof IntTypes] | typeof FloatTypes[keyof typeof FloatTypes]; readonly pointPixelType: typeof PixelTypes[keyof typeof PixelTypes]; readonly pointPixelComponents: number; readonly cellPixelComponentType: typeof IntTypes[keyof typeof IntTypes] | typeof FloatTypes[keyof typeof FloatTypes]; readonly cellPixelType: typeof PixelTypes[keyof typeof PixelTypes]; readonly cellPixelComponents: number; constructor(pointPixelComponentType?: typeof IntTypes[keyof typeof IntTypes] | typeof FloatTypes[keyof typeof FloatTypes], pointPixelType?: typeof PixelTypes[keyof typeof PixelTypes], pointPixelComponents?: number, cellPixelComponentType?: typeof IntTypes[keyof typeof IntTypes] | typeof FloatTypes[keyof typeof FloatTypes], cellPixelType?: typeof PixelTypes[keyof typeof PixelTypes], cellPixelComponents?: number); } export default PolyDataType;