From f9e3ef6fabb99deb59841484ae31e22c43519f99 Mon Sep 17 00:00:00 2001 From: Jose Luis Blanco-Claraco Date: Tue, 3 Dec 2024 17:32:08 +0100 Subject: [PATCH] Update python stub --- python/stubs-out/mrpt/pymrpt/mrpt/gui.pyi | 9 +++++++++ python/stubs-out/mrpt/pymrpt/mrpt/opengl/__init__.pyi | 10 ++++++++++ 2 files changed, 19 insertions(+) diff --git a/python/stubs-out/mrpt/pymrpt/mrpt/gui.pyi b/python/stubs-out/mrpt/pymrpt/mrpt/gui.pyi index 8a44f448a0..b6e51a001b 100644 --- a/python/stubs-out/mrpt/pymrpt/mrpt/gui.pyi +++ b/python/stubs-out/mrpt/pymrpt/mrpt/gui.pyi @@ -567,6 +567,7 @@ class CGlCanvasBase: cameraPointingX: float cameraPointingY: float cameraPointingZ: float + cameraRollDeg: float cameraZoomDistance: float @overload def __init__(self) -> None: ... @@ -613,6 +614,10 @@ class CGlCanvasBase: def getOpenGLSceneRef(self, *args, **kwargs) -> Any: ... def getRefCameraParams(self, *args, **kwargs) -> Any: ... @overload + def getRollDegrees(self) -> float: ... + @overload + def getRollDegrees() -> float: ... + @overload def getUseCameraFromScene(self) -> bool: ... @overload def getUseCameraFromScene() -> bool: ... @@ -675,6 +680,10 @@ class CGlCanvasBase: def updateLastPos(self, x: int, y: int) -> None: ... def updateOrbitCamera(self, params, x: int, y: int) -> None: ... def updatePan(self, params, x: int, y: int) -> None: ... + @overload + def updateRoll(self, params, x: int, y: int) -> None: ... + @overload + def updateRoll(self, params, x: int, y: int, scale: float) -> None: ... def updateRotate(self, params, x: int, y: int) -> None: ... @overload def updateZoom(self, params, x: int, y: int) -> None: ... diff --git a/python/stubs-out/mrpt/pymrpt/mrpt/opengl/__init__.pyi b/python/stubs-out/mrpt/pymrpt/mrpt/opengl/__init__.pyi index fd21ef1880..8032948de5 100644 --- a/python/stubs-out/mrpt/pymrpt/mrpt/opengl/__init__.pyi +++ b/python/stubs-out/mrpt/pymrpt/mrpt/opengl/__init__.pyi @@ -565,6 +565,10 @@ class CCamera(CRenderizable): @overload def getProjectiveFOVdeg() -> float: ... @overload + def getRollDegrees(self) -> float: ... + @overload + def getRollDegrees() -> float: ... + @overload def getZoomDistance(self) -> float: ... @overload def getZoomDistance() -> float: ... @@ -631,6 +635,10 @@ class CCamera(CRenderizable): @overload def setProjectiveModel(bool) -> void: ... @overload + def setRollDegrees(self, ang: float) -> None: ... + @overload + def setRollDegrees(float) -> void: ... + @overload def setZoomDistance(self, z: float) -> None: ... @overload def setZoomDistance(float) -> void: ... @@ -3693,6 +3701,7 @@ class TRenderMatrices: pinhole_model: Optional[mrpt.pymrpt.mrpt.img.TCamera] pmv_matrix: Any pointing: Any + roll: float up: Any v_matrix: Any v_matrix_no_translation: Any @@ -3799,6 +3808,7 @@ class TTriangle: class Texture: class Options: + autoScale16to8bitConversion: bool enableTransparency: bool generateMipMaps: bool magnifyLinearFilter: bool