pub struct Viz3d { /* private fields */ }
Expand description

The Viz3d class represents a 3D visualizer window. This class is implicitly shared.

Implementations

The constructors.

Parameters
  • window_name: Name of the window.
C++ default parameters
  • window_name: String()

Trait Implementations

Wrap the specified raw pointer Read more
Return an the underlying raw pointer while consuming this wrapper. Read more
Return the underlying raw pointer. Read more
Return the underlying mutable raw pointer Read more
Executes the destructor for this type. Read more
Shows a widget in the window. Read more
Removes a widget from the window. Read more
Removes all widgets from the window.
Removed all widgets and displays image scaled to whole window area. Read more
Sets pose of a widget in the window. Read more
Updates pose of a widget in the window by pre-multiplying its current pose. Read more
Sets the intrinsic parameters of the viewer using Camera. Read more
Sets pose of the viewer. Read more
Resets camera viewpoint to a 3D widget in the scene. Read more
Resets camera.
Transforms a point in world coordinate system to window coordinate system. Read more
Transforms a point in window coordinate system to a 3D ray in world coordinate system. Read more
Sets the size of the window. Read more
Saves screenshot of the current scene. Read more
Sets the position of the window in the screen. Read more
Sets or unsets full-screen rendering mode. Read more
Sets background color. Read more
C++ default parameters Read more
The window renders and starts the event loop.
Starts the event loop for a given time. Read more
Create a window in memory instead of on the screen.
Remove all lights from the current scene.
Add a light in the scene. Read more
Sets keyboard handler. Read more
Sets mouse handler. Read more
Sets rendering property of a widget. Read more
Returns rendering property of a widget. Read more
Sets geometry representation of the widgets to surface, wireframe or points. Read more
C++ default parameters Read more
Retrieves a widget from the window. Read more
Returns the current pose of a widget in the window. Read more
Returns a camera object that contains intrinsic parameters of the current viewer.
Returns the current pose of the viewer.
Returns the current size of the window.
Returns the name of the window which has been set in the constructor. Viz - is prepended to the name if necessary. Read more
Returns the Mat screenshot of the current scene.
Returns whether the event loop has been stopped.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.