NGL@0.10.4 Home Manual Reference Source GalleryRepository
import TrajectoryRepresentation from 'ngl/src/representation/trajectory-representation.js'
public class | source

TrajectoryRepresentation

Extends:

RepresentationStructureRepresentation → TrajectoryRepresentation

Trajectory representation

Constructor Summary

Public Constructor
public

Inherited Summary

From class Representation
public

tasks: *

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

public

viewer: *

public

Set the visibility of the representation

public

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

Set the visibility of the representation

From class StructureRepresentation
public
public
public

Set representation parameters

public

Set representation parameters

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