Skip to content

Commit f9896c7

Browse files
committed
fix(MedicalColorPresets): add Blue to Red Rainbow preset
Need to add here as vtk.js colormaps are excluded from built bundle.
1 parent fd0147b commit f9896c7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/vtk/MedicalColorPresets.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1518,5 +1518,11 @@
15181518
1,
15191519
1
15201520
]
1521+
},
1522+
{
1523+
"ColorSpace" : "HSV",
1524+
"Name" : "Blue to Red Rainbow",
1525+
"NanColor" : [ 0.498039215686, 0.498039215686, 0.498039215686 ],
1526+
"RGBPoints" : [ 0, 0, 0, 1, 1, 1, 0, 0 ]
15211527
}
15221528
]

0 commit comments

Comments
 (0)