Skip to content
Snippets Groups Projects
Commit c0f60d48 authored by Alexander Rose's avatar Alexander Rose
Browse files

tweaked label/description for custom volume param.isRelative

parent e40f08d4
No related branches found
No related tags found
No related merge requests found
......@@ -189,16 +189,16 @@ export class VolumeStreamingCustomControls extends PluginUIComponent<StateTransf
bottomLeft: PD.Vec3(Vec3.zero()),
topRight: PD.Vec3(Vec3.zero()),
detailLevel,
isRelative: PD.Boolean(isRelative, { description: 'Use relative or absolute iso values.' })
isRelative: PD.Boolean(isRelative, { description: 'Use normalized or absolute isocontour scale.', label: 'Normalized' })
}, { description: 'Static box defined by cartesian coords.' }),
'selection-box': PD.Group({
radius: PD.Numeric(5, { min: 0, max: 50, step: 0.5 }, { description: 'Radius in \u212B within which the volume is shown.' }),
detailLevel,
isRelative: PD.Boolean(isRelative, { description: 'Use relative or absolute iso values.' })
isRelative: PD.Boolean(isRelative, { description: 'Use normalized or absolute isocontour scale.', label: 'Normalized' })
}, { description: 'Box around last-interacted element.' }),
'cell': PD.Group({
detailLevel,
isRelative: PD.Boolean(isRelative, { description: 'Use relative or absolute iso values.' })
isRelative: PD.Boolean(isRelative, { description: 'Use normalized or absolute isocontour scale.', label: 'Normalized' })
}, { description: 'Box around the structure\'s bounding box.' }),
// 'auto': PD.Group({ }), // TODO based on camera distance/active selection/whatever, show whole structure or slice.
}, { options: VolumeStreaming.ViewTypeOptions, description: 'Controls what of the volume is displayed. "Off" hides the volume alltogether. "Bounded box" shows the volume inside the given box. "Around Interaction" shows the volume around the element/atom last interacted with. "Whole Structure" shows the volume for the whole structure.' })
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment