SphericalCamera.plot#
- SphericalCamera.plot(frame: bool = False, **kwargs) None[source]#
Plot 3D camera icon in world view (base method)
- Parameters:
pose (
SE3) – camera posescale (float) – scale factor, defaults to 1
shape (str, optional) – icon shape: ‘frustum’ [default], ‘camera’
label (bool, optional) – show camera name, defaults to
Truealpha (float, optional) – transparency of icon, defaults to 1
solid (bool, optional) – icon comprises solid faces, defaults to
Falsecolor (str, optional) – icon color, defaults to ‘r’
projection (str, optional) – projection model for new axes, defaults to ‘ortho’
ax (
Axes3D, optional) – axes to draw in, defaults to current 3D axes
- Returns:
axes drawn into
- Return type:
Axes3D
Plot a 3D icon representing the pose of a camera into a 3D Matplotlib plot. Two icons are supported: the traditional frustum, and a simplistic camera comprising a box and cylinder.
Note
If
poseis not given it defaults to the pose of the instance.