NGL@1.0.0-beta.7 Home Manual Reference Source Gallery
import MolecularSurface from 'ngl/src/surface/molecular-surface.js'
public class | source

MolecularSurface

Create Molecular surfaces

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public
public

Method Summary

Public Methods
public

Cleanup

public

Get molecular surface

public

Get molecular surface asynchronous

Private Methods
private
private

Public Constructors

public constructor() source

Public Members

public structure source

public worker source

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

Private Methods

private _getAtomData() source

private _makeSurface() source