Interface

IsoSurfaceSpec

IsoSurfaceSpec

Isosurface style specification

View Source GLShape.ts, line 1621

Extends

Members

Func

# callback Optional

function to call on click

Inherited From:

View Source GLShape.ts, line 1595

boolean

# clickable Optional

if true, user can click on object to trigger callback

Inherited From:

View Source GLShape.ts, line 1590

ColorSpec | Array

# color Optional

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

Inherited From:

View Source GLShape.ts, line 1565

Array

# coords Optional

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

View Source GLShape.ts, line 1641

number

# frame Optional

if set, only display in this frame of an animation

Inherited From:

View Source GLShape.ts, line 1615

boolean

# hidden Optional

if true, do not display object

Inherited From:

View Source GLShape.ts, line 1580

Func

# hover_callback Optional

hover callback

Inherited From:

View Source GLShape.ts, line 1605

boolean

# hoverable Optional

if true, user can hover on object to trigger callback

Inherited From:

View Source GLShape.ts, line 1600

number

# isoval Optional

specifies the isovalue to draw surface at

View Source GLShape.ts, line 1626

number

# linewidth Optional

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

Inherited From:

View Source GLShape.ts, line 1585

number

# opacity Optional

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

Inherited From:

View Source GLShape.ts, line 1570

number

# seldist Optional

distance around coords to include data [default = 2.0]

View Source GLShape.ts, line 1646

number

# smoothness Optional

amount to smooth surface (default 1)

View Source GLShape.ts, line 1636

Func

# unhover_callback Optional

unhover callback

Inherited From:

View Source GLShape.ts, line 1610

VolumeData

# voldata Optional

volumetric data for vertex coloring, can be VolumeData object or raw data if volformat is specified

View Source GLShape.ts, line 1651

string

# volformat Optional

format of voldata if not a $3Dmol.VolumeData object

View Source GLShape.ts, line 1661

GradientType

# volscheme Optional

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.

View Source GLShape.ts, line 1656

boolean

# voxel Optional

if true uses voxel style rendering

View Source GLShape.ts, line 1631

boolean

# wireframe Optional

draw as wireframe, not surface

Inherited From:

View Source GLShape.ts, line 1575