phovea_clue
Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Variables

_instance

_instance: ModeWrapper = new ModeWrapper()

off

off: any = ModeWrapper.prototype.off.bind(_instance)

on

on: any = ModeWrapper.prototype.on.bind(_instance)

Functions

createButton

defaultMode

  • returns the default mode either stored in the hash or by default exploration

    Returns CLUEMode

fromString

getMode

mode

  • mode(exploration: number, authoring: number, presentation: number): CLUEMode
  • mode factory by the given components

    Parameters

    • exploration: number
    • authoring: number
    • presentation: number

    Returns CLUEMode

normalize

  • normalize(arr: [number, number, number]): [number, number, number]
  • normalizes the given coordinates to sum up to one

    Parameters

    • arr: [number, number, number]

    Returns [number, number, number]

setMode

Object literals

modes

modes: object

shortcuts for the atomic modes

type

{{Exploration: CLUEMode, Authoring: CLUEMode, Presentation: CLUEMode}}

Authoring

Authoring: CLUEMode = mode(0, 1, 0)

Exploration

Exploration: CLUEMode = mode(1, 0, 0)

Presentation

Presentation: CLUEMode = mode(0, 0, 1)

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc