Skip to content

Commit b7afc2d

Browse files
authored
Merge pull request #1347 from thewtex/doc-rt-struct-ts-polydata-metadata
doc rt struct ts polydata metadata
2 parents 24be6d6 + 0fe1496 commit b7afc2d

3 files changed

Lines changed: 8 additions & 4 deletions

File tree

docs/introduction/file_formats/dicom.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,4 @@ There also certain SOP classes that store non-image related medical information.
4040
- Encapsulated PDF Storage
4141
- Grayscale Softcopy Presentation State Storage SOP Class (GSPS)
4242
- Color Softcopy Presentation State Storage SOP Class (CSPS)
43-
44-
43+
- Radiotherapy Structure Set Storage (RT Struct)

packages/core/typescript/itk-wasm/src/interface-types/poly-data.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import PolyDataType from './poly-data-type.js'
22
import TypedArray from '../typed-array.js'
3+
import Metadata from './metadata.js'
34

45
class PolyData {
56
name: string = 'PolyData'
@@ -25,7 +26,9 @@ class PolyData {
2526
numberOfCellPixels: number
2627
cellData: null | TypedArray
2728

28-
constructor (public readonly polyDataType = new PolyDataType()) {
29+
metadata: Metadata
30+
31+
constructor(public readonly polyDataType = new PolyDataType()) {
2932
this.polyDataType = polyDataType
3033

3134
this.name = 'PolyData'
@@ -50,6 +53,8 @@ class PolyData {
5053

5154
this.numberOfCellPixels = 0
5255
this.cellData = null
56+
57+
this.metadata = new Map()
5358
}
5459
}
5560

src/docker/RELEASE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@ pixi run build-docker-images --with-debug
1818
pnpm clean && pnpm install && pnpm build && pnpm test
1919
2020
git add -- packages/core/typescript/itk-wasm/src/cli/default-image-tag.js
21-
git commit -m "feat(itk-wasm-cli): Update default Docker image for $(date '+%Y%m%d')-$(git rev-parse --short HEAD)"
21+
git commit -m "feat(itk-wasm-cli): update default Docker image for $(date '+%Y%m%d')-$(git rev-parse --short HEAD)"
2222
```

0 commit comments

Comments
 (0)