inviwopy.camerautil

Camera utilities

Functions

computeCameraNearFar(arg0, arg1, arg2)

setCameraLookRanges(arg0, arg1, arg2)

setCameraNearFar(arg0, arg1, arg2, arg3)

setCameraView(*args, **kwargs)

Overloaded function.

Classes

Side

Members:

UpdateLookRanges

Members:

UpdateNearFar

Members:

class inviwopy.camerautil.Side

Bases: pybind11_object

Members:

XNegative

XPositive

YNegative

YPositive

ZNegative

ZPositive

__eq__(self: object, other: object) bool
__hash__(self: object) int
__index__(self: inviwopy.camerautil.Side) int
__init__(self: inviwopy.camerautil.Side, value: int) None
__int__(self: inviwopy.camerautil.Side) int
__ne__(self: object, other: object) bool
__repr__(self: object) str
__str__(self: object) str
XNegative = <Side.XNegative: 0>
XPositive = <Side.XPositive: 1>
YNegative = <Side.YNegative: 2>
YPositive = <Side.YPositive: 3>
ZNegative = <Side.ZNegative: 4>
ZPositive = <Side.ZPositive: 5>
property name
property value
class inviwopy.camerautil.UpdateLookRanges

Bases: pybind11_object

Members:

Yes

No

__eq__(self: object, other: object) bool
__hash__(self: object) int
__index__(self: inviwopy.camerautil.UpdateLookRanges) int
__init__(self: inviwopy.camerautil.UpdateLookRanges, value: int) None
__int__(self: inviwopy.camerautil.UpdateLookRanges) int
__ne__(self: object, other: object) bool
__repr__(self: object) str
__str__(self: object) str
No = <UpdateLookRanges.No: 1>
Yes = <UpdateLookRanges.Yes: 0>
property name
property value
class inviwopy.camerautil.UpdateNearFar

Bases: pybind11_object

Members:

Yes

No

__eq__(self: object, other: object) bool
__hash__(self: object) int
__index__(self: inviwopy.camerautil.UpdateNearFar) int
__init__(self: inviwopy.camerautil.UpdateNearFar, value: int) None
__int__(self: inviwopy.camerautil.UpdateNearFar) int
__ne__(self: object, other: object) bool
__repr__(self: object) str
__str__(self: object) str
No = <UpdateNearFar.No: 1>
Yes = <UpdateNearFar.Yes: 0>
property name
property value
inviwopy.camerautil.computeCameraNearFar(arg0: inviwopy.glm.mat4, arg1: float, arg2: float) tuple[float, float]
inviwopy.camerautil.setCameraLookRanges(arg0: inviwo::CameraProperty, arg1: inviwopy.glm.mat4, arg2: float) None
inviwopy.camerautil.setCameraNearFar(arg0: inviwo::CameraProperty, arg1: inviwopy.glm.mat4, arg2: float, arg3: float) None
inviwopy.camerautil.setCameraView(*args, **kwargs)

Overloaded function.

  1. setCameraView(cameraProperty: inviwo::CameraProperty, boundingBox: inviwopy.glm.mat4, fitRatio: float = 1.0499999523162842, updateNearFar: inviwopy.camerautil.UpdateNearFar = <UpdateNearFar.No: 1>, updateLookRanges: inviwopy.camerautil.UpdateLookRanges = <UpdateLookRanges.No: 1>) -> None

  2. setCameraView(cameraProperty: inviwo::CameraProperty, boundingBox: inviwopy.glm.mat4, side: inviwopy.camerautil.Side, fitRatio: float = 1.0499999523162842, updateNearFar: inviwopy.camerautil.UpdateNearFar = <UpdateNearFar.No: 1>, updateLookRanges: inviwopy.camerautil.UpdateLookRanges = <UpdateLookRanges.No: 1>) -> None

  3. setCameraView(cameraProperty: inviwo::CameraProperty, boundingBox: inviwopy.glm.mat4, viewDir: inviwopy.glm.vec3, lookUp: inviwopy.glm.vec3, fitRatio: float = 1.0499999523162842, updateNearFar: inviwopy.camerautil.UpdateNearFar = <UpdateNearFar.No: 1>, updateLookRanges: inviwopy.camerautil.UpdateLookRanges = <UpdateLookRanges.No: 1>) -> None