ImageCloud
 All Classes Namespaces Functions Variables Enumerations Properties Events
Public Member Functions | Protected Member Functions
VisWpf.UI.Workers.NavigatorWorker Class Reference

Navigator worker. Responsible for computing the EMD Distances and the MDS Embedding for the Navigator tab. More...

List of all members.

Public Member Functions

 NavigatorWorker (ImageCloud mainWindow, CanvasObjectController canvasController)
 Creates a new NavigatorWorker with the given ImageCloud Main window.
void OnCompleted ()
 Not used.
void OnError (Exception error)
 Not used.
void OnNext (string value)
 Called from EMD or MDS controller if they want to send a status message to the main window.

Protected Member Functions

override void OnDoWork (DoWorkEventArgs e)
 Called, when the worker starts. Takes no argument, when the worker starts the first time. Takes a EMDQuery Argument if the worker is started again after initialisation, to create a new image query.
override void OnProgressChanged (ProgressChangedEventArgs e)
 Called, when the Worker progess changes. Currently unused.
override void OnRunWorkerCompleted (RunWorkerCompletedEventArgs e)
 Runs, when the worker has completed embedding. Sets ui to the navigator tab.

Detailed Description

Navigator worker. Responsible for computing the EMD Distances and the MDS Embedding for the Navigator tab.


Constructor & Destructor Documentation

VisWpf.UI.Workers.NavigatorWorker.NavigatorWorker ( ImageCloud  mainWindow,
CanvasObjectController  canvasController 
)

Creates a new NavigatorWorker with the given ImageCloud Main window.

Parameters:
mainWindowThe main window of the Aplication
canvasControllerThe canvas controller object

Member Function Documentation

void VisWpf.UI.Workers.NavigatorWorker.OnCompleted ( )

Not used.

override void VisWpf.UI.Workers.NavigatorWorker.OnDoWork ( DoWorkEventArgs  e)
protected

Called, when the worker starts. Takes no argument, when the worker starts the first time. Takes a EMDQuery Argument if the worker is started again after initialisation, to create a new image query.

Parameters:
e
void VisWpf.UI.Workers.NavigatorWorker.OnError ( Exception  error)

Not used.

Parameters:
error
void VisWpf.UI.Workers.NavigatorWorker.OnNext ( string  value)

Called from EMD or MDS controller if they want to send a status message to the main window.

Parameters:
valueThe string to send to the main window
override void VisWpf.UI.Workers.NavigatorWorker.OnProgressChanged ( ProgressChangedEventArgs  e)
protected

Called, when the Worker progess changes. Currently unused.

Parameters:
e
override void VisWpf.UI.Workers.NavigatorWorker.OnRunWorkerCompleted ( RunWorkerCompletedEventArgs  e)
protected

Runs, when the worker has completed embedding. Sets ui to the navigator tab.

Parameters:
e

The documentation for this class was generated from the following file: