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

SliceRepresentation

Extends:

Representation → SliceRepresentation

Slice representation

Constructor Summary

Public Constructor
public

Create Slice representation object

Member Summary

Public Members
public
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

Public Constructors

public constructor(surface: Volume, viewer: Viewer, params: SliceRepresentationParameters) source

Create Slice representation object

Override:

Representation#constructor

Params:

NameTypeAttributeDescription
surface Volume

the volume to be represented

viewer Viewer

a viewer object

params SliceRepresentationParameters

slice representation parameters

Public Members

public colorScheme source

Override:

Representation#colorScheme

public dimension source

public filter source

public normalize source

public parameters source

Override:

Representation#parameters

public position source

public positionType source

public thresholdMax source

public thresholdMin source

public thresholdType source

public type source

Override:

Representation#type

public volume source

Public Methods

public attach() source

Override:

Representation#attach

public create() source

Override:

Representation#create

public init() source

Override:

Representation#init