open3d.visualization.rendering.Camera

class open3d.visualization.rendering.Camera

Camera object

class FovType

Enum class for Camera field of view types.

Members:

Vertical

Horizontal

Horizontal = FovType.Horizontal
Vertical = FovType.Vertical
class Projection

Enum class for Camera projection types.

Members:

Perspective

Ortho

Ortho = Projection.Ortho
Perspective = Projection.Perspective
__init__(*args, **kwargs)

Initialize self. See help(type(self)) for accurate signature.

look_at(self: open3d.cpu.pybind.visualization.rendering.Camera, arg0: numpy.ndarray[float32[3, 1]], arg1: numpy.ndarray[float32[3, 1]], arg2: numpy.ndarray[float32[3, 1]]) → None

Sets the position and orientation of the camera: look_at(center, eye, up)

set_projection(*args, **kwargs)

Overloaded function.

  1. set_projection(self: open3d.cpu.pybind.visualization.rendering.Camera, arg0: float, arg1: float, arg2: float, arg3: float, arg4: open3d.cpu.pybind.visualization.rendering.Camera.FovType) -> None

Sets a perspective projection. set_projection(field_of_view, aspect_ratio, far_plane, field_of_view_type)

  1. set_projection(self: open3d.cpu.pybind.visualization.rendering.Camera, arg0: open3d.cpu.pybind.visualization.rendering.Camera.Projection, arg1: float, arg2: float, arg3: float, arg4: float, arg5: float, arg6: float) -> None

Sets the camera projection via a viewing frustum. set_projection(projection_type, left, right, bottom, top, near, far)

  1. set_projection(self: open3d.cpu.pybind.visualization.rendering.Camera, arg0: numpy.ndarray[float64[3, 3]], arg1: float, arg2: float, arg3: float, arg4: float) -> None

Sets the camera projection via intrinsics matrix. set_projection(intrinsics, near_place, far_plane, image_width, image_height)

Horizontal = FovType.Horizontal
Ortho = Projection.Ortho
Perspective = Projection.Perspective
Vertical = FovType.Vertical