-</code></pre></div></div><p>The next elements follow the same rules; therefore, the final script will be available at the end for completeness.</p><p>In order to set the transparency of the 3D image, we need another field reusing the <em>SoWEMRendererImage.faceAlphaValue</em>. Add a field <em>imageAlpha</em> to the <em>Parameters</em> section. Define <em>internalName = SoWEMRendererImage.faceAlphaValue</em>, <em>type = Integer</em>, <em>min = 0</em>, and <em>max = 1</em>.</p><p>Add the field to the <em>Settings Box</em> and set <em>step = 0.1</em> and <em>slider = True</em>.</p><p>For the <code>RegionGrowing</code> threshold, add the field <em>thresholdInterval</em> to <em>Parameters</em> section and set <em>type = Integer</em>, <em>min = 1</em>, <em>max = 100</em>, and <em>internalName = RegionGrowing.autoThresholdIntervalSizeInPercent</em>.</p><p>Add the field to the <em>Settings</em> UI, and define <em>step = 0.1</em> and <em>slider = True</em>.</p><p>Define a field <em>isoValueImage</em> in the <em>Parameters</em> section and set <em>internalName = IsoSurfaceImage.isoValue</em>, <em>type = Integer</em>, <em>min = 1</em>, and <em>max = 1000</em>.</p><p>In the <em>Settings</em> section of the UI, set <em>step = 2</em> and <em>slider = True</em>.</p><div class=card style=margin-bottom:2rem><div class="card-header d-flex justify-content-between"><p class="card-title m-0"><MACRO_NAME>.script</p></div><div class=card-body><pre tabindex=0><code class=language-Stan data-lang=Stan>Interface {
0 commit comments