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

TrajectoryRepresentation

Extends:

RepresentationStructureRepresentation → TrajectoryRepresentation

Trajectory representation

Constructor Summary

Public Constructor
public

Member Summary

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

Method Summary

Public Methods
public

attach()

public

create()

public

init()

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

Public Constructors

public constructor(trajectory: Trajectory, viewer: Viewer, params: TrajectoryRepresentationParameters) source

Create Structure representation object

Override:

StructureRepresentation#constructor

Params:

NameTypeAttributeDescription
trajectory Trajectory

the trajectory

viewer Viewer

viewer object

params TrajectoryRepresentationParameters

parameters

Public Members

public drawCylinder source

public drawLine source

public drawPoint source

public drawSphere source

public manualAttach source

public parameters source

Override:

StructureRepresentation#parameters

public pointSize source

public sizeAttenuation source

public sort source

public trajectory source

public type source

Override:

StructureRepresentation#type

Public Methods

public attach() source

Override:

StructureRepresentation#attach

public create() source

Override:

StructureRepresentation#create

public init() source

Override:

StructureRepresentation#init