PathTracerUI

PathTracerUI

A class handling a dialog box for the path tracer settings

Constructor

new PathTracerUI()

Source:

Classes

PathTracerUI

Members

dialogBoxWrap :HTMLElement

Source:

Wrap of the dialog box

Type:
  • HTMLElement

downloadButton :HTMLElement

Source:

Download button

Type:
  • HTMLElement

state :number

Source:

State of the UI The possible states are defined as constants

Type:
  • number

thurston :Thurston

Source:

The Thurston object controlled by this controls

Type:

Methods

onClickDownload(event)

Source:

When the user start the download

Parameters:
Name Type Description
event MouseEvent

onClickGo(event)

Source:

When the user validate the choice of resolution

Parameters:
Name Type Description
event MouseEvent

onPressP(event)

Source:

When user press the key P, enter/leave the path tracer UI

Parameters:
Name Type Description
event KeyboardEvent