NGL@0.10.4 Home Manual Reference Source GalleryRepository
import MolecularSurface from 'ngl/src/surface/molecular-surface.js'
public class | source

MolecularSurface

Create Molecular surfaces

Method Summary

Public Methods
public

Cleanup

public

Get molecular surface

public

Get molecular surface asynchronous

Public Methods

public dispose(): undefined source

Cleanup

Return:

undefined

public getSurface(params: MolecularSurfaceParameters): Surface source

Get molecular surface

Params:

NameTypeAttributeDescription
params MolecularSurfaceParameters

parameters for surface creation

Return:

Surface

the surface

public getSurfaceWorker(params: MolecularSurfaceParameters, callback: function(surface: Surface)): undefined source

Get molecular surface asynchronous

Params:

NameTypeAttributeDescription
params MolecularSurfaceParameters

parameters for surface creation

callback function(surface: Surface)

function to be called after surface is created

Return:

undefined