Class Viz3d
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
stringThe name of the windows
Properties
WasStopped
Returns whether the event loop has been stopped.
public bool WasStopped { get; }
Property Value
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
stringThe 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
ShowWidget(string, IWidget, Affine3d)
Show a widget in the window
public void ShowWidget(string id, IWidget widget, Affine3d pose = null)
Parameters
id
stringA unique id for the widget.
widget
IWidgetThe widget to be displayed in the window.
pose
Affine3dPose 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)