Collections:
$3Dmol Namespace and Static Methods
What is the GLViewer Class?
✍: FYIcenter.com
$3Dmol is the top namespace of the $3Dmol.js library.
It contains a sub-namespace, several classes and some static methods
as listed below.
Sub-namespaces:
$3Dmol.GLDraw - Lower level utilities for creating WebGL shape geometries
Classes:
$3Dmol.GLModel - A group of related atoms $3Dmol.GLShape - A collection of user specified shapes $3Dmol.GLViewer - A WebGL-based viewer $3Dmol.Label - A renderable text label ...
Static Methods:
$3Dmol.createViewer(element, config, shared_viewer_resources) -> {$3Dmol.GLViewer}
- Create a viewer at supplied HTML element using specification in config
$3Dmol.download(query, viewer, options, callback) -> {$3Dmol.GLModel}
- Load a PDB/PubChem structure into existing viewer
$3Dmol.getbin(uri, callback, request) -> {Promise}
- Download binary data into an array buffer
$3Dmol.getExtent(atomlist) -> {Array}
- Computes the bounding box around the provided atoms
...
For the full documentation, visit $3Dmol Namespace API Website.
⇒ $3Dmol.download('pdb:...', ...) - Download PDB Protein
⇑⇑ 3Dmol.js FAQ
2023-09-10, 1090🔥, 0💬
Popular Posts:
Molecule Summary: ID: FYI-1001075 SMILES: C1=CC(=CC=C1C#N)C(C2=CC= C(C=C2)C#N)N3C=NC=N3Received at F...
Molecule Summary: ID: FYI-1001236 SMILES: C1(C(OC(C(C1O)O)CO)OC=2( C=CC(=CC=2)C(O[Na])=O))( O)Receive...
Molecule Summary: ID: FYI-1004716 Names: InChIKey: WDQNIWFZKXZFAY-UHFFFAOYS A-MSMILES: CC(=O)O[Sn](c...
Molecule Summary: ID: FYI-1001898 SMILES: CC(=CC1COC23CC4(CO2)C(C3 C1(C)O)CCC5C4(CCC6C5(CCC (C6(C)C)OC...
Molecule Summary: ID: FYI-1000324 SMILES: C[C@@](c1cc(cc(c1)F)F)(C (=O)OC)NReceived at FYIcenter.com...