Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Methods support #1

Open
55 of 87 tasks
swsoyee opened this issue Sep 5, 2020 · 2 comments
Open
55 of 87 tasks

Methods support #1

swsoyee opened this issue Sep 5, 2020 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@swsoyee
Copy link
Owner

swsoyee commented Sep 5, 2020

  • 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)
@swsoyee swsoyee added the enhancement New feature or request label Sep 5, 2020
@swsoyee swsoyee self-assigned this Sep 5, 2020
swsoyee pushed a commit that referenced this issue Feb 17, 2021
Bring branch up to level
@ndnng
Copy link

ndnng commented Jun 14, 2021

Hi @swsoyee,
I want to use mapAtomProperties function to display partial charges as in https://3dmol.csb.pitt.edu/doc/types.html.

Is there away to write .js script to edit structure properties of a r3dmol object? I saw you haven't updated the mapAtomProperties yet.

Thanks.

@swsoyee
Copy link
Owner Author

swsoyee commented Jun 15, 2021

@nnguyen19 Thanks for request, I will implement mapAtomProperties as soon as possible. If there is any feature you want to use in {r3dmol}, please make a comment and let me know like this time. 👍🏼

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants