Mercurial > hg > orthanc-volview
annotate VolView/VolView-4.1.1.patch @ 19:9d35ffe3e321 default tip
added CITATION.cff
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Sat, 06 Apr 2024 17:34:19 +0200 |
parents | 59117a506f9f |
children |
rev | line source |
---|---|
7
59117a506f9f
Upgrade to VolView 4.1.1
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
1 diff -urEb VolView-4.1.1.orig/src/config.ts VolView-4.1.1/src/config.ts |
59117a506f9f
Upgrade to VolView 4.1.1
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
2 --- VolView-4.1.1.orig/src/config.ts 2023-05-19 12:58:22.916872311 +0200 |
59117a506f9f
Upgrade to VolView 4.1.1
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
3 +++ VolView-4.1.1/src/config.ts 2023-05-19 13:01:13.557196054 +0200 |
59117a506f9f
Upgrade to VolView 4.1.1
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
4 @@ -124,7 +124,7 @@ |
59117a506f9f
Upgrade to VolView 4.1.1
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
5 } as Record<number, number[]>; |
59117a506f9f
Upgrade to VolView 4.1.1
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
6 |
59117a506f9f
Upgrade to VolView 4.1.1
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
7 export const SAMPLE_DATA: SampleDataset[] = [ |
59117a506f9f
Upgrade to VolView 4.1.1
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
8 - { |
59117a506f9f
Upgrade to VolView 4.1.1
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
9 + /*{ |
59117a506f9f
Upgrade to VolView 4.1.1
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
10 name: 'CTA Head and Neck', |
59117a506f9f
Upgrade to VolView 4.1.1
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
11 filename: 'CTA-Head_and_Neck.zip', |
59117a506f9f
Upgrade to VolView 4.1.1
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
12 description: |
59117a506f9f
Upgrade to VolView 4.1.1
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
13 @@ -163,7 +163,7 @@ |
59117a506f9f
Upgrade to VolView 4.1.1
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
14 '3D ultrasound of a baby. Downloaded from tomovision.com.(8 MB)', |
59117a506f9f
Upgrade to VolView 4.1.1
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
15 url: 'https://data.kitware.com/api/v1/item/635679c311dab8142820a4f4/download', |
59117a506f9f
Upgrade to VolView 4.1.1
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
16 image: USFetusThumbnail, |
59117a506f9f
Upgrade to VolView 4.1.1
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
17 - }, |
59117a506f9f
Upgrade to VolView 4.1.1
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
18 + },*/ |
59117a506f9f
Upgrade to VolView 4.1.1
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
19 ]; |
59117a506f9f
Upgrade to VolView 4.1.1
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
20 |
59117a506f9f
Upgrade to VolView 4.1.1
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
21 export const TOOL_COLORS = [ |
59117a506f9f
Upgrade to VolView 4.1.1
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
22 diff -urEb VolView-4.1.1.orig/src/io/itk/itkConfig.js VolView-4.1.1/src/io/itk/itkConfig.js |
59117a506f9f
Upgrade to VolView 4.1.1
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
23 --- VolView-4.1.1.orig/src/io/itk/itkConfig.js 2023-05-19 12:58:22.924872326 +0200 |
59117a506f9f
Upgrade to VolView 4.1.1
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
24 +++ VolView-4.1.1/src/io/itk/itkConfig.js 2023-05-19 12:58:52.900929265 +0200 |
59117a506f9f
Upgrade to VolView 4.1.1
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
25 @@ -1,9 +1,11 @@ |
59117a506f9f
Upgrade to VolView 4.1.1
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
26 const base = process.env.VUE_APP_PUBLIC_PATH ?? ''; |
59117a506f9f
Upgrade to VolView 4.1.1
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
27 const itkConfig = { |
59117a506f9f
Upgrade to VolView 4.1.1
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
28 - pipelineWorkerUrl: `${base}/itk/pipeline.worker.js`, |
59117a506f9f
Upgrade to VolView 4.1.1
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
29 - imageIOUrl: `${base}/itk/image-io`, |
59117a506f9f
Upgrade to VolView 4.1.1
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
30 - meshIOUrl: `${base}/itk/mesh-io`, |
59117a506f9f
Upgrade to VolView 4.1.1
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
31 - pipelinesUrl: `${base}/itk/pipelines`, |
59117a506f9f
Upgrade to VolView 4.1.1
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
32 + pipelineWorkerUrl: `./itk/pipeline.worker.js`, |
59117a506f9f
Upgrade to VolView 4.1.1
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
33 + |
59117a506f9f
Upgrade to VolView 4.1.1
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
34 + // The URIs below are relative to "pipeline.worker.js" |
59117a506f9f
Upgrade to VolView 4.1.1
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
35 + imageIOUrl: `./image-io`, |
59117a506f9f
Upgrade to VolView 4.1.1
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
36 + meshIOUrl: `./mesh-io`, |
59117a506f9f
Upgrade to VolView 4.1.1
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
37 + pipelinesUrl: `./pipelines`, |
59117a506f9f
Upgrade to VolView 4.1.1
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
38 }; |
59117a506f9f
Upgrade to VolView 4.1.1
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
39 |
59117a506f9f
Upgrade to VolView 4.1.1
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
40 export default itkConfig; |
59117a506f9f
Upgrade to VolView 4.1.1
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
41 diff -urEb VolView-4.1.1.orig/vue.config.js VolView-4.1.1/vue.config.js |
59117a506f9f
Upgrade to VolView 4.1.1
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
42 --- VolView-4.1.1.orig/vue.config.js 2023-05-19 12:58:22.916872311 +0200 |
59117a506f9f
Upgrade to VolView 4.1.1
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
43 +++ VolView-4.1.1/vue.config.js 2023-05-19 12:59:16.820974677 +0200 |
59117a506f9f
Upgrade to VolView 4.1.1
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
44 @@ -31,7 +31,7 @@ |
59117a506f9f
Upgrade to VolView 4.1.1
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
45 return args; |
59117a506f9f
Upgrade to VolView 4.1.1
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
46 }); |
59117a506f9f
Upgrade to VolView 4.1.1
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
47 }, |
59117a506f9f
Upgrade to VolView 4.1.1
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
48 - publicPath: process.env.VUE_APP_PUBLIC_PATH || '/', |
59117a506f9f
Upgrade to VolView 4.1.1
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
49 + publicPath: process.env.VUE_APP_PUBLIC_PATH || '.', |
59117a506f9f
Upgrade to VolView 4.1.1
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
50 configureWebpack: { |
59117a506f9f
Upgrade to VolView 4.1.1
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
51 devtool: 'source-map', |
59117a506f9f
Upgrade to VolView 4.1.1
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
52 resolve: { |