Class: Raster

structure.Raster

Raster

Constructor

new Raster()

Voxels maps

Author:
  • Jean-Christophe Taveau

Extends

Members

bbox

Bounding Box

Properties:
Name Type Description
min vec3

Top-left-front corner of the bounding box

Properties
Name Type Description
x number

X-coordinate of the 'min' corner

y number

Y-coordinate of the 'min' corner

y number

Z-coordinate of the 'min' corner

max vec3

Bottom-right-back corner of the bounding box

Properties
Name Type Description
x number

X-coordinate of the 'max' corner

y number

Y-coordinate of the 'max' corner

z number

Z-coordinate of the 'max' corner

Inherited From:

centroid :vec3

Center of Gravity - Centroid

Type:
  • vec3
Properties:
Name Type Description
centroid vec3

Center of gravity or centroid of this structure

Properties
Name Type Description
x number

X-coordinate

y number

Y-coordinate

y number

Z-coordinate

Inherited From:

ID :string

Identifier

Type:
  • string
Inherited From:

information :object

Information

Type:
  • object
Inherited From:

voxels :Array(RGBColor)

RGB Colors

Type:
  • Array(RGBColor)

Methods

isMolecule() → {boolean}

Is this structure an atomic model? (instance of class Molecule)

Inherited From:
Returns:
  • true if this structure is an atomic model.
Type
boolean

isRaster() → {boolean}

Is this structure a 2D/3D-raster? (instance of class Raster)

Inherited From:
Returns:
  • true if this structure is a 2D- or 3D-raster (image or volume/map).
Type
boolean

setTitle(str)

Set Title

Parameters:
Name Type Description
str string

Set a new title

Inherited From: