itk-wasm
Version:
High-performance spatial analysis in a web browser, Node.js, and reproducible execution across programming languages and hardware architectures.
17 lines (16 loc) • 1.43 kB
TypeScript
import IntTypes from './int-types.js';
import FloatTypes from './float-types.js';
import PixelTypes from './pixel-types.js';
declare class MeshType {
readonly dimension: number;
readonly pointComponentType: (typeof FloatTypes)[keyof typeof FloatTypes];
readonly pointPixelComponentType: (typeof IntTypes)[keyof typeof IntTypes] | (typeof FloatTypes)[keyof typeof FloatTypes];
readonly pointPixelType: (typeof PixelTypes)[keyof typeof PixelTypes];
readonly pointPixelComponents: number;
readonly cellComponentType: (typeof IntTypes)[keyof typeof IntTypes];
readonly cellPixelComponentType: (typeof IntTypes)[keyof typeof IntTypes] | (typeof FloatTypes)[keyof typeof FloatTypes];
readonly cellPixelType: (typeof PixelTypes)[keyof typeof PixelTypes];
readonly cellPixelComponents: number;
constructor(dimension?: number, pointComponentType?: (typeof FloatTypes)[keyof typeof FloatTypes], pointPixelComponentType?: (typeof IntTypes)[keyof typeof IntTypes] | (typeof FloatTypes)[keyof typeof FloatTypes], pointPixelType?: (typeof PixelTypes)[keyof typeof PixelTypes], pointPixelComponents?: number, cellComponentType?: (typeof IntTypes)[keyof typeof IntTypes], cellPixelComponentType?: (typeof IntTypes)[keyof typeof IntTypes] | (typeof FloatTypes)[keyof typeof FloatTypes], cellPixelType?: (typeof PixelTypes)[keyof typeof PixelTypes], cellPixelComponents?: number);
}
export default MeshType;