Module: GUI Construction

Members

(inner) guiStatus :guiStatus

Global variable indicating the current task the GUI is performing.
Type:
  • guiStatus
Source:

Methods

(static) addCPselect()

Adds the control point selector UI for the current fiber.
Built in a separate function so it may be refreshed independently.
Source:

(static) cpEdit(index)

Constructs the Control Point edition UI for a given index of a control point.
Parameters:
Name Type Description
index Number The index of the Control Point to edit.
Source:

(static) editExit()

Removes any edition UI. Adds new element buttons.
Source:

(static) exitCPedit()

Removes former Control Point edition UI.
Restores guiStatus.
Source:

(static) fiberEdit(index)

Adds the fiber edition GUI.
Parameters:
Name Type Description
index Number The index in the array of the fiber to edit.
Source:

(static) regionEdit(index)

Adds the isotropic region edition GUI.
Parameters:
Name Type Description
index Number The index in the array of the fiber to edit.
Source:

(static) setupGUI()

Constructs basic-static GUI when no action has taken place yet. Defines guiStatus global variable.
Adds event listeners to window object for keyboard bindings.
Source: