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

DotRepresentation

Extends:

Representation → DotRepresentation

Dot representation

Constructor Summary

Public Constructor
public

Create Dot representation object

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

Public Constructors

public constructor(surface: Surface | Volume, viewer: Viewer, params: DotRepresentationParameters) source

Create Dot representation object

Params:

NameTypeAttributeDescription
surface Surface | Volume

the surface or volume to be represented

viewer Viewer

a viewer object

params DotRepresentationParameters

dot representation parameters