Options
All
  • Public
  • Public/Protected
  • All
Menu

Class StructureView

View on the structure, restricted to the selection

Hierarchy

Implements

Index

Constructors

constructor

Properties

selection

selection: Selection

structure

structure: Structure

Static _ap

Static _bp

Static _cp

Static Optional _hasCoords

_hasCoords: undefined | true | false

Static _rp

Static atomCount

atomCount: number

Static atomMap

atomMap: AtomMap

Static Optional atomSet

atomSet: BitArray

Static atomSetCache

atomSetCache: object

Type declaration

Static atomSetDict

atomSetDict: object

Type declaration

Static atomStore

atomStore: AtomStore

Static backboneBondStore

backboneBondStore: BondStore

Static biomolDict

biomolDict: object

Type declaration

Static bondCount

bondCount: number

Static Optional bondHash

bondHash: BondHash

Static Optional bondSet

bondSet: BitArray

Static bondStore

bondStore: BondStore

Static boundingBox

boundingBox: Box3

Static boxes

boxes: Float32Array[]

Static center

center: Vector3

Static chainStore

chainStore: ChainStore

Static data

data: Data

Static entityList

entityList: Entity[]

Static extraData

Static frames

frames: Float32Array[]

Static header

Static id

id: string

Static modelStore

modelStore: ModelStore

Static name

name: string

Static path

path: string

Static residueMap

residueMap: ResidueMap

Static residueStore

residueStore: ResidueStore

Static rungBondStore

rungBondStore: BondStore

Static signals

Static Optional spatialHash

spatialHash: SpatialHash

Static title

title: string

Static Optional trajectory

trajectory: undefined | object

Static Optional unitcell

unitcell: Unitcell

Static Optional validation

validation: Validation

Accessors

_hasCoords

  • get _hasCoords(): undefined | true | false
  • set _hasCoords(value: undefined | true | false): void

atomMap

atomSetDict

  • get atomSetDict(): object

atomStore

backboneBondStore

biomolDict

  • get biomolDict(): object

bondHash

bondStore

boxes

  • get boxes(): Float32Array[]

chainStore

data

entityList

frames

  • get frames(): Float32Array[]

id

  • get id(): string

modelStore

name

  • get name(): string

path

  • get path(): string

residueMap

residueStore

rungBondStore

spatialHash

title

  • get title(): string

type

  • get type(): string

unitcell

validation

Methods

atomCenter

dispose

  • dispose(): void

eachAtom

  • eachAtom(callback: function, selection?: Selection): void

eachBond

  • eachBond(callback: function, selection?: Selection): void

eachChain

  • eachChain(callback: function, selection?: Selection): void

eachEntity

  • eachEntity(callback: function, type: number): void

eachModel

  • eachModel(callback: function, selection?: Selection): void

eachPolymer

  • eachPolymer(callback: function, selection?: Selection): void

eachResidue

  • eachResidue(callback: function, selection?: Selection): void

eachResidueN

  • eachResidueN(n: number, callback: function): void

finalizeAtoms

  • finalizeAtoms(): void

finalizeBonds

  • finalizeBonds(): void

getAtomData

getAtomIndices

  • getAtomIndices(selection?: Selection): undefined | Uint32Array

getAtomProxy

  • getAtomProxy(index?: undefined | number): AtomProxy

getAtomSet

getAtomSetWithinGroup

getAtomSetWithinPoint

getAtomSetWithinSelection

getAtomSetWithinVolume

  • getAtomSetWithinVolume(volume: Volume, radius: number, minValue: number, maxValue: number, outside: boolean): BitArray
  • Get set of atoms within a volume

    Parameters

    • volume: Volume

      the volume

    • radius: number

      radius to select within

    • minValue: number

      minimum value to be considered as within the volume

    • maxValue: number

      maximum value to be considered as within the volume

    • outside: boolean

      use only values falling outside of the min/max values

    Returns BitArray

    set of atoms

getBackboneAtomData

getBackboneBondData

getBackboneBondSet

getBondData

getBondProxy

  • getBondProxy(index?: undefined | number): BondProxy

getBondSet

getBoundingBox

  • getBoundingBox(selection?: Selection, box?: Box3): Box3

getChainProxy

  • getChainProxy(index?: undefined | number): ChainProxy

getChainnameCount

  • getChainnameCount(selection?: Selection): number

getModelProxy

  • getModelProxy(index?: undefined | number): ModelProxy

getPrincipalAxes

getResidueProxy

getRungAtomData

getRungBondData

getRungBondSet

getSelection

getSequence

  • getSequence(selection?: Selection): string[]

getStructure

hasCoords

  • hasCoords(): boolean

init

  • init(): void

refresh

  • refresh(): void
  • Updates atomSet, bondSet, atomSetCache, atomCount, bondCount, boundingBox, center.

    emits

    {Structure.signals.refreshed} when refreshed

    Returns void

refreshPosition

  • refreshPosition(): void

setSelection

updatePosition

  • updatePosition(position: Float32Array | number[]): void

Static getView

Object literals

signals

signals: object

refreshed

refreshed: Signal<T> = new Signal()

Generated using TypeDoc