Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AngleRepresentation

Angle representation object

Reperesentation consists of four parts, visibility can be set for each label - the text label with the angle size vectors - lines joining the three points sector - triangles representing the angle arc - line bordering the sector

Hierarchy

Indexable

[key: string]: any

Angle representation object

Reperesentation consists of four parts, visibility can be set for each label - the text label with the angle size vectors - lines joining the three points sector - triangles representing the angle arc - line bordering the sector

Index

Constructors

constructor

Properties

arcBuffer

arcBuffer: WideLineBuffer

arcLength

arcLength: number

Protected arcVisible

arcVisible: boolean

Protected assembly

assembly: string

Protected atomTriple

atomTriple: (string | number)[][]

bufferList

bufferList: Buffer[]

Protected clipCenter

clipCenter: Vector3

Protected clipNear

clipNear: number

Protected clipRadius

clipRadius: number

Protected colorDomain

colorDomain: number[]

Protected colorMode

colorMode: ColorMode

Protected colorReverse

colorReverse: boolean

Protected colorScale

colorScale: string | string[]

Protected colorScheme

colorScheme: string

Protected colorValue

colorValue: number

Protected dataList

Protected defaultAssembly

defaultAssembly: string

Protected depthWrite

depthWrite: boolean

Protected diffuse

diffuse: number

Protected Optional diffuseInterior

diffuseInterior: undefined | false | true

Protected disableImpostor

disableImpostor: boolean

Protected disablePicking

disablePicking: boolean

Protected disposed

disposed: boolean

Protected flatShaded

flatShaded: boolean

Protected interiorColor

interiorColor: number

Protected interiorDarkening

interiorDarkening: number

Protected labelAttachment

labelAttachment: "bottom-left" | "bottom-center" | "bottom-right" | "middle-left" | "middle-center" | "middle-right" | "top-left" | "top-center" | "top-right"

Protected labelBackground

labelBackground: boolean

Protected labelBackgroundColor

labelBackgroundColor: number

Protected labelBackgroundMargin

labelBackgroundMargin: number

Protected labelBackgroundOpacity

labelBackgroundOpacity: number

Protected labelBorder

labelBorder: boolean

Protected labelBorderColor

labelBorderColor: number

Protected labelBorderWidth

labelBorderWidth: number

Protected labelColor

labelColor: number

Protected labelFixedSize

labelFixedSize: boolean

Protected labelFontFamily

labelFontFamily: "sans-serif" | "monospace" | "serif"

Protected labelFontStyle

labelFontStyle: "normal" | "italic"

Protected labelFontWeight

labelFontWeight: "normal" | "bold"

Protected labelFormat

labelFormat: string

Protected labelGrouping

labelGrouping: "atom" | "residue"

Protected labelSize

labelSize: number

Protected labelText

labelText: string

Protected labelType

labelType: "atomname" | "atomindex" | "occupancy" | "bfactor" | "serial" | "element" | "atom" | "resname" | "resno" | "res" | "text" | "qualified"

Protected labelVisible

labelVisible: boolean

Protected labelXOffset

labelXOffset: number

Protected labelYOffset

labelYOffset: number

Protected labelZOffset

labelZOffset: number

Protected labelsdf

labelsdf: boolean

lazy

lazy: boolean

lazyProps

lazyProps: { bufferParams: BufferParameters | {}; build: boolean; what: {} }

Type declaration

Protected lineOpacity

lineOpacity: number

Protected lineVisible

lineVisible: boolean

Protected lineWidth

lineWidth: number

Protected linewidth

linewidth: number

Protected manualAttach

manualAttach: () => any

Type declaration

    • (): any
    • Returns any

Protected matrix

matrix: Matrix4

Protected metalness

metalness: number

Protected n

n: number

Protected name

name: string

Protected needsBuild

needsBuild: boolean

Protected opacity

opacity: number

Protected openEnded

openEnded: boolean

parameters

parameters: any

Protected radialSegments

radialSegments: number

Protected radiusData

radiusData: {}

Type declaration

  • [k: number]: number

Protected radiusScale

radiusScale: number

Protected radiusSize

radiusSize: number

Protected radiusType

radiusType: RadiusType

Protected roughness

roughness: number

sectorBuffer

sectorBuffer: MeshBuffer

sectorLength

sectorLength: number

Protected sectorVisible

sectorVisible: boolean

Protected selection

selection: Selection

Protected side

Protected sphereDetail

sphereDetail: number

structure

structure: Structure

structureView

structureView: StructureView

tasks

tasks: Counter

Protected textBuffer

textBuffer: TextBuffer

Protected toBePrepared

toBePrepared: boolean

type

type: string

Protected Optional useInteriorColor

useInteriorColor: undefined | false | true

Protected vectorBuffer

vectorBuffer: WideLineBuffer

Protected vectorVisible

vectorVisible: boolean

viewer

viewer: Viewer

visible

visible: boolean

Protected wireframe

wireframe: boolean

Accessors

defaultScale

  • get defaultScale(): { bfactor: number; covalent: number; sstruc: number; vdw: number }

Methods

attach

  • attach(callback: () => void): void

build

  • build(updateWhat?: undefined | {}): void

clear

  • clear(): void

create

  • create(): void

createData

dispose

  • dispose(): void

getAssembly

getAtomParams

getAtomRadius

  • getAtomRadius(): number

getBondParams

getBufferParams

  • getBufferParams(p?: {}): { clipCenter: Vector3; clipNear: number; clipRadius: number; depthWrite: boolean; diffuse: number; diffuseInterior: undefined | false | true; disablePicking: boolean; flatShaded: boolean; interiorColor: number; interiorDarkening: number; matrix: Matrix4; metalness: number; opacity: number; roughness: number; side: "double" | "front" | "back"; useInteriorColor: undefined | false | true; wireframe: boolean } & {}
  • Parameters

    • Default value p: {} = {}
      • [k: string]: any

    Returns { clipCenter: Vector3; clipNear: number; clipRadius: number; depthWrite: boolean; diffuse: number; diffuseInterior: undefined | false | true; disablePicking: boolean; flatShaded: boolean; interiorColor: number; interiorDarkening: number; matrix: Matrix4; metalness: number; opacity: number; roughness: number; side: "double" | "front" | "back"; useInteriorColor: undefined | false | true; wireframe: boolean } & {}

getColorParams

getLabelBufferParams

  • getLabelBufferParams(params?: Partial<LabelRepresentationParameters>): { clipCenter: Vector3; clipNear: number; clipRadius: number; depthWrite: boolean; diffuse: number; diffuseInterior: undefined | false | true; disablePicking: boolean; flatShaded: boolean; interiorColor: number; interiorDarkening: number; matrix: Matrix4; metalness: number; opacity: number; roughness: number; side: "double" | "front" | "back"; useInteriorColor: undefined | false | true; wireframe: boolean } & {}

getParameters

  • getParameters(): {} & { defaultAssembly: string; sele: undefined | string }

getQuality

  • getQuality(): "high" | "medium" | "low"

getRadiusParams

  • getRadiusParams(param?: any): { data: {}; scale: number; size: number; type: "" | "data" | "sstruc" | "bfactor" | "size" | "explicit" | "vdw" | "covalent" }
  • Parameters

    • Optional param: any

    Returns { data: {}; scale: number; size: number; type: "" | "data" | "sstruc" | "bfactor" | "size" | "explicit" | "vdw" | "covalent" }

    • data: {}
      • [k: number]: number
    • scale: number
    • size: number
    • type: "" | "data" | "sstruc" | "bfactor" | "size" | "explicit" | "vdw" | "covalent"

init

make

  • make(updateWhat?: undefined | false | true, callback?: undefined | (() => void)): void

prepare

  • prepare(cb: () => void): void

setColor

setParameters

setRadius

setSelection

  • setSelection(string: string, silent?: undefined | false | true): this

setVisibility

  • setVisibility(value: boolean, noRenderRequest?: undefined | false | true): this

update

updateData

updateParameters

Generated using TypeDoc