Table of Contents

Class Viz3d

Namespace
Emgu.CV
Assembly
Emgu.CV.dll

Represents a 3D visualizer window.

public class Viz3d : UnmanagedObject, IDisposable
Inheritance
Viz3d
Implements
Inherited Members

Constructors

Viz3d(string)

Create a new 3D visualizer windows

public Viz3d(string windowName)

Parameters

windowName string

The name of the windows

Properties

WasStopped

Returns whether the event loop has been stopped.

public bool WasStopped { get; }

Property Value

bool

Methods

DisposeObject()

Release the unmanaged memory associated with this Viz3d object

protected override void DisposeObject()

RemoveWidget(string)

Removes a widget from the window.

public void RemoveWidget(string id)

Parameters

id string

The id of the widget that will be removed.

SetBackgroundMeshLab()

Set the background color

public void SetBackgroundMeshLab()

SetWidgetPose(string, Affine3d)

Sets pose of a widget in the window.

public void SetWidgetPose(string id, Affine3d pose)

Parameters

id string

The id of the widget whose pose will be set.

pose Affine3d

The new pose of the widget.

ShowWidget(string, IWidget, Affine3d)

Show a widget in the window

public void ShowWidget(string id, IWidget widget, Affine3d pose = null)

Parameters

id string

A unique id for the widget.

widget IWidget

The widget to be displayed in the window.

pose Affine3d

Pose of the widget.

Spin()

The window renders and starts the event loop.

public void Spin()

SpinOnce(int, bool)

Starts the event loop for a given time.

public void SpinOnce(int time = 1, bool forceRedraw = false)

Parameters

time int

Amount of time in milliseconds for the event loop to keep running.

forceRedraw bool

If true, window renders.