Table of Contents

Class ImageMashupVisualizer

Namespace
Bonsai.Vision.Design
Assembly
Bonsai.Vision.Design.dll

Provides an abstract base class for type visualizers that overlay multiple values into a single image display.

public abstract class ImageMashupVisualizer : DialogMashupVisualizer
Inheritance
DialogMashupVisualizer
ImageMashupVisualizer
Derived
Inherited Members

Properties

VisualizerCanvas

When overridden in a derived class, gets the graphics canvas used to render the final visualizer output.

public abstract VisualizerCanvas VisualizerCanvas { get; }

Property Value

VisualizerCanvas

VisualizerImage

Gets the image buffer used to construct the displayed visualizer background.

public IplImage VisualizerImage { get; }

Property Value

IplImage

Methods

Load(IServiceProvider)

Loads type visualizer resources using the specified service provider.

public override void Load(IServiceProvider provider)

Parameters

provider IServiceProvider

A service provider object which can be used to obtain visualization, runtime inspection, or other editing services.

Show(object)

Updates the type visualizer to display the specified value object.

public override void Show(object value)

Parameters

value object

The value to visualize.

ShowMashup(IList<object>)

Combines the specified collection of values into a single image mashup.

protected virtual void ShowMashup(IList<object> values)

Parameters

values IList<object>

The collection of values to be displayed by the mashup visualizer.

Unload()

Unloads all type visualizer resources.

public override void Unload()

UpdateValues(IList<object>)

Updates the type visualizer state in preparation for displaying the specified collection of values.

protected virtual void UpdateValues(IList<object> values)

Parameters

values IList<object>

The collection of values to be displayed by the mashup visualizer.

Visualize(IObservable<IObservable<object>>, IServiceProvider)

Creates an observable sequence used to visualize all notifications emitted by a workflow operator, using this type visualizer and the specified service provider.

public override IObservable<object> Visualize(IObservable<IObservable<object>> source, IServiceProvider provider)

Parameters

source IObservable<IObservable<object>>

An observable sequence that multicasts notifications from all the active subscriptions to the workflow operator.

provider IServiceProvider

A service provider object which can be used to obtain visualization, runtime inspection, or other editing services.

Returns

IObservable<object>

An observable sequence where every notification updates the type visualizer object in the UI thread.