Class Server (mod)
webserver for hosting the user interface, handler functions for UI requests
Namespace: UI
Assembly: OCTVis.dll
Syntax
Fields
val cts
Declaration
val cts: CancellationTokenSource
Field Value
Type |
Description |
System.Threading.CancellationTokenSource |
|
Methods
val app: unit -> unit -> WebPart<HttpContext>
Declaration
val app: imgUpdateFnc:unit -> unit -> WebPart<HttpContext>
Parameters
Type |
Name |
Description |
unit -> unit |
imgUpdateFnc |
|
Returns
Type |
Description |
Suave.WebPart.WebPart<Suave.Http.HttpContext> |
|
val cancel: unit -> unit
Declaration
Parameters
Type |
Name |
Description |
unit |
|
|
val handleArbTransMinus: HttpRequest -> unit -> unit -> WebPart
Declaration
val handleArbTransMinus: r:HttpRequest -> imgUpdateFnc:unit -> unit -> WebPart
Parameters
Type |
Name |
Description |
Suave.Http.HttpRequest |
r |
|
unit -> unit |
imgUpdateFnc |
|
Returns
Type |
Description |
Suave.Http.WebPart |
|
val handleArbTransPlus: HttpRequest -> unit -> unit -> WebPart
Declaration
val handleArbTransPlus: r:HttpRequest -> imgUpdateFnc:unit -> unit -> WebPart
Parameters
Type |
Name |
Description |
Suave.Http.HttpRequest |
r |
|
unit -> unit |
imgUpdateFnc |
|
Returns
Type |
Description |
Suave.Http.WebPart |
|
val handleCutNorm: HttpRequest -> WebPart
Declaration
val handleCutNorm: r:HttpRequest -> WebPart
Parameters
Type |
Name |
Description |
Suave.Http.HttpRequest |
r |
|
Returns
Type |
Description |
Suave.Http.WebPart |
|
val handleCutting: HttpRequest -> WebPart
Declaration
val handleCutting: r:HttpRequest -> WebPart
Parameters
Type |
Name |
Description |
Suave.Http.HttpRequest |
r |
|
Returns
Type |
Description |
Suave.Http.WebPart |
|
val handleCutTransMinus: HttpRequest -> WebPart
Declaration
val handleCutTransMinus: r:HttpRequest -> WebPart
Parameters
Type |
Name |
Description |
Suave.Http.HttpRequest |
r |
|
Returns
Type |
Description |
Suave.Http.WebPart |
|
val handleCutTransPlus: HttpRequest -> WebPart
Declaration
val handleCutTransPlus: r:HttpRequest -> WebPart
Parameters
Type |
Name |
Description |
Suave.Http.HttpRequest |
r |
|
Returns
Type |
Description |
Suave.Http.WebPart |
|
val handleDrawLayer: HttpRequest -> WebPart
Declaration
val handleDrawLayer: r:HttpRequest -> WebPart
Parameters
Type |
Name |
Description |
Suave.Http.HttpRequest |
r |
|
Returns
Type |
Description |
Suave.Http.WebPart |
|
val handleDrawSlicePlane: HttpRequest -> WebPart
Declaration
val handleDrawSlicePlane: r:HttpRequest -> WebPart
Parameters
Type |
Name |
Description |
Suave.Http.HttpRequest |
r |
|
Returns
Type |
Description |
Suave.Http.WebPart |
|
val handleFluidSeg: HttpRequest -> WebPart
Declaration
val handleFluidSeg: r:HttpRequest -> WebPart
Parameters
Type |
Name |
Description |
Suave.Http.HttpRequest |
r |
|
Returns
Type |
Description |
Suave.Http.WebPart |
|
val handleFluidTransparent: HttpRequest -> WebPart
Declaration
val handleFluidTransparent: r:HttpRequest -> WebPart
Parameters
Type |
Name |
Description |
Suave.Http.HttpRequest |
r |
|
Returns
Type |
Description |
Suave.Http.WebPart |
|
val handleGauss: HttpRequest -> WebPart
Declaration
val handleGauss: r:HttpRequest -> WebPart
Parameters
Type |
Name |
Description |
Suave.Http.HttpRequest |
r |
|
Returns
Type |
Description |
Suave.Http.WebPart |
|
val handleShaderType: HttpRequest -> WebPart
Declaration
val handleShaderType: r:HttpRequest -> WebPart
Parameters
Type |
Name |
Description |
Suave.Http.HttpRequest |
r |
|
Returns
Type |
Description |
Suave.Http.WebPart |
|
val handleShadows: HttpRequest -> WebPart
Declaration
val handleShadows: r:HttpRequest -> WebPart
Parameters
Type |
Name |
Description |
Suave.Http.HttpRequest |
r |
|
Returns
Type |
Description |
Suave.Http.WebPart |
|
val handleSliceNorm: HttpRequest -> unit -> unit -> WebPart
Declaration
val handleSliceNorm: r:HttpRequest -> imgUpdateFnc:unit -> unit -> WebPart
Parameters
Type |
Name |
Description |
Suave.Http.HttpRequest |
r |
|
unit -> unit |
imgUpdateFnc |
|
Returns
Type |
Description |
Suave.Http.WebPart |
|
val handleSliceOpacity: HttpRequest -> WebPart
Declaration
val handleSliceOpacity: r:HttpRequest -> WebPart
Parameters
Type |
Name |
Description |
Suave.Http.HttpRequest |
r |
|
Returns
Type |
Description |
Suave.Http.WebPart |
|
val handleSlicePos: HttpRequest -> unit -> unit -> WebPart
Declaration
val handleSlicePos: r:HttpRequest -> imgUpdateFnc:unit -> unit -> WebPart
Parameters
Type |
Name |
Description |
Suave.Http.HttpRequest |
r |
|
unit -> unit |
imgUpdateFnc |
|
Returns
Type |
Description |
Suave.Http.WebPart |
|
val handleSliceSize: HttpRequest -> unit -> unit -> WebPart
Declaration
val handleSliceSize: r:HttpRequest -> imgUpdateFnc:unit -> unit -> WebPart
Parameters
Type |
Name |
Description |
Suave.Http.HttpRequest |
r |
|
unit -> unit |
imgUpdateFnc |
|
Returns
Type |
Description |
Suave.Http.WebPart |
|
val handleThr: HttpRequest -> WebPart
Declaration
val handleThr: r:HttpRequest -> WebPart
Parameters
Type |
Name |
Description |
Suave.Http.HttpRequest |
r |
|
Returns
Type |
Description |
Suave.Http.WebPart |
|
val handleTransparency: HttpRequest -> WebPart
Declaration
val handleTransparency: r:HttpRequest -> WebPart
Parameters
Type |
Name |
Description |
Suave.Http.HttpRequest |
r |
|
Returns
Type |
Description |
Suave.Http.WebPart |
|
val handleUpdate: HttpRequest -> WebPart
returns the state to update UI elements
Declaration
val handleUpdate: r:HttpRequest -> WebPart
Parameters
Type |
Name |
Description |
Suave.Http.HttpRequest |
r |
|
Returns
Type |
Description |
Suave.Http.WebPart |
|
val mkJson: unit -> WebPart
converts main application state to JSON WebPart
Declaration
val mkJson: unit -> WebPart
Parameters
Type |
Name |
Description |
unit |
|
|
Returns
Type |
Description |
Suave.Http.WebPart |
|
val start: unit -> unit -> unit -> unit
Declaration
val start: unit -> imgUpdateFnc:unit -> unit -> unit
Parameters
Type |
Name |
Description |
unit |
|
|
unit -> unit |
imgUpdateFnc |
Function to update the current 2D slice image. Renders and saves the current slice
|