We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1293844 commit 0fe1496Copy full SHA for 0fe1496
packages/core/typescript/itk-wasm/src/interface-types/poly-data.ts
@@ -1,5 +1,6 @@
1
import PolyDataType from './poly-data-type.js'
2
import TypedArray from '../typed-array.js'
3
+import Metadata from './metadata.js'
4
5
class PolyData {
6
name: string = 'PolyData'
@@ -25,7 +26,9 @@ class PolyData {
25
26
numberOfCellPixels: number
27
cellData: null | TypedArray
28
- constructor (public readonly polyDataType = new PolyDataType()) {
29
+ metadata: Metadata
30
+
31
+ constructor(public readonly polyDataType = new PolyDataType()) {
32
this.polyDataType = polyDataType
33
34
this.name = 'PolyData'
@@ -50,6 +53,8 @@ class PolyData {
50
53
51
54
this.numberOfCellPixels = 0
52
55
this.cellData = null
56
57
+ this.metadata = new Map()
58
}
59
60
0 commit comments