PCoA_output/emperor_qiime2_jacc/275f2778-beaf-4710-81c8-e9fac8a27d99/data/js/view.js
/**
 *
 * @class DecompositionView
 *
 * Contains all the information on how the model is being presented to the
 * user.
 *
 * @param {DecompositionModel} decomp a DecompositionModel object that will be
 * represented on screen.
 *
 * @return {DecompositionView}
 * @constructs DecompositionView
 *
 */
@class DecompositionView
Contains all the information on how the model is being presented to the
user.

@param {DecompositionModel} decomp a DecompositionModel object that will be
represented on screen.


@class DecompositionView Contains all the information on how the model is being presented to the user . @param { DecompositionModel } decomp a DecompositionModel object that will be represented on screen .
function DecompositionView(decomp) {
  this.decomp = decomp;
  this.count = decomp.length;
  this.visibleDimensions = [0, 1, 2]; 
  this.axesOrientation = [1, 1, 1];
  this.axesColor = '#FFFFFF';
  this.backgroundColor = '#000000';
  this.tubes = [];
  this.markers = [];
  this.ellipsoids = [];
  this.lines = {'left': null, 'right': null};
  this._initBaseView();
  this.needsUpdate = true;
}
function DecompositionView ( decomp ) { this . decomp = decomp ; this . count = decomp . length ; this . visibleDimensions = [ 0 , 1 , 2 ] ; this . axesOrientation = [ 1 , 1 , 1 ] ; this . axesColor = '#FFFFFF' ; this . backgroundColor = '#000000' ; this . tubes = [ ] ; this . markers = [ ] ; this . ellipsoids = [ ] ; this . lines = { 'left' : null , 'right' : null } ; this . _initBaseView ( ) ; this . needsUpdate = true ; }
@class DecompositionView
 Contains all the information on how the model is being presented to the
 user.
@class DecompositionView Contains all the information on how the model is being presented to the user .
/**
   * The decomposition model that the view represents.
   * @type {DecompositionModel}
   */ /**
   * Number of samples represented in the view.
   * @type {integer}
   */ /**
   * Top visible dimensions
   * @type {integer[]}
   * @default [0, 1, 2]
   */ // We default to the first three PCs /**
   * Orientation of the axes, `-1` means the axis is flipped, `1` means the
   * axis is not flipped.
   * @type {integer[]}
   * @default [1, 1, 1]
   */ /**
   * Axes color.
   * @type {integer}
   * @default '#FFFFFF' (white)
   */ /**
   * Background color.
   * @type {integer}
   * @default '#000000' (black)
   */ /**
   * Tube objects on screen (used for animations)
   * @type {THREE.Mesh[]}
   */ /**
   * Array of THREE.Mesh objects on screen (represent samples).
   * @type {THREE.Mesh[]}
   */ /**
   * Array of THREE.Mesh objects on screen (represent confidence intervals).
   * @type {THREE.Mesh[]}
   */ /**
   * Object with THREE.LineSegments for the procrustes edges. Has a left and
   * a right attribute.
   * @type {Object}
   */ // setup this.markers and this.lines /**
   * True when changes have occured that require re-rendering of the canvas
   * @type {boolean}
   */