Struct opencv::viz::WCameraPosition[][src]

pub struct WCameraPosition { /* fields omitted */ }
Expand description

This 3D Widget represents camera position in a scene by its axes or viewing frustum. :

Implementations

Creates camera coordinate frame at the origin.

Camera coordinate frame

C++ default parameters
  • scale: 1.0

Display the viewing frustum

Parameters
  • K: Intrinsic matrix of the camera.
  • scale: Scale of the frustum.
  • color: Color of the frustum.

Creates viewing frustum of the camera based on its intrinsic matrix K.

Camera viewing frustum

C++ default parameters
  • scale: 1.0
  • color: Color::white()

Display the viewing frustum

Parameters
  • fov: Field of view of the camera (horizontal, vertical).
  • scale: Scale of the frustum.
  • color: Color of the frustum.

Creates viewing frustum of the camera based on its field of view fov.

Camera viewing frustum

C++ default parameters
  • scale: 1.0
  • color: Color::white()

Display image on the far plane of the viewing frustum

Parameters
  • K: Intrinsic matrix of the camera.
  • image: BGR or Gray-Scale image that is going to be displayed on the far plane of the frustum.
  • scale: Scale of the frustum and image.
  • color: Color of the frustum.

Creates viewing frustum of the camera based on its intrinsic matrix K, and displays image on the far end plane.

Camera viewing frustum with image

C++ default parameters
  • scale: 1.0
  • color: Color::white()

Display image on the far plane of the viewing frustum

Parameters
  • fov: Field of view of the camera (horizontal, vertical).
  • image: BGR or Gray-Scale image that is going to be displayed on the far plane of the frustum.
  • scale: Scale of the frustum and image.
  • color: Color of the frustum.

Creates viewing frustum of the camera based on its intrinsic matrix K, and displays image on the far end plane.

Camera viewing frustum with image

C++ default parameters
  • scale: 1.0
  • color: Color::white()

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

Performs the conversion.

Performs the conversion.

Sets pose of the widget. Read more

Updates pose of the widget by pre-multiplying its current pose. Read more

Transforms internal widget data (i.e. points, normals) using the given transform. Read more

Sets the color of the widget. Read more

Returns the current pose of the widget.

Sets rendering property of the widget. Read more

Returns rendering property of the widget. Read more

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

Performs the conversion.

Performs the conversion.

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.