IsoSurfaceSpec

Isosurface style specification

Extends

Members

callback :Func

function to call on click

Type:
  • Func
Inherited From

clickable :boolean

if true, user can click on object to trigger callback

Type:
  • boolean
Inherited From

color :ColorSpec|Array

Either a single color for the whole object or an array specifying the color at each vertex (CustomShapeSpec).

Type:
Inherited From

contextMenuEnabled :boolean

if true, user can right-click or long press to trigger callback

Type:
  • boolean

coords :Array

coordinates around which to include data; use viewer.selectedAtoms() to convert an AtomSelectionSpec to coordinates

Type:
  • Array

frame :number

if set, only display in this frame of an animation

Type:
  • number
Inherited From

hidden :boolean

if true, do not display object

Type:
  • boolean
Inherited From

hover_callback :Func

hover callback

Type:
  • Func

hoverable :boolean

if true, user can hover on object to trigger callback

Type:
  • boolean
Inherited From

isoval :number

specifies the isovalue to draw surface at

Type:
  • number

linewidth :number

width of line for wireframe rendering No longer supported by most browsers

Type:
  • number
Inherited From

opacity :number

transparency, between 0 (invisible) and 1 (opaque)

Type:
  • number
Inherited From

seldist :number

distance around coords to include data [default = 2.0]

Type:
  • number

selection :AtomSelectionSpec

selection around which to include data (alternative to coords)

smoothness :number

amount to smooth surface (default 1)

Type:
  • number

unhover_callback :Func

unhover callback

Type:
  • Func

voldata :VolumeData

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

Type:
  • string

volscheme :GradientType

coloring scheme for mapping volumetric data to vertex color, if not a Gradient object, show describe a builtin gradient one by providing an object with gradient, min, max, and (optionally) mid fields.

Type:
  • GradientType

voxel :boolean

if true uses voxel style rendering

Type:
  • boolean

wireframe :boolean

draw as wireframe, not surface

Type:
  • boolean
Inherited From