NGL@1.0.0-beta.7 Home Manual Reference Source Gallery
import DihedralRepresentation from 'ngl/src/representation/dihedral-representation.js'
public class | source

DihedralRepresentation

Extends:

RepresentationStructureRepresentationMeasurementRepresentation → DihedralRepresentation

Dihedral representation object

Reperesentation consists of three parts, visibility can be set for each label - text label indicating dihedral angle line - line indicating four positions that define the dihedral sector - filled arc section

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public

Method Summary

Public Methods
public

create()

public

init()

public
public
public

Inherited Summary

From class Representation
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public

Counter that keeps track of tasks related to the creation of the representation, including surface calculations.

public
public
public
public
private
private
public

attach()

public

build()

public

clear()

public

create()

public
public
public
public
public

init()

public

make()

public
public

Set the visibility of the representation

public

setVisibility(value: Boolean, noRenderRequest: Boolean): Representation

Set the visibility of the representation

public

update()

public
From class StructureRepresentation
public get
public
public
public
public
public
public
public
public
public
private
private
public

attach()

public

clear()

public

create()

public
public
public
public
public
public
public
public
public

init()

public

Set representation parameters

public

Set representation parameters

public

update()

public
From class MeasurementRepresentation
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public

n

public
public
public

init()

public
public
public

update()

public

Public Constructors

public constructor() source

Handles common label settings and position logic for distance and angle representations

Override:

MeasurementRepresentation#constructor

Public Members

public atomQuad source

public lineBuffer source

public lineLength source

public lineOpacity source

public lineVisible source

public linewidth source

public parameters source

Override:

MeasurementRepresentation#parameters

public planeDoubleSidedBuffer source

public planeLength source

public planeMeshBuffer source

public planeVisible source

public sectorDoubleSidedBuffer source

public sectorLength source

public sectorMeshBuffer source

public sectorVisible source

public textBuffer source

public type source

Override:

StructureRepresentation#type

Public Methods

public create() source

Override:

StructureRepresentation#create

public init() source

Override:

MeasurementRepresentation#init

public setParameters() source

Set representation parameters

Override:

MeasurementRepresentation#setParameters

public setVisibility() source

Set the visibility of the representation

Override:

MeasurementRepresentation#setVisibility

public updateData() source

Override:

MeasurementRepresentation#updateData