Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RemoteTrajectory

Remote trajectory class. Gets data from an MDsrv instance.

Hierarchy

Index

Constructors

constructor

Properties

atomCount

atomCount: number

atomIndices

atomIndices: number[][]

backboneIndices

backboneIndices: NumberArray

boxCache

boxCache: {}

Type declaration

  • [k: number]: ArrayLike<number>

centerPbc

centerPbc: boolean

coords1

coords1: Float32Array

coords2

coords2: Float32Array

deltaTime

deltaTime: number

filt

filt: string

filter

filter: Filter

filteringIndices

filteringIndices: NumberArray

frame

frame: number

frameCache

frameCache: {}

Type declaration

  • [k: number]: Float32Array

frameCacheSize

frameCacheSize: number = 0

inProgress

inProgress: boolean

initialCoords

initialCoords: Float32Array

loadQueue

loadQueue: {}

Type declaration

  • [k: number]: boolean

name

name: string

pathCache

pathCache: {}

Type declaration

player

removePbc

removePbc: boolean

removePeriodicity

removePeriodicity: boolean

structure

structure: Structure

structureCoords

structureCoords: Float32Array

superpose

superpose: boolean

timeOffset

timeOffset: number

trajPath

trajPath: string

Accessors

currentFrame

  • get currentFrame(): number

frameCount

  • get frameCount(): number

type

  • get type(): string

Methods

_doSuperpose

  • _doSuperpose(x: Float32Array): void

_getIndices

  • _getIndices(filter: Filter): number[]

_init

_interpolate

_loadFrame

  • _loadFrame(i: number, callback?: Function): void

_loadFrameCount

  • _loadFrameCount(): void

_makeAtomIndices

  • _makeAtomIndices(): void

_makeSuperposeCoords

  • _makeSuperposeCoords(): void

_process

  • _process(i: number, box: ArrayLike<number>, coords: Float32Array, frameCount: number): void

_resetCache

  • _resetCache(): void

_saveInitialCoords

  • _saveInitialCoords(): void

_saveStructureCoords

  • _saveStructureCoords(): void

_setFrameCount

  • _setFrameCount(n: number): void

_updateStructure

  • _updateStructure(i: number): void

dispose

  • dispose(): void

getFrameTime

  • getFrameTime(i: number): number

hasFrame

  • hasFrame(i: number | number[]): boolean

loadFrame

  • loadFrame(i: number | number[], callback?: Function): void

setFilter

  • setFilter(string: string): this

setFrame

  • setFrame(i: number, callback?: Function): this

setFrameInterpolated

setParameters

setPlayer

setStructure

Object literals

signals

signals: object

countChanged

countChanged: Signal<T> = new Signal()

frameChanged

frameChanged: Signal<T> = new Signal()

playerChanged

playerChanged: Signal<T> = new Signal()

Generated using TypeDoc