inviwopy.camerautil
Camera utilities
Functions
|
|
|
|
|
|
|
Overloaded function. |
Classes
Members: |
|
Members: |
|
Members: |
- class inviwopy.camerautil.Side
Bases:
pybind11_object
Members:
XNegative
XPositive
YNegative
YPositive
ZNegative
ZPositive
- __index__(self: inviwopy.camerautil.Side) int
- __init__(self: inviwopy.camerautil.Side, value: int) None
- __int__(self: inviwopy.camerautil.Side) int
- 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
- __index__(self: inviwopy.camerautil.UpdateLookRanges) int
- __init__(self: inviwopy.camerautil.UpdateLookRanges, value: int) None
- __int__(self: inviwopy.camerautil.UpdateLookRanges) int
- No = <UpdateLookRanges.No: 1>
- Yes = <UpdateLookRanges.Yes: 0>
- property name
- property value
- class inviwopy.camerautil.UpdateNearFar
Bases:
pybind11_object
Members:
Yes
No
- __index__(self: inviwopy.camerautil.UpdateNearFar) int
- __init__(self: inviwopy.camerautil.UpdateNearFar, value: int) None
- __int__(self: inviwopy.camerautil.UpdateNearFar) int
- 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.
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
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
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