Panda3DRenderParameters

class Panda3DRenderParameters(*args, **kwargs)

Bases: pybind11_object

Rendering parameters for a panda3D simulation.

includes:

  • Camera intrinsics

  • Image resolution

  • Clipping parameters

Overloaded function.

  1. __init__(self: visp._visp.ar.Panda3DRenderParameters) -> None

  2. __init__(self: visp._visp.ar.Panda3DRenderParameters, cam: visp._visp.core.CameraParameters, h: int, w: int, clipNear: float, clipFar: float) -> None

Methods

__init__

Overloaded function.

getCameraIntrinsics

Retrieve camera intrinsics.

getFarClippingDistance

getImageHeight

getImageWidth

getNearClippingDistance

setCameraIntrinsics

set camera intrinsics.

setClippingDistance

Set the clipping distance.

setImageResolution

Set the image resolution.

Inherited Methods

Operators

__doc__

__init__

Overloaded function.

__module__

Attributes

__annotations__

__init__(*args, **kwargs)

Overloaded function.

  1. __init__(self: visp._visp.ar.Panda3DRenderParameters) -> None

  2. __init__(self: visp._visp.ar.Panda3DRenderParameters, cam: visp._visp.core.CameraParameters, h: int, w: int, clipNear: float, clipFar: float) -> None

getCameraIntrinsics(self) visp._visp.core.CameraParameters

Retrieve camera intrinsics.

Returns:

const vpCameraParameters &

getFarClippingDistance(self) float
getImageHeight(self) int
getImageWidth(self) int
getNearClippingDistance(self) float
setCameraIntrinsics(self, cam: visp._visp.core.CameraParameters) None

set camera intrinsics. Only camera intrinsics for a lens without distortion are supported.

setClippingDistance(self, nearV: float, farV: float) None

Set the clipping distance. When a panda camera uses these render parameters, objects that are closer than “near” or further than “far” will be clipped.

Parameters:
nearV: float

near clipping distance

farV: float

far clipping distance

setImageResolution(self, height: int, width: int) None

Set the image resolution. When this object is given to a vpPanda3DBaseRenderer , this will be the resolution of the renderer’s output images.

Parameters:
height: int

vertical image resolution

width: int

horizontal image resolution