References
summary | ||
public |
C Script Script class |
|
public |
F setDebug() |
|
public |
|
|
public |
|
|
public |
F binarySearchIndexOf(array: Array, element: Anything, compareFunction: Function): Number Does a binary search to get the index of an element in the input array |
|
public |
F boolean() |
|
public |
F dataURItoImage() |
|
public |
F deepCopy() |
|
public |
F defaults() |
|
public |
F download() |
|
public |
F ensureArray() |
|
public |
F ensureBuffer() |
|
public |
|
|
public |
F ensureMatrix4() |
|
public |
F ensureQuaternion() |
|
public |
F ensureVector2() |
|
public |
F ensureVector3() |
|
public |
F flatten() |
|
public |
F getAbsolutePath() |
|
public |
F getBrowser() |
|
public |
F getFileInfo() |
|
public |
F getProtocol() |
|
public |
F getQuery() |
|
public |
F getTypedArray() |
|
public |
F getUintArray() |
|
public |
F open() |
|
public |
F pick() |
|
public |
|
|
public |
F submit() |
|
public |
F throttle() |
|
public |
F uint8ToLines() |
|
public |
F uint8ToString() |
|
public |
F uniqueArray() |
|
private |
|
|
public |
|
|
public |
|
|
public |
The browser name: "Opera", "Chrome", "Firefox", "Mobile Safari", "Internet Explorer", "Safari" or false. |
|
public |
|
|
public |
Global instance of src/color/colormaker-registry.js~ColormakerRegistry |
|
public |
|
|
public |
|
|
public |
V Debug |
|
public |
|
|
public |
Flag indicating support for the |
|
public |
V Log |
|
public |
Flag indicating a mobile browser |
|
public |
|
|
public |
|
|
public |
|
|
public |
V ScriptExtensions: String[] List of file extensions to be recognized as scripts |
|
public |
|
|
public |
Flag indicating support for the 'passive' option for event handler |
|
public |
|
|
public |
|
|
public |
|
|
public |
Version name |
|
public |
E Box3 |
|
public |
|
|
public |
E Char |
|
public |
E Color |
|
public |
E Euler |
|
public |
E Float |
|
public |
E Integer |
|
public |
E Matrix3 |
|
public |
E Matrix4 |
|
public |
E Plane |
|
public |
|
|
public |
E Signal |
|
public |
|
|
public |
E Vector2 |
|
public |
E Vector3 |
align
summary | ||
public |
|
|
public |
|
|
public |
F superpose(s1: Structure | StructureView, s2: Structure | StructureView, align: Boolean, sele1: String, sele2: String): undefined Perform structural superposition of two structures, optionally guided by a sequence alignment |
animation
summary | ||
public |
Animation list. |
|
public |
Move animation. |
|
public |
Rock animation. |
|
public |
Rotate animation. |
|
public |
Spin animation. |
|
public |
Timeout animation. |
|
public |
Value animation. |
|
public |
Zoom animation. |
|
public |
Animation. |
buffer
summary | ||
public |
Arrow buffer. |
|
public |
Box buffer. |
|
public |
Cone buffer. |
|
public |
Cone geometry buffer. |
|
public |
Contour buffer. |
|
public |
Cylinder buffer. |
|
public |
Cylinder geometry buffer. |
|
public |
Cylinder impostor buffer. |
|
public |
A double-sided mesh buffer. |
|
public |
Ellipsoid buffer. |
|
public |
Ellipsoid geometry buffer. |
|
public |
Hyperball stick buffer. |
|
public |
Hyperball stick impostor buffer. |
|
public |
Image buffer. |
|
public |
Line buffer. |
|
public |
Mesh buffer. |
|
public |
Octahedron buffer. |
|
public |
Point buffer. |
|
public |
Ribbon buffer. |
|
public |
Sphere buffer. |
|
public |
Sphere geometry buffer. |
|
public |
Sphere impostor buffer. |
|
public |
Surface buffer. |
|
public |
Tetrahedron buffer. |
|
public |
Text buffer. |
|
public |
Torus geometry buffer. |
|
public |
Trace buffer. |
|
public |
Tube mesh buffer. |
|
public |
Vector buffer. |
|
public |
Wide Line buffer. |
|
public |
I Buffer Buffer class. |
|
public |
Geometry buffer. |
|
public |
Mapped buffer. |
|
public |
Mapped Aligned box buffer. |
|
public |
Mapped Box buffer. |
|
public |
Mapped Quad buffer. |
|
public |
Buffer parameter object. |
|
public |
Text buffer parameter object. |
color
summary | ||
public |
Color by atom index. |
|
public |
Color by b-factor. |
|
public |
Color by chain id |
|
public |
Color by chain index |
|
public |
Color by chain name |
|
public |
Class for registering Colormakers. |
|
public |
Color by validation density fit |
|
public |
Color a surface by electrostatic charge. |
|
public |
Color by element |
|
public |
Color by entiry index |
|
public |
Color by entity type |
|
public |
Color by validation gometry quality |
|
public |
Color by hydrophobicity |
|
public |
Color by model index |
|
public |
Color by molecule type |
|
public |
Color by occupancy |
|
public |
Color by partial charge. |
|
public |
Class by random color |
|
public |
Color by residue index |
|
public |
Color by residue name |
|
public |
Color based on Selection |
|
public |
Color by secondary structure |
|
public |
Color by uniform color |
|
public |
Color by volume value |
|
public |
Color by volume position |
|
public |
Class for making colors. |
|
public |
Colormaker parameter object. |
component
summary | ||
public |
Annotation HTML element floating on top of a position rendered in 3d |
|
private |
|
|
public |
|
|
public |
|
|
public |
Component wrapping a Representation object |
|
public |
Component wrapping a Script object |
|
public |
Component wrapping a Shape object |
|
public |
Component wrapping a Structure object |
|
public |
Component wrapping a Surface object |
|
public |
Component wrapping a Trajectory object |
|
public |
Component wrapping a Volume object |
|
public |
Base class for components |
|
public |
Component parameter object. |
|
public |
|
|
public |
Extends ComponentSignals |
|
public |
Extends ComponentSignals |
|
public |
Trajectory component parameter object. |
|
public |
Extends ComponentSignals |
controls
summary | ||
public |
Animation controls |
|
public |
Component controls |
|
public |
Key actions provided as static methods |
|
public |
Mouse controls |
|
public |
Mouse actions provided as static methods |
|
public |
Mouse controls |
|
public |
Picking controls |
|
public |
Picking proxy class. |
|
public |
Trackball controls |
|
public |
Viewer controls |
|
public |
|
|
public |
|
|
public |
Strings to describe mouse events (including optional keyboard modifiers). |
|
public |
Picking data object. |
|
public |
Orientation matrix, a 4x4 transformation matrix with rotation part used for scene rotation, scale part for scene camera distance and position part for scene translation |
datasource
summary | ||
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
Datasource base class |
geometry
summary | ||
public |
C Contact |
|
public |
Arrow geometry primitive |
|
public |
Box geometry primitive |
|
public |
Cone geometry primitive |
|
public |
Cylinder geometry primitive |
|
public |
Ellipsoid geometry primitive |
|
public |
Octahedron geometry primitive |
|
public |
Sphere geometry primitive |
|
public |
Tetrahedron geometry primitive |
|
public |
Text geometry primitive |
|
public |
Torus geometry primitive |
|
public |
C Shape Class for building custom shapes. |
|
public |
|
|
public |
F polarContacts() |
|
private |
F Grid() |
|
public |
F Helixbundle() |
|
public |
F Helixorient() |
|
public |
F Kdtree() |
|
private |
F SpatialHash() |
|
public |
F Spline() |
loader
summary | ||
public |
C Loader Loader base class |
|
public |
Parser loader class |
|
public |
Plugin loader class |
|
public |
Script loader class |
|
public |
F autoLoad(file: String | File | Blob, params: LoaderParameters): Promise Load a file |
|
public |
F getDataInfo() |
|
public |
Loader parameter object. |
math
summary | ||
public |
Principal axes |
|
public |
F arrayMax() |
|
public |
F arrayMean() |
|
public |
F arrayMin() |
|
public |
F arrayRms() |
|
public |
F arraySorted() |
|
public |
F arraySortedCmp() |
|
public |
F arraySum() |
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
F centerArray3() |
|
public |
F circularMean() |
|
public |
F copyArray() |
|
public |
F copyWithin() |
|
public |
F quickselectCmp() |
|
public |
F quicksortCmp() |
|
public |
F quicksortIP(arr: TypedArray, eleSize: Integer, orderElement: Integer, begin: Integer, end: Integer): TypedArray quicksortIP |
|
public |
F randomColorArray() |
|
public |
|
|
public |
F serialArray() |
|
public |
F serialBlockArray() |
|
public |
F uniformArray() |
|
public |
F uniformArray3() |
|
public |
F almostIdentity() |
|
public |
F clamp() |
|
public |
F countSetBits() |
|
private |
F degToRad() |
|
public |
F generateUUID() |
|
public |
F lerp() |
|
public |
F normalize() |
|
public |
F pclamp() |
|
public |
F radToDeg() |
|
public |
F saturate() |
|
public |
F smootherstep() |
|
public |
F smootheststep() |
|
public |
F smoothstep() |
|
public |
F spline() |
|
public |
F Matrix() |
|
public |
F addCols() |
|
public |
F addRows() |
|
public |
F invert3x3() |
|
public |
F m3makeNormal() |
|
public |
F m3new() |
|
public |
F m4identity() |
|
public |
F m4makeRotationY() |
|
public |
F m4makeScale() |
|
public |
|
|
public |
F m4multiply() |
|
public |
F m4new() |
|
public |
|
|
public |
F meanCols() |
|
public |
F meanRows() |
|
public |
F multiply() |
|
public |
F multiply3x3() |
|
public |
F multiplyABt() |
|
public |
F multiplyAtB() |
|
public |
F subCols() |
|
public |
F subRows() |
|
public |
F svd() |
|
public |
F transpose() |
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
F isPointOnSegment() |
|
public |
F lineLineIntersect(p1: Vector3, p2: Vector3, p3: Vector3, p4: Vector3): Array<Vector3, Vector3> | null Converted to JavaScript from http://paulbourke.net/geometry/pointlineplane/lineline.c |
|
public |
|
|
public |
|
|
public |
F v3add() |
|
public |
F v3addScalar() |
|
public |
F v3angle() |
|
public |
F v3ceil() |
|
public |
F v3cross() |
|
public |
F v3divide() |
|
public |
F v3divideScalar() |
|
public |
F v3dot() |
|
public |
F v3floor() |
|
public |
F v3forEach() |
|
public |
F v3fromArray() |
|
public |
F v3length() |
|
public |
F v3multiply() |
|
public |
F v3multiplyScalar() |
|
public |
F v3negate() |
|
public |
F v3new() |
|
public |
F v3normalize() |
|
public |
F v3round() |
|
public |
F v3sub() |
|
public |
F v3subScalar() |
|
public |
F v3toArray() |
|
public |
V DEG2RAD |
|
private |
V EPS |
|
public |
V RAD2DEG |
|
public |
V TwoPI |
parser
proxy
summary | ||
public |
Atom proxy |
|
public |
Bond proxy |
|
public |
Chain proxy |
|
public |
Model proxy |
|
public |
C Polymer Polymer |
|
public |
Residue proxy |
representation
summary | ||
public |
C AngleRepresentation(structure: Structure, viewer: Viewer, params: AngleRepresentationParameters) Angle representation object |
|
public |
Axes representation. |
|
public |
Backbone representation. |
|
public |
Ball And Stick representation. |
|
public |
Base representation. |
|
public |
Representation for showing buffer objects. |
|
public |
Cartoon representation. |
|
public |
Contact representation. |
|
public |
C DihedralRepresentation(structure: Structure, viewer: Viewer, params: AngleRepresentationParameters) Dihedral representation object |
|
public |
Distance representation |
|
public |
Dot representation |
|
public |
Helixorient Representation |
|
public |
Hyperball Representation |
|
public |
Label representation |
|
public |
Licorice representation object (BallAndStickRepresentation with |
|
public |
Line representation |
|
public |
Molecular Surface Representation |
|
public |
Point Representation |
|
public |
Ribbon Representation |
|
public |
Rocket Representation |
|
public |
Rope Representation |
|
public |
Slice representation |
|
public |
Spacefill Representation |
|
public |
Surface representation |
|
public |
Trace Representation |
|
public |
Trajectory representation |
|
public |
Tube Representation |
|
public |
Unitcell Representation |
|
public |
Validation representation |
|
public |
I Representation(object: Object, viewer: Viewer, params: RepresentationParameters) Representation object |
|
public |
Structure representation |
|
public |
F calcArcPoint() |
|
public |
F parseNestedAtoms(sview: Structure, atoms: Array): Float32Array MeasurementRepresentations take atom[Pair|Triple|Quad] parameters. |
|
public |
|
|
public |
|
|
public |
Ball And Stick representation parameter object. |
|
public |
|
|
public |
Distance representation parameter object. |
|
public |
Dot representation parameter object. |
|
public |
Label representation parameter object. |
|
public |
Measurement representation parameter object. |
|
public |
Representation parameter object. |
|
public |
Slice representation parameter object. |
|
public |
Structure representation parameter object. |
|
public |
Surface representation parameter object. |
|
public |
Trajectory representation parameter object. |
selection
summary | ||
public |
Selection |
|
public |
F parseSele() |
|
public |
F makeAtomTest() |
|
public |
F makeChainTest() |
|
public |
F makeModelTest() |
|
public |
F makeResidueTest() |
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
private |
V kwd |
shader
summary | ||
public |
F getShader() |
stage
summary | ||
private |
|
|
public |
|
|
private |
|
|
public |
Mouse observer |
|
private |
|
|
public |
C Stage Stage class, central for creating molecular scenes with NGL. |
|
public |
|
|
public |
Stage parameter object. |
|
public |
|
store
streamer
summary | ||
public |
|
|
public |
|
|
public |
|
|
public |
C Streamer |
|
public |
|
structure
summary | ||
public |
C Entity Entity of a Structure |
|
public |
View on the structure, restricted to the selection |
|
public |
Structure |
|
public |
|
|
private |
F StructureBuilder() |
|
public |
F assignResidueTypeBonds(structure: Structure): undefined Assigns ResidueType bonds. |
|
public |
|
|
public |
|
|
public |
F calculateBonds() |
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
F getChainname() |
|
public |
F guessElement() |
|
public |
F reorderAtoms() |
|
public |
V AA1 |
|
public |
V AA3 |
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
V DnaBases |
|
public |
V DnaType |
|
public |
V IonNames |
|
public |
V IonType |
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
V RnaBases |
|
public |
V RnaType |
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
private |
|
|
public |
|
|
public |
V VdwRadii |
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
Structure extra data. |
|
public |
Structure header object. |
surface
summary | ||
public |
|
|
public |
Create Molecular surfaces |
|
public |
C Surface Surface |
|
public |
|
|
public |
C Volume Volume |
|
public |
F AVHash(atomsX: Float32Array, atomsY: Float32Array, atomsZ: Float32Array, atomsR: Float32Array, min: Float32Array, max: Float32Array, maxDistance: Float) Modifed from SpatialHash |
|
public |
F AVSurface() |
|
public |
F EDTSurface() |
|
public |
F MarchingCubes() |
|
public |
|
|
public |
F getRadiusDict() |
|
public |
F getSurfaceGrid() |
|
public |
F laplacianSmooth() |
|
public |
F VolumeSurface() |
|
public |
Molecular surface parameter object. |
symmetry
trajectory
summary | ||
public |
Frames trajectory class. |
|
private |
C Frames |
|
public |
Remote trajectory class. |
|
public |
Structure trajectory class. |
|
public |
Trajectory player for animating coordinate frames |
|
public |
Base class for trajectories, tying structures and coordinates together |
|
public |
F makeTrajectory() |
|
public |
Trajectory player parameter object. |
|
public |
Trajectory parameter object. |
|
public |
|
utils
summary | ||
public |
C BitArray Bit array |
|
public |
C Counter Counter class for keeping track of counts |
|
public |
C IOBuffer Class for writing and reading binary data |
|
public |
Reads a NetCDF v3.x file https://www.unidata.ucar.edu/software/netcdf/docs/file_format_specifications.html |
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
C Registry |
|
public |
I Picker Picker class |
|
public |
Shape picker class |
|
public |
F BinaryHeap(scoreFunction: Function) Binary heap implementation |
|
public |
F Kdtree(points: Float32Array, metric: Function) Kdtree |
|
public |
F LabelFactory() |
|
public |
F parseXml() |
|
private |
F Queue() |
|
public |
F RadiusFactory() |
viewer
summary | ||
public |
|
|
public |
F Stats() |
|
private |
F TiledRenderer() |
|
public |
F makeImage(viewer: Viewer, params: ImageParameters): Promise Make image from what is shown in a viewer canvas |
|
public |
|
|
public |
|
|
public |
|
|
public |
Viewer class |
|
public |
|
|
public |
Image parameter object. |
worker
summary | ||
public |
|
|
public |
F WorkerPool() |
|
public |
F makeWorkerBlob() |
|
public |
F Worker() |