Skip to content

Methods support #1

@swsoyee

Description

@swsoyee
  • addArrow(spec) → {$3Dmol.GLShape}
  • addAsOneMolecule(data, format) → {$3Dmol.GLModel}
  • addBox(spec) → {$3Dmol.GLShape}
  • addCurve(spec) → {$3Dmol.GLShape}
  • addCustom(spec) → {$3Dmol.GLShape}
  • addCylinder(spec) → {$3Dmol.GLShape}
  • addIsosurface(data, spec) → {$3Dmol.GLShape}
  • addLabel(text, options, sel, noshow) → {$3Dmol.Label}
  • addLine(spec) → {$3Dmol.GLShape}
  • addMesh(mesh, style) → {Number}
  • addModel(data, format, options) → {$3Dmol.GLModel}
  • addModels(data, format) → {Array.<$3Dmol.GLModel>}
  • addModelsAsFrames(data, format) → {$3Dmol.GLModel}
  • addPropertyLabels(prop, sel, style)
  • addResLabels(sel, style, byframe)
  • addShape(shapeSpec) → {$3Dmol.GLShape}
  • addSphere(spec) → {$3Dmol.GLShape}
  • addStyle(sel, style)
  • addSurface(type, style, atomsel, allsel, focus, surfacecallback) → {Promise}
  • addUnitCell(model, spec)
  • addVolumetricData(data, format, or) → {$3Dmol.GLShape} deprecated Use addIsosurface instead
  • addVolumetricRender(data, spec) → {$3Dmol.GLShape}
  • animate(options)
  • center(sel, animationDuration, fixedPath)
  • clear()
  • createModelFrom(sel, extract) → {$3Dmol.GLModel}
  • enableFog(fog)
  • exportJSON(includeStyles, modelID) → {string}
  • exportVRML()
  • fitSlab(sel)
  • getFrame()
  • getInternalState()
  • getModel(id) → {GLModel}
  • getNumFrames() → {number}
  • getPerceivedDistance() → {number}
  • getView() → {Array.}
  • isAnimated() → {boolean}
  • linkViewer(otherview)
  • mapAtomProperties(props,, sel)
  • pdbData(sel) → {string} (Same feature done by using {bio3d} Addition of User-Friendly functions. #6 )
  • pngURI() (feat(png): implement widget to png (#26) #27)
  • removeAllLabels()
  • removeAllModels()
  • removeAllShapes()
  • removeAllSurfaces()
  • removeLabel(label)
  • removeModel(model)
  • removeShape(shape)
  • removeSurface(surf)
  • removeUnitCell(model)
  • render()
  • replicateUnitCell(A, B, C, model)
  • resize()
  • rotate(angle, axis, animationDuration, fixedPath)
  • selectedAtoms(sel) → {Array.}
  • setAutoEyeSeparation() → {number}
  • setBackgroundColor(hex, a)
  • setClickable(sel, clickable, callback)
  • setColorByElement(sel, colors)
  • setColorByProperty(sel, prop, scheme)
  • setContainer(element)
  • setDefaultCartoonQuality()
  • setFrame(framenum) → {Promise}
  • setHeight(h)
  • setHoverable(sel, hoverable, hover_callback, unhover_callback)
  • setHoverDuration(hoverDuration)
  • setInternalState()
  • setLabelStyle(label, stylespec) → {$3Dmol.Label}
  • setLabelText(label, text) → {$3Dmol.Label}
  • setPerceivedDistance()
  • setProjection()
  • setSlab()
  • setStateChangeCallback()
  • setStyle(sel, style)
  • setSurfaceMaterialStyle(surf, style)
  • setView(arg)
  • setViewChangeCallback()
  • setViewStyle()
  • setWidth(w)
  • setZoomLimits()
  • spin(axis)
  • stopAnimate()
  • translate(x, y, animationDuration, fixedPath)
  • translateScene(x, y, animationDuration, fixedPath)
  • vibrate(numFrames, amplitude, bothWays, arrowSpec)
  • zoom(factor, animationDuration, fixedPath)
  • zoomTo(sel, animationDuration, fixedPath)

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions