Skip to content

Commit 35394e3

Browse files
authored
Merge pull request #551 from thewtex/volume-scattering-api
ENH: Add set_image_volume_scattering_blend
2 parents 93ac4e9 + ea81bdc commit 35394e3

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

itkwidgets/viewer.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,9 @@ def set_image_shadow_enabled(self, enabled: bool):
252252
def set_image_volume_sample_distance(self, distance: float):
253253
self.queue_request('setImageVolumeSampleDistance', distance)
254254

255+
def set_image_volume_scattering_blend(self, scattering_blend: float):
256+
self.queue_request('setImageVolumeScatteringBlend', scattering_blend)
257+
255258
def set_label_image(self, label_image: Image):
256259
render_type = _detect_render_type(label_image, 'image')
257260
if render_type is RenderType.IMAGE:

itkwidgets/viewer_config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
ITK_VIEWER_SRC = (
2-
"https://bafybeih326hyc6zqkbsfskdu56fbfuutvelk2sycdic74unaggsulheffu.on.fleek.co/"
2+
"https://bafybeiervmpz64cha6txkd2fqi7n4fgcuhaqntllccvc5po2aqknefchw4.on.fleek.co/"
33
)
44
PYDATA_SPHINX_HREF = "https://cdn.jsdelivr.net/npm/[email protected]/dist/bootstrapUIMachineOptions.js.es.js"
55
MUI_HREF = "https://cdn.jsdelivr.net/npm/[email protected]/dist/materialUIMachineOptions.js.es.js"

0 commit comments

Comments
 (0)