Options
All
  • Public
  • Public/Protected
  • All
Menu

Class StructureView

View on the structure, restricted to the selection

Hierarchy

Implements

Index

Constructors

constructor

Properties

_ap

_bp

_cp

_rp

atomCount

atomCount: number

Optional atomSet

atomSet: BitArray

atomSetCache

atomSetCache: {}

Type declaration

bondCount

bondCount: number

Optional bondSet

bondSet: BitArray

boundingBox

boundingBox: Box3

center

center: Vector3

extraData

header

selection

selection: Selection

signals

structure

structure: Structure

Optional trajectory

trajectory: undefined | { frame: number; name: string }

Accessors

_hasCoords

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

atomMap

atomSetDict

  • get atomSetDict(): {}

atomStore

backboneBondStore

biomolDict

  • get biomolDict(): {}

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

eachBond

eachChain

eachEntity

  • eachEntity(callback: (entity: Entity) => void, type: number): void

eachModel

eachPolymer

eachResidue

eachResidueN

  • eachResidueN(n: number, callback: (entity: ResidueProxy) => any): 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

getView

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

Generated using TypeDoc