IsoSurfaceSpec
Extends: ShapeSpec
Source: GLShape.ts
Isosurface style specification
Instance Fields
callback: Func
Inherited from ShapeSpec#callback
Click handler receiving (shape, viewer, event, container, intersections). Intersections are sorted nearest first.
clickable: boolean
Inherited from ShapeSpec#clickable
if true, user can click on object to trigger callback
color: ColorSpec | Array
Inherited from ShapeSpec#color
Either a single color for the whole object or an array specifying the color at each vertex (CustomShapeSpec).
contextMenuEnabled: boolean
Inherited from ShapeSpec#contextMenuEnabled
if true, user can right-click or long press to trigger callback
coords: Array
Coordinates in angstroms around which to retain surface vertices. Omit for the entire surface; an empty array produces no geometry. Takes precedence over selection.
frame: number
Inherited from ShapeSpec#frame
if set, only display in this frame of an animation
hidden: boolean
Inherited from ShapeSpec#hidden
if true, do not display object
hover_callback: Func
Inherited from ShapeSpec#hover_callback
Hover handler receiving (shape, viewer, event, container, intersections).
hoverable: boolean
Inherited from ShapeSpec#hoverable
if true, user can hover on object to trigger callback
isoval: number
Isovalue (default 0). Positive values enclose higher densities; negative values enclose lower densities.
linewidth: number
Inherited from ShapeSpec#linewidth
width of line for wireframe rendering No longer supported by most browsers
opacity: number
Inherited from ShapeSpec#opacity
Opacity between 0 (invisible) and 1 (opaque), default 1.
radius: number
Use seldist.
seldist: number
Distance in angstroms around coords or selection within which to retain surface vertices (default 2).
selectedOffset: number
Use seldist.
selectedRegion: Array
Use coords.
selection: AtomSelectionSpec
Atom selection resolved by the viewer when coords is omitted. An empty selection produces no geometry.
side: number
Inherited from ShapeSpec#side
Visible faces: FrontSide, BackSide, or DoubleSide (default).
smoothness: number
amount to smooth surface (default 1)
unhover_callback: Func
Inherited from ShapeSpec#unhover_callback
Unhover handler with the hover arguments; event and intersections can be undefined when hover is cleared.
voldata: VolumeData
Overrides: ShapeSpec#voldata
volumetric data for vertex coloring, can be VolumeData object or raw data if volformat is specified
volformat: string
format of voldata if not a $3Dmol.VolumeData object
volscheme: GradientType
Overrides: ShapeSpec#volscheme
Coloring scheme for mapping volumetric data to vertex color. A built-in gradient can be described with gradient, min, max, and optional mid fields.
voxel: boolean
if true uses voxel style rendering
wireframe: boolean
Inherited from ShapeSpec#wireframe
draw as wireframe, not surface