itk-wasm
Version:
High-performance spatial analysis in a web browser, Node.js, and reproducible execution across programming languages and hardware architectures.
20 lines • 894 B
JavaScript
import FloatTypes from './float-types.js';
import PixelTypes from './pixel-types.js';
class PolyDataType {
pointPixelComponentType;
pointPixelType;
pointPixelComponents;
cellPixelComponentType;
cellPixelType;
cellPixelComponents;
constructor(pointPixelComponentType = FloatTypes.Float32, pointPixelType = PixelTypes.Scalar, pointPixelComponents = 1, cellPixelComponentType = FloatTypes.Float32, cellPixelType = PixelTypes.Scalar, cellPixelComponents = 1) {
this.pointPixelComponentType = pointPixelComponentType;
this.pointPixelType = pointPixelType;
this.pointPixelComponents = pointPixelComponents;
this.cellPixelComponentType = cellPixelComponentType;
this.cellPixelType = cellPixelType;
this.cellPixelComponents = cellPixelComponents;
}
}
export default PolyDataType;
//# sourceMappingURL=poly-data-type.js.map